dependency-cruiser 16.5.0 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dependency-cruiser",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0",
|
|
4
4
|
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"static analysis",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"README.md"
|
|
140
140
|
],
|
|
141
141
|
"dependencies": {
|
|
142
|
-
"acorn": "^8.
|
|
142
|
+
"acorn": "^8.14.0",
|
|
143
143
|
"acorn-jsx": "^5.3.2",
|
|
144
144
|
"acorn-jsx-walk": "^2.0.0",
|
|
145
145
|
"acorn-loose": "^8.4.0",
|
package/src/extract/helpers.mjs
CHANGED
|
@@ -46,7 +46,7 @@ export function extractModuleAttributes(pString) {
|
|
|
46
46
|
let lReturnValue = { module: pString };
|
|
47
47
|
const lModuleAttributes = pString.match(
|
|
48
48
|
// eslint-disable-next-line security/detect-unsafe-regex
|
|
49
|
-
/^(
|
|
49
|
+
/^(?<protocol>node:|file:|data:)(?:(?<mimeType>[^,]+),)?(?<module>.+)$/,
|
|
50
50
|
);
|
|
51
51
|
|
|
52
52
|
if (lModuleAttributes?.groups) {
|
|
@@ -14,7 +14,11 @@ function getTranspiler(pTranspilerWrapper) {
|
|
|
14
14
|
pTranspilerWrapper,
|
|
15
15
|
pTranspilerOptions,
|
|
16
16
|
);
|
|
17
|
-
|
|
17
|
+
// in svelte 5 one must provide the second argument
|
|
18
|
+
// lest it throws because it's accessing a property
|
|
19
|
+
// in it. In svelte 4 (which also takes compiler
|
|
20
|
+
// options there) this isn't necessary.
|
|
21
|
+
return compile(lPreProcessedSource, {}).js.code;
|
|
18
22
|
};
|
|
19
23
|
}
|
|
20
24
|
|
package/src/meta.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* generated - don't edit */
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
version: "16.
|
|
4
|
+
version: "16.6.0",
|
|
5
5
|
engines: {
|
|
6
6
|
node: "^18.17||>=20",
|
|
7
7
|
},
|
|
@@ -10,7 +10,7 @@ module.exports = {
|
|
|
10
10
|
"coffee-script": ">=1.0.0 <2.0.0",
|
|
11
11
|
coffeescript: ">=1.0.0 <3.0.0",
|
|
12
12
|
livescript: ">=1.0.0 <2.0.0",
|
|
13
|
-
svelte: ">=3.0.0 <
|
|
13
|
+
svelte: ">=3.0.0 <6.0.0",
|
|
14
14
|
swc: ">=1.0.0 <2.0.0",
|
|
15
15
|
typescript: ">=2.0.0 <6.0.0",
|
|
16
16
|
"vue-template-compiler": ">=2.0.0 <3.0.0",
|