dependency-cruiser 13.0.0 → 13.0.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": "13.0.0",
3
+ "version": "13.0.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,8 @@
46
46
  "main": "src/main/index.mjs",
47
47
  "exports": {
48
48
  ".": {
49
- "import": "./src/main/index.mjs"
49
+ "import": "./src/main/index.mjs",
50
+ "types": "./types/dependency-cruiser.d.ts"
50
51
  },
51
52
  "./config-utl/extract-babel-config": {
52
53
  "import": "./src/config-utl/extract-babel-config.mjs"
@@ -55,7 +56,8 @@
55
56
  "import": "./src/config-utl/extract-depcruise-config/index.mjs"
56
57
  },
57
58
  "./config-utl/extract-ts-config": {
58
- "import": "./src/config-utl/extract-ts-config.mjs"
59
+ "import": "./src/config-utl/extract-ts-config.mjs",
60
+ "types": "./types/extract-ts-config.d.ts"
59
61
  },
60
62
  "./config-utl/extract-webpack-resolve-config": {
61
63
  "import": "./src/config-utl/extract-webpack-resolve-config.mjs"
@@ -154,7 +156,7 @@
154
156
  "enhanced-resolve": "5.14.0",
155
157
  "figures": "5.0.0",
156
158
  "get-stream": "^6.0.1",
157
- "glob": "10.2.3",
159
+ "glob": "10.2.4",
158
160
  "handlebars": "4.7.7",
159
161
  "ignore": "5.2.4",
160
162
  "indent-string": "5.0.0",
@@ -169,19 +171,19 @@
169
171
  "semver-try-require": "6.2.2",
170
172
  "teamcity-service-messages": "0.1.14",
171
173
  "tsconfig-paths-webpack-plugin": "4.0.1",
172
- "watskeburt": "0.11.1",
174
+ "watskeburt": "0.11.2",
173
175
  "wrap-ansi": "8.1.0"
174
176
  },
175
177
  "devDependencies": {
176
178
  "@babel/core": "7.21.8",
177
179
  "@babel/plugin-transform-modules-commonjs": "7.21.5",
178
180
  "@babel/preset-typescript": "7.21.5",
179
- "@swc/core": "1.3.57",
181
+ "@swc/core": "1.3.58",
180
182
  "@types/lodash": "4.14.194",
181
- "@types/node": "20.1.3",
183
+ "@types/node": "20.1.6",
182
184
  "@types/prompts": "2.4.4",
183
- "@typescript-eslint/eslint-plugin": "5.59.5",
184
- "@typescript-eslint/parser": "5.59.5",
185
+ "@typescript-eslint/eslint-plugin": "5.59.6",
186
+ "@typescript-eslint/parser": "5.59.6",
185
187
  "@vue/compiler-sfc": "3.3.2",
186
188
  "c8": "7.13.0",
187
189
  "chai": "4.3.7",
@@ -34,7 +34,7 @@ const FORMAT_DIAGNOSTICS_HOST = {
34
34
  * Silently fails if a supported version of the typescript compiler isn't available
35
35
  *
36
36
  * @param {string} pTSConfigFileName
37
- * @return {any} tsconfig as an object
37
+ * @return {import("typescript").ParsedCommandLine} tsconfig as an object
38
38
  * @throws {Error} when the tsconfig is invalid/ jas errors
39
39
  * @throws {TypeError} when the tsconfig is unreadable
40
40
  */
package/src/meta.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* generated - don't edit */
2
2
 
3
3
  module.exports = {
4
- version: "13.0.0",
4
+ version: "13.0.1",
5
5
  engines: {
6
6
  node: "^16.14||>=18",
7
7
  },
@@ -0,0 +1,5 @@
1
+ import { ParsedCommandLine } from "typescript";
2
+
3
+ export default function extractTSConfig(
4
+ pTSConfigFileName: string
5
+ ): ParsedCommandLine;