Skip to content

Commit

Permalink
Adjust package.json to work with Node v12.16.0,v13.0-v13.6
Browse files Browse the repository at this point in the history
Fixes #1007
  • Loading branch information
ljharb authored Jan 25, 2021
1 parent aa0ccb4 commit 0a41675
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
11 changes: 9 additions & 2 deletions acorn-loose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
"main": "dist/acorn-loose.js",
"module": "dist/acorn-loose.mjs",
"exports": {
"import": "./dist/acorn-loose.mjs",
"require": "./dist/acorn-loose.js"
".": [
{
"import": "./dist/acorn-loose.mjs",
"require": "./dist/acorn-loose.js",
"default": "./dist/acorn-loose.js"
},
"./dist/acorn-loose.js"
],
"./package.json": "./package.json"
},
"version": "8.0.1",
"engines": {"node": ">=0.4.0"},
Expand Down
11 changes: 9 additions & 2 deletions acorn-walk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
"types": "dist/walk.d.ts",
"module": "dist/walk.mjs",
"exports": {
"import": "./dist/walk.mjs",
"require": "./dist/walk.js"
".": [
{
"import": "./dist/walk.mjs",
"require": "./dist/walk.js",
"default": "./dist/walk.js"
},
"./dist/walk.js"
],
"./package.json": "./package.json"
},
"version": "8.0.1",
"engines": {"node": ">=0.4.0"},
Expand Down
11 changes: 9 additions & 2 deletions acorn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
"types": "dist/acorn.d.ts",
"module": "dist/acorn.mjs",
"exports": {
"import": "./dist/acorn.mjs",
"require": "./dist/acorn.js"
".": [
{
"import": "./dist/acorn.mjs",
"require": "./dist/acorn.js",
"default": "./dist/acorn.js"
},
"./dist/acorn.js"
],
"./package.json": "./package.json"
},
"version": "8.0.4",
"engines": {"node": ">=0.4.0"},
Expand Down

0 comments on commit 0a41675

Please sign in to comment.