Skip to content

Commit

Permalink
Merge pull request peggyjs#338 from hildjj/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
hildjj committed Feb 16, 2023
2 parents 6381e6b + 1940c41 commit dc50392
Show file tree
Hide file tree
Showing 16 changed files with 2,220 additions and 8,142 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 19.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -27,10 +27,10 @@ jobs:
- name: Install dependencies
run: npm install
- name: Check coding standards
if: matrix.node-version == '18.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '19.x' && matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Static analysis - check types
if: matrix.node-version == '18.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '19.x' && matrix.os == 'ubuntu-latest'
run: npm run ts
- name: Test
run: npm run test
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ examples
jest.config.js
lib/.eslintrc.json
pnpm-lock.yaml
rollup.config.js
rollup.config.mjs
src
test
tools
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Released: TBD

- [#280](https://github.com/peggyjs/peggy/issues/280) Add inline examples to
the documentation, from @hildjj

- [#240](https://github.com/peggyjs/peggy/issues/240) Generate SourceNodes for bytecode
- [#338](https://github.com/peggyjs/peggy/pull/338) BREAKING CHANGE. Update dependencies, causing minimum supported version of node.js to move to 14. Generated grammar source should still work on older node versions and some older browsers, but testing is currently manual for those.

### Minor Changes

Expand Down
4 changes: 3 additions & 1 deletion docs/development/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
[
"https://cdnjs.cloudflare.com/ajax/libs/mocha/8.3.2/mocha.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/chai/4.3.4/chai.min.js",
"https://jsdom.github.io/whatwg-url/whatwg-url.js",
]
---

<script>
// Modern browsers don't need whatwgURL.
// source-map looks for it with this name, as configured in rollup.config.mjs
window.whatwgURL = { URL };
mocha.setup('bdd');
</script>
<script src='../js/test-bundle.min.js'></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/js/benchmark-bundle.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js/test-bundle.min.js

Large diffs are not rendered by default.

0 comments on commit dc50392

Please sign in to comment.