From 60755c7a9c5760e3c98f82b0c69af94e822b8660 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Wed, 17 Apr 2024 16:43:38 -0500 Subject: [PATCH] v6.0.0 --- README.md | 1 + package.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7e64a1c..6a6436b 100644 --- a/README.md +++ b/README.md @@ -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+ \ No newline at end of file diff --git a/package.json b/package.json index a7b7f4b..3826952 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" } }