Skip to content

Commit

Permalink
fix package for cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 committed Jan 1, 2024
1 parent 6dcf4b8 commit 90cf526
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
"esparse": "./bin/esparse.js",
"esvalidate": "./bin/esvalidate.js"
},
"version": "6.0.0",
"version": "6.0.1",
"files": [
"bin",
"dist/esprima.js",
"dist/esprima.d.ts"
"dist/esprima.d.ts",
"dist/esprima.cjs",
"dist/esprima.d.cts"
],
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion src/esprima.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export { Syntax } from './syntax';
export { Visitor } from './visitor'

// Sync with *.json manifests.
export const version = '6.0.0';
export const version = '6.0.1';

export default {
parse, parseModule, parseScript, tokenize, Syntax, version
Expand Down

0 comments on commit 90cf526

Please sign in to comment.