Skip to content

Commit

Permalink
Re-add util.js to root as re-exporter for old Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Mar 13, 2021
1 parent 0490d44 commit 3a9c4a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"homepage": "https://eemeli.org/yaml/",
"files": [
"browser/",
"dist/"
"dist/",
"util.js"
],
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
2 changes: 2 additions & 0 deletions util.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Re-exporter for Node.js < 12.16.0
module.exports = require('./dist/util.js')

0 comments on commit 3a9c4a9

Please sign in to comment.