Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #41

Merged
merged 7 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:

strategy:
matrix:
node-version: [10, 12, 14, 16, 18]
node-version: [14, 16, 18, 20]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.9.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ To add a new user agent:
an example user-agent string or two.
2. Run `npm test` (or just `mocha test/examples-test.js`) to test that your
example strings match the regexp.
3. Run `npm lock` to regenerate the `db/agents.lock.yml`. This file normalizes
3. Run `npm run lock` to regenerate the `db/agents.lock.yml`. This file normalizes
the text tags/labels shared between the various matchers. Check that your
change didn't add any unexpected new tags (if you accidentally changed the
case of a label or something).
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.1.16",
"description": "User-agent parser for common podcast clients",
"main": "index.js",
"engines": {
"node": ">=10 <21"
},
"scripts": {
"start": "concurrently -k \"npm run dev-serve\" \"npm run dev-lock\"",
"dev-serve": "live-server docs",
Expand Down Expand Up @@ -31,6 +34,7 @@
"chai": "^4.1.1",
"concurrently": "^4.1.1",
"csv": "^1.1.1",
"diff": ">= 3.5.0",
"js-yaml": "^3.14.1",
"live-server": "^1.2.1",
"mocha": "^3.5.0",
Expand Down
Loading