dependency-cruiser 12.12.1 → 12.12.2

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/ZKH-Dependency-recolored-160.png)
1
+ # Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/v12/doc/assets/ZKH-Dependency-recolored-160.png)
2
2
 
3
3
  _Validate and visualise dependencies. With your rules._ JavaScript. TypeScript. CoffeeScript. ES6, CommonJS, AMD.
4
4
 
5
5
  ## What's this do?
6
6
 
7
- ![Snazzy dot output to whet your appetite](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/sample-dot-output.png)
7
+ ![Snazzy dot output to whet your appetite](https://raw.githubusercontent.com/sverweij/dependency-cruiser/v12/doc/assets/sample-dot-output.png)
8
8
 
9
9
  This runs through the dependencies in any JavaScript, TypeScript, LiveScript or CoffeeScript project and ...
10
10
 
@@ -112,7 +112,7 @@ npx depcruise --config .dependency-cruiser.js src
112
112
 
113
113
  This will validate against your rules and shows any violations in an eslint-like format:
114
114
 
115
- ![sample err output](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/sample-err-output.png)
115
+ ![sample err output](https://raw.githubusercontent.com/sverweij/dependency-cruiser/v12/doc/assets/sample-err-output.png)
116
116
 
117
117
  There's more ways to report validations; in a graph (like the one on top of this
118
118
  readme) or in an self-containing `html` file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dependency-cruiser",
3
- "version": "12.12.1",
3
+ "version": "12.12.2",
4
4
  "description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",
5
5
  "keywords": [
6
6
  "static analysis",
@@ -87,8 +87,8 @@
87
87
  "depcruise:graph:doc:samples": "sh tools/generate-samples.sh",
88
88
  "depcruise:graph:mermaid": "node ./bin/dependency-cruise.js bin src --include-only ^src/ --config --collapse 2 --output-type mermaid",
89
89
  "depcruise:graph:mermaid:diff": "node ./bin/dependency-cruise.js bin src test types tools --config configs/.dependency-cruiser-unlimited.json --output-type mermaid --reaches \"$(watskeburt $SHA)\"",
90
- "depcruise:graph:view": "node ./bin/dependency-cruise.js bin src --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-show-metrics-config.json --output-type dot --progress cli-feedback --highlight \"$(watskeburt develop)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser",
91
- "depcruise:graph:view:diff": "node ./bin/dependency-cruise.js bin src test --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-unlimited.json --output-type dot --progress cli-feedback --reaches \"$(watskeburt develop)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser",
90
+ "depcruise:graph:view": "node ./bin/dependency-cruise.js bin src --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-show-metrics-config.json --output-type dot --progress cli-feedback --highlight \"$(watskeburt v12)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser",
91
+ "depcruise:graph:view:diff": "node ./bin/dependency-cruise.js bin src test --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-unlimited.json --output-type dot --progress cli-feedback --reaches \"$(watskeburt v12)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser",
92
92
  "depcruise:report": "node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to dependency-violations.html",
93
93
  "depcruise:report:view": "node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to - | browser",
94
94
  "depcruise:focus": "node ./bin/dependency-cruise.js src bin test configs types tools --progress --config --output-type text --focus",
@@ -149,7 +149,7 @@
149
149
  "ajv": "8.12.0",
150
150
  "chalk": "^4.1.2",
151
151
  "commander": "10.0.1",
152
- "enhanced-resolve": "5.13.0",
152
+ "enhanced-resolve": "5.14.0",
153
153
  "figures": "^3.2.0",
154
154
  "get-stream": "^6.0.1",
155
155
  "glob": "7.2.0",
@@ -174,13 +174,13 @@
174
174
  "@babel/core": "7.21.8",
175
175
  "@babel/plugin-transform-modules-commonjs": "7.21.5",
176
176
  "@babel/preset-typescript": "7.21.5",
177
- "@swc/core": "1.3.56",
177
+ "@swc/core": "1.3.57",
178
178
  "@types/lodash": "4.14.194",
179
- "@types/node": "20.1.0",
179
+ "@types/node": "20.1.3",
180
180
  "@types/prompts": "2.4.4",
181
- "@typescript-eslint/eslint-plugin": "5.59.2",
182
- "@typescript-eslint/parser": "5.59.2",
183
- "@vue/compiler-sfc": "3.2.47",
181
+ "@typescript-eslint/eslint-plugin": "5.59.5",
182
+ "@typescript-eslint/parser": "5.59.5",
183
+ "@vue/compiler-sfc": "3.3.2",
184
184
  "c8": "7.13.0",
185
185
  "chai": "4.3.7",
186
186
  "chai-json-schema": "1.5.1",
@@ -204,7 +204,7 @@
204
204
  "prettier": "2.8.8",
205
205
  "proxyquire": "2.1.3",
206
206
  "shx": "0.3.4",
207
- "svelte": "3.59.0",
207
+ "svelte": "3.59.1",
208
208
  "symlink-dir": "5.1.1",
209
209
  "typescript": "5.0.4",
210
210
  "upem": "7.3.2",
package/src/meta.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* generated - don't edit */
2
2
 
3
3
  module.exports = {
4
- version: "12.12.1",
4
+ version: "12.12.2",
5
5
  engines: {
6
6
  node: "^14||^16||>=18",
7
7
  },
@@ -124,7 +124,7 @@ export function futureCruise(
124
124
  * Given a cruise result, formats it with the given reporter (pOutputType)
125
125
  *
126
126
  * @param pResult A javascript object that contains the result of a cruise. Must adhere
127
- * to the [dependency-cruiser results schema](https://github.com/sverweij/dependency-cruiser/blob/develop/src/schema/cruise-result.json)
127
+ * to the [dependency-cruiser results schema](https://github.com/sverweij/dependency-cruiser/blob/v12/src/schema/cruise-result.json)
128
128
  * @param pOutputType Which reporter to use to format the cruise result with
129
129
  */
130
130
  export function format(
@@ -60,7 +60,7 @@ export interface IAnonReporterOptions {
60
60
  * patterned after the original file name in stead. The list is empty
61
61
  * by default.
62
62
  *
63
- * Read more in https://github.com/sverweij/dependency-cruiser/blob/develop/doc/cli.md#anon---obfuscated-json",
63
+ * Read more in https://github.com/sverweij/dependency-cruiser/blob/v12/doc/cli.md#anon---obfuscated-json",
64
64
  */
65
65
  wordlist?: string[];
66
66
  }