Skip to content

Commit

Permalink
v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Apr 17, 2024
1 parent e1f804a commit 60755c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ await vm.getGlobalContext({}, options);

## Changelog

* `v6.0.0` Changes `import` and `require` to be project relative (not relative to this package on the file system).
* `v5.0.0` Removes sync API, swap to async-only. Better compatibility with `--experimental-vm-modules` Node flag.
* `v4.0.0` Swap to use `Module._compile` as a workaround for #2 (Node regression with experimental modules API in Node v20.10+)
* `v3.0.0` ESM-only package. Node 16+
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-retrieve-globals",
"version": "5.0.0",
"version": "6.0.0",
"description": "Execute a string of JavaScript using Node.js and return the global variable values and functions.",
"type": "module",
"main": "retrieveGlobals.js",
Expand All @@ -19,12 +19,12 @@
"license": "MIT",
"devDependencies": {
"@zachleat/noop": "^1.0.3",
"ava": "^6.0.1",
"ava": "^6.1.2",
"cross-env": "^7.0.3"
},
"dependencies": {
"acorn": "^8.8.2",
"acorn-walk": "^8.3.1",
"acorn": "^8.1.3",
"acorn-walk": "^8.3.2",
"esm-import-transformer": "^3.0.2"
}
}

0 comments on commit 60755c7

Please sign in to comment.