dependency-cruiser 16.5.0 → 16.6.0-beta-1

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.5.0",
3
+ "version": "16.6.0-beta-1",
4
4
  "description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",
5
5
  "keywords": [
6
6
  "static analysis",
@@ -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
- /^(?:(?<protocol>node:|file:|data:)(?:(?<mimeType>[^,]+),)?)(?<module>.+)$/,
49
+ /^(?<protocol>node:|file:|data:)(?:(?<mimeType>[^,]+),)?(?<module>.+)$/,
50
50
  );
51
51
 
52
52
  if (lModuleAttributes?.groups) {
@@ -14,7 +14,7 @@ function getTranspiler(pTranspilerWrapper) {
14
14
  pTranspilerWrapper,
15
15
  pTranspilerOptions,
16
16
  );
17
- return compile(lPreProcessedSource).js.code;
17
+ return compile(lPreProcessedSource, {}).js.code;
18
18
  };
19
19
  }
20
20
 
package/src/meta.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /* generated - don't edit */
2
2
 
3
3
  module.exports = {
4
- version: "16.5.0",
4
+ version: "16.6.0-beta-1",
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 <5.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",