Skip to content

Commit

Permalink
Merge pull request #41 from PRX/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
farski authored Jan 9, 2024
2 parents 2f455b8 + 2339287 commit 09d7ab5
Show file tree
Hide file tree
Showing 6 changed files with 2,168 additions and 1,677 deletions.
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

0 comments on commit 09d7ab5

Please sign in to comment.