@11ty/dependency-tree-esm
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@11ty/dependency-tree-esm", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Finds all JavaScript ES Module dependencies from a filename.", | ||
@@ -11,3 +11,3 @@ "main": "main.js", | ||
"type": "git", | ||
"url": "git+https://github.com/11ty/eleventy-dependency-tree.git" | ||
"url": "git+https://github.com/11ty/eleventy-dependency-tree-esm.git" | ||
}, | ||
@@ -21,9 +21,9 @@ "author": { | ||
"dependencies": { | ||
"@11ty/eleventy-utils": "^1.0.2", | ||
"acorn": "^8.10.0", | ||
"dependency-graph": "^0.11.0", | ||
"@11ty/eleventy-utils": "^1.0.3", | ||
"acorn": "^8.14.0", | ||
"dependency-graph": "^1.0.0", | ||
"normalize-path": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^5.3.1" | ||
"ava": "^6.2.0" | ||
}, | ||
@@ -34,6 +34,8 @@ "ava": { | ||
], | ||
"ignoredByWatcher": [ | ||
"./test/stubs/**" | ||
] | ||
"watchMode": { | ||
"ignoreChanges": [ | ||
"./test/stubs/**" | ||
] | ||
} | ||
} | ||
} |
@@ -38,4 +38,4 @@ # `dependency-tree-esm` | ||
find("./my-file.js"); | ||
await find("./my-file.js"); | ||
// returns ["./my-local-dependency.js"] | ||
``` |
@@ -31,1 +31,6 @@ const test = require("ava"); | ||
}); | ||
// https://github.com/11ty/eleventy-dependency-tree-esm/issues/2 | ||
test("Import Attributes, issue #2", async t => { | ||
t.deepEqual(await find("./test/stubs/import-attributes.js"), ["./test/stubs/imported.json"]); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8351
18
101
+ Addeddependency-graph@1.0.0(transitive)
- Removeddependency-graph@0.11.0(transitive)
Updated@11ty/eleventy-utils@^1.0.3
Updatedacorn@^8.14.0
Updateddependency-graph@^1.0.0