Skip to content

Commit

Permalink
Merge branch 'release/v0.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe committed Jan 6, 2024
2 parents 2117864 + 6d939e8 commit 303987d
Show file tree
Hide file tree
Showing 520 changed files with 56,585 additions and 39,341 deletions.
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: ${{ matrix.container }}, Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: apt-get update && apt-get --yes install build-essential python3
- run: npm ci
- run: npm test
strategy:
matrix:
container:
- debian:12
- debian:11
- debian:10
- ubuntu:22.04
- ubuntu:20.04
node-version:
- 20
- 18
fail-fast: false
container: ${{ matrix.container }}
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All releases and their notable changes are documented in this file. This project follows [Semantic Versioning 2](https://semver.org).

## v0.9.0 (2024-01-06)

- Update to ICU 64.2
- Add support for Node.js v20 and v18
- Add support for Debian 12, 11, and 10
- Add support for Ubuntu 22.04 and 20.04
- Add support for macOS Sonoma
- Drop support for Node.js v16 and older
- Drop support for Debian 9 and older
- Drop support for Ubuntu 18.04 and older
- Drop support for macOS Ventura and older

## v0.8.0 (2019-07-01)

- Add support for Node.js v12
Expand Down
8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**BSD 2-Clause License**

Copyright © 2015, 2017–2019, Jakob Krigovsky<br>
Copyright © 2015, 2017–2019, 2024 Jakob Krigovsky<br>
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand All @@ -14,13 +14,13 @@ Redistribution and use in source and binary forms, with or without modification,

## Acknowledgments

### ICU ([source](https://github.com/unicode-org/icu/blob/release-61-1/icu4c/LICENSE))
### ICU ([source](https://github.com/unicode-org/icu/blob/release-64-2/icu4c/LICENSE))

```
COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)
Copyright © 1991-2018 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Copyright © 1991-2019 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# detect-character-encoding

[![npm](https://img.shields.io/npm/v/detect-character-encoding.svg)](https://www.npmjs.com/package/detect-character-encoding)
[![Build status](https://img.shields.io/travis/sonicdoe/detect-character-encoding.svg)](https://travis-ci.org/sonicdoe/detect-character-encoding)

> Detect character encoding using [ICU](http://site.icu-project.org)
**Tip:** If you don’t need ICU in particular, consider using [ced](https://github.com/sonicdoe/ced), which is based on Google’s lighter [compact_enc_det](https://github.com/google/compact_enc_det) library.

## Installation

```console
$ npm install detect-character-encoding
```

detect-character-encoding is a C++ addon. Therefore, you may need to install various build tools. Check [node-gyp’s readme](https://github.com/nodejs/node-gyp#installation) for more information.

## Usage

```js
Expand All @@ -31,9 +32,9 @@ detect-character-encoding may return `null` if no charset matches.

## Supported operating systems

- macOS Mojave and macOS High Sierra
- Ubuntu 18.04 and 16.04
- Debian 9 and 8
- macOS Sonoma
- Ubuntu 22.04 and 20.04
- Debian 12, 11, and 10

detect-character-encoding does not support 32-bit operating systems.

Expand Down Expand Up @@ -74,4 +75,4 @@ As listed in [ICU’s user guide](http://userguide.icu-project.org/conversion/de

## License

detect-character-encoding is licensed under the BSD 2-clause license but includes third-party software under different licenses. See [`LICENSE`](./LICENSE) for the full license text.
detect-character-encoding is licensed under the BSD 2-clause license but includes third-party software under different licenses. See [`LICENSE.md`](./LICENSE.md) for the full license text.
6 changes: 3 additions & 3 deletions config.gypi
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"variables": {
"icu_data_file": "icudt61l.dat",
"icu_data_in": "data/in/icudt61l.dat",
"icu_data_file": "icudt64l.dat",
"icu_data_in": "data/in/icudt64l.dat",
"icu_endianness": "l",
"icu_gyp_path": "icu.gyp",
"icu_locales": "en,root",
"icu_path": ".",
"icu_small": "true",
"icu_ver_major": "61",
"icu_ver_major": "64",
"library": "static_library"
}
}
66 changes: 0 additions & 66 deletions docker-compose.yml

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-8/node-v10/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-8/node-v12/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-8/node-v6/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-8/node-v8/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-9/node-v10/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-9/node-v12/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-9/node-v6/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/debian-9/node-v8/Dockerfile

This file was deleted.

0 comments on commit 303987d

Please sign in to comment.