Skip to content

Commit de103f1

Browse files
committed
fix: enable import.meta + static import by switching from detective to konan
1 parent 24bbfd4 commit de103f1

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

__tests__/__snapshots__/test.js.snap

+21
Original file line numberDiff line numberDiff line change
@@ -20854,6 +20854,27 @@ Object {
2085420854
}
2085520855
`;
2085620856

20857+
exports[`outputs import.meta.input.js JSON 1`] = `Array []`;
20858+
20859+
exports[`outputs import.meta.input.js markdown 1`] = `
20860+
"<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
20861+
20862+
### Table of Contents
20863+
"
20864+
`;
20865+
20866+
exports[`outputs import.meta.input.js markdown AST 1`] = `
20867+
Object {
20868+
"children": Array [
20869+
Object {
20870+
"type": "html",
20871+
"value": "<!-- Generated by documentation.js. Update this documentation by updating the source code. -->",
20872+
},
20873+
],
20874+
"type": "root",
20875+
}
20876+
`;
20877+
2085720878
exports[`outputs infer-private.input.js JSON 1`] = `
2085820879
Array [
2085920880
Object {
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import x from "y";
2+
3+
4+
console.log(import.meta.url);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"mdast-util-inject": "^1.1.0",
5454
"micromatch": "^3.1.5",
5555
"mime": "^2.2.0",
56-
"module-deps-sortable": "^5.0.1",
56+
"module-deps-sortable": "github:arlac77/module-deps",
5757
"parse-filepath": "^1.0.2",
5858
"pify": "^5.0.0",
5959
"read-pkg-up": "^4.0.0",

0 commit comments

Comments
 (0)