@voiceflow/dependency-cruiser-config 1.10.0 → 1.10.2-ae02730.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/build/config.js CHANGED
@@ -1,22 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const rules_1 = require("./rules");
1
+ import { noCircularRule, noDeprecatedCoreRule, noDuplicateDepTypesRule, noNonPackageRule, noOrphansRule, notToDeprecatedRule, notToDevDepRule, notToSpecRule, notToTestRule, notToUnresolvableRule, warnOptionalDepsRule, warnPeerDepsRule, } from './rules';
4
2
  const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowTypeCycles = false, ignore = [], orphans: { ignore: ignoreOrphans = [] } = {}, } = {}) => ({
5
3
  forbidden: [
6
4
  /* rules from the 'recommended' preset: */
7
- (0, rules_1.noCircularRule)(),
8
- (0, rules_1.noOrphansRule)({ ignoreTypes: allowTypeCycles, ignorePaths: ignoreOrphans }),
9
- (0, rules_1.noDeprecatedCoreRule)(),
10
- (0, rules_1.notToDeprecatedRule)(),
11
- (0, rules_1.noNonPackageRule)(),
12
- (0, rules_1.notToUnresolvableRule)(),
13
- (0, rules_1.noDuplicateDepTypesRule)(),
5
+ noCircularRule(),
6
+ noOrphansRule({ ignoreTypes: allowTypeCycles, ignorePaths: ignoreOrphans }),
7
+ noDeprecatedCoreRule(),
8
+ notToDeprecatedRule(),
9
+ noNonPackageRule(),
10
+ notToUnresolvableRule(),
11
+ noDuplicateDepTypesRule(),
14
12
  /* rules you might want to tweak for your specific situation: */
15
- (0, rules_1.notToTestRule)(),
16
- (0, rules_1.notToSpecRule)(),
17
- (0, rules_1.notToDevDepRule)(),
18
- (0, rules_1.warnOptionalDepsRule)(),
19
- (0, rules_1.warnPeerDepsRule)(),
13
+ notToTestRule(),
14
+ notToSpecRule(),
15
+ notToDevDepRule(),
16
+ warnOptionalDepsRule(),
17
+ warnPeerDepsRule(),
20
18
  ],
21
19
  options: {
22
20
  /* conditions specifying which files not to follow further when encountered:
@@ -213,5 +211,5 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
213
211
  },
214
212
  },
215
213
  });
216
- exports.default = createConfig;
214
+ export default createConfig;
217
215
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;AAEA,mCAaiB;AAGjB,MAAM,YAAY,GAAG,CAAC,EACpB,QAAQ,GAAG,eAAe,EAC1B,SAAS,GAAG,KAAK,EACjB,eAAe,GAAG,KAAK,EACvB,MAAM,GAAG,EAAE,EACX,OAAO,EAAE,EAAE,MAAM,EAAE,aAAa,GAAG,EAAE,EAAE,GAAG,EAAE,MACjC,EAAE,EAAkB,EAAE,CAAC,CAAC;IACnC,SAAS,EAAE;QACT,0CAA0C;QAC1C,IAAA,sBAAc,GAAE;QAChB,IAAA,qBAAa,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;QAC3E,IAAA,4BAAoB,GAAE;QACtB,IAAA,2BAAmB,GAAE;QACrB,IAAA,wBAAgB,GAAE;QAClB,IAAA,6BAAqB,GAAE;QACvB,IAAA,+BAAuB,GAAE;QAEzB,gEAAgE;QAChE,IAAA,qBAAa,GAAE;QACf,IAAA,qBAAa,GAAE;QACf,IAAA,uBAAe,GAAE;QACjB,IAAA,4BAAoB,GAAE;QACtB,IAAA,wBAAgB,GAAE;KACnB;IACD,OAAO,EAAE;QACP;;;;UAIE;QACF,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,cAAc,EAAE,OAAO,EAAE,OAAO,CAAC;YACxC,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,CAAC;SAC7F;QAED;;;;UAIE;QACF,OAAO,EAAE,MAAM,CAAC,MAAM;YACpB,CAAC,CAAC;gBAC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;;mBAIG;gBACH,eAAe,EAAE,oBAAoB;gBAErC;;;;kBAIE;gBACF,WAAW;gBACX,aAAa;gBACb,kEAAkE;gBAClE,iEAAiE;gBACjE,kBAAkB;gBAClB,QAAQ;gBACR,sBAAsB;gBACtB,OAAO;gBACP,eAAe;gBACf,QAAQ;gBACR,4CAA4C;gBAC5C,6CAA6C;gBAC7C,SAAS;gBACT,QAAQ;gBACR,2CAA2C;gBAC3C,6CAA6C;gBAC7C,QAAQ;gBACR,OAAO;gBACP,oBAAoB;gBACpB,QAAQ;gBACR,oDAAoD;gBACpD,uDAAuD;gBACvD,SAAS;gBACT,QAAQ;gBACR,mDAAmD;gBACnD,6DAA6D;gBAC7D,SAAS;gBACT,QAAQ;gBACR,mDAAmD;gBACnD,yDAAyD;gBACzD,SAAS;gBACT,QAAQ;gBACR,8CAA8C;gBAC9C,2CAA2C;gBAC3C,SAAS;gBACT,QAAQ;gBACR,6CAA6C;gBAC7C,2CAA2C;gBAC3C,QAAQ;gBACR,MAAM;gBACN,IAAI;aACL;YACD,KAAK,EAAE;gBACL;;;;kBAIE;gBACF,eAAe,EAAE,wEAAwE;gBAEzF;;;;;mBAKG;gBACH,WAAW;gBACX,KAAK;aACN;SACF;KACF;CACF,CAAC,CAAC;AAEH,eAAe,YAAY,CAAC"}
package/build/index.js CHANGED
@@ -1,26 +1,6 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.createConfig = void 0;
21
- const config_1 = __importDefault(require("./config"));
22
- exports.createConfig = config_1.default;
23
- __exportStar(require("./rules"), exports);
24
- const defaultConfig = (0, config_1.default)();
25
- exports.default = defaultConfig;
1
+ import createConfig from './config';
2
+ export { createConfig };
3
+ export * from './rules';
4
+ const defaultConfig = createConfig();
5
+ export default defaultConfig;
26
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,sDAAoC;AAE3B,uBAFF,gBAAY,CAEE;AACrB,0CAAwB;AAExB,MAAM,aAAa,GAAG,IAAA,gBAAY,GAAE,CAAC;AAErC,kBAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,MAAM,aAAa,GAAG,YAAY,EAAE,CAAC;AAErC,eAAe,aAAa,CAAC"}
@@ -1,28 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.warnPeerDepsRule = exports.warnOptionalDepsRule = exports.notToUnresolvableRule = exports.notToTestRule = exports.notToSpecRule = exports.notToDevDepRule = exports.notToDeprecatedRule = exports.noOrphansRule = exports.noNonPackageRule = exports.noDuplicateDepTypesRule = exports.noDeprecatedCoreRule = exports.noCircularRule = void 0;
4
- var noCircular_1 = require("./noCircular");
5
- Object.defineProperty(exports, "noCircularRule", { enumerable: true, get: function () { return noCircular_1.noCircularRule; } });
6
- var noDeprecatedCore_1 = require("./noDeprecatedCore");
7
- Object.defineProperty(exports, "noDeprecatedCoreRule", { enumerable: true, get: function () { return noDeprecatedCore_1.noDeprecatedCoreRule; } });
8
- var noDuplicateDepTypes_1 = require("./noDuplicateDepTypes");
9
- Object.defineProperty(exports, "noDuplicateDepTypesRule", { enumerable: true, get: function () { return noDuplicateDepTypes_1.noDuplicateDepTypesRule; } });
10
- var noNonPackage_1 = require("./noNonPackage");
11
- Object.defineProperty(exports, "noNonPackageRule", { enumerable: true, get: function () { return noNonPackage_1.noNonPackageRule; } });
12
- var noOrphans_1 = require("./noOrphans");
13
- Object.defineProperty(exports, "noOrphansRule", { enumerable: true, get: function () { return noOrphans_1.noOrphansRule; } });
14
- var notToDeprecated_1 = require("./notToDeprecated");
15
- Object.defineProperty(exports, "notToDeprecatedRule", { enumerable: true, get: function () { return notToDeprecated_1.notToDeprecatedRule; } });
16
- var notToDevDep_1 = require("./notToDevDep");
17
- Object.defineProperty(exports, "notToDevDepRule", { enumerable: true, get: function () { return notToDevDep_1.notToDevDepRule; } });
18
- var notToSpec_1 = require("./notToSpec");
19
- Object.defineProperty(exports, "notToSpecRule", { enumerable: true, get: function () { return notToSpec_1.notToSpecRule; } });
20
- var notToTest_1 = require("./notToTest");
21
- Object.defineProperty(exports, "notToTestRule", { enumerable: true, get: function () { return notToTest_1.notToTestRule; } });
22
- var notToUnresolvable_1 = require("./notToUnresolvable");
23
- Object.defineProperty(exports, "notToUnresolvableRule", { enumerable: true, get: function () { return notToUnresolvable_1.notToUnresolvableRule; } });
24
- var warnOptionalDeps_1 = require("./warnOptionalDeps");
25
- Object.defineProperty(exports, "warnOptionalDepsRule", { enumerable: true, get: function () { return warnOptionalDeps_1.warnOptionalDepsRule; } });
26
- var warnPeerDeps_1 = require("./warnPeerDeps");
27
- Object.defineProperty(exports, "warnPeerDepsRule", { enumerable: true, get: function () { return warnPeerDeps_1.warnPeerDepsRule; } });
1
+ export { noCircularRule } from './noCircular';
2
+ export { noDeprecatedCoreRule } from './noDeprecatedCore';
3
+ export { noDuplicateDepTypesRule } from './noDuplicateDepTypes';
4
+ export { noNonPackageRule } from './noNonPackage';
5
+ export { noOrphansRule } from './noOrphans';
6
+ export { notToDeprecatedRule } from './notToDeprecated';
7
+ export { notToDevDepRule } from './notToDevDep';
8
+ export { notToSpecRule } from './notToSpec';
9
+ export { notToTestRule } from './notToTest';
10
+ export { notToUnresolvableRule } from './notToUnresolvable';
11
+ export { warnOptionalDepsRule } from './warnOptionalDeps';
12
+ export { warnPeerDepsRule } from './warnPeerDeps';
28
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,2CAA8C;AAArC,4GAAA,cAAc,OAAA;AACvB,uDAA0D;AAAjD,wHAAA,oBAAoB,OAAA;AAC7B,6DAAgE;AAAvD,8HAAA,uBAAuB,OAAA;AAChC,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA;AACzB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,qDAAwD;AAA/C,sHAAA,mBAAmB,OAAA;AAC5B,6CAAgD;AAAvC,8GAAA,eAAe,OAAA;AACxB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,yDAA4D;AAAnD,0HAAA,qBAAqB,OAAA;AAC9B,uDAA0D;AAAjD,wHAAA,oBAAoB,OAAA;AAC7B,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.noCircularRule = void 0;
4
- const noCircularRule = () => ({
1
+ export const noCircularRule = () => ({
5
2
  name: 'no-circular',
6
3
  severity: 'error',
7
4
  comment: 'This dependency is part of a circular relationship. You might want to revise ' +
@@ -11,5 +8,4 @@ const noCircularRule = () => ({
11
8
  circular: true,
12
9
  },
13
10
  });
14
- exports.noCircularRule = noCircularRule;
15
11
  //# sourceMappingURL=noCircular.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noCircular.js","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":";;;AAEO,MAAM,cAAc,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC9D,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,+EAA+E;QAC/E,oGAAoG;IACtG,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;KACf;CACF,CAAC,CAAC;AAVU,QAAA,cAAc,kBAUxB"}
1
+ {"version":3,"file":"noCircular.js","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC9D,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,+EAA+E;QAC/E,oGAAoG;IACtG,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;KACf;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.noDeprecatedCoreRule = void 0;
4
- const noDeprecatedCoreRule = () => ({
1
+ export const noDeprecatedCoreRule = () => ({
5
2
  name: 'no-deprecated-core',
6
3
  comment: 'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
7
4
  "bound to exist - node doesn't deprecate lightly.",
@@ -34,5 +31,4 @@ const noDeprecatedCoreRule = () => ({
34
31
  ],
35
32
  },
36
33
  });
37
- exports.noDeprecatedCoreRule = noDeprecatedCoreRule;
38
34
  //# sourceMappingURL=noDeprecatedCore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noDeprecatedCore.js","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":";;;AAEO,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EACL,mGAAmG;QACnG,kDAAkD;IACpD,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE;YACJ,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,wBAAwB;YACxB,2BAA2B;YAC3B,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,mCAAmC;YACnC,4BAA4B;YAC5B,+BAA+B;YAC/B,8CAA8C;YAC9C,4CAA4C;YAC5C,iBAAiB;YACjB,YAAY;YACZ,cAAc;YACd,YAAY;YACZ,eAAe;YACf,SAAS;YACT,eAAe;YACf,kBAAkB;SACnB;KACF;CACF,CAAC,CAAC;AAjCU,QAAA,oBAAoB,wBAiC9B"}
1
+ {"version":3,"file":"noDeprecatedCore.js","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EACL,mGAAmG;QACnG,kDAAkD;IACpD,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE;YACJ,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,wBAAwB;YACxB,2BAA2B;YAC3B,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,mCAAmC;YACnC,4BAA4B;YAC5B,+BAA+B;YAC/B,8CAA8C;YAC9C,4CAA4C;YAC5C,iBAAiB;YACjB,YAAY;YACZ,cAAc;YACd,YAAY;YACZ,eAAe;YACf,SAAS;YACT,eAAe;YACf,kBAAkB;SACnB;KACF;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.noDuplicateDepTypesRule = void 0;
4
- const noDuplicateDepTypesRule = () => ({
1
+ export const noDuplicateDepTypesRule = () => ({
5
2
  name: 'no-duplicate-dep-types',
6
3
  comment: "Likely this module depends on an external ('npm') package that occurs more than once " +
7
4
  'in your package.json i.e. bot as a devDependencies and in dependencies. This will cause ' +
@@ -13,5 +10,4 @@ const noDuplicateDepTypesRule = () => ({
13
10
  dependencyTypesNot: ['type-only'],
14
11
  },
15
12
  });
16
- exports.noDuplicateDepTypesRule = noDuplicateDepTypesRule;
17
13
  //# sourceMappingURL=noDuplicateDepTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noDuplicateDepTypes.js","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":";;;AAEO,MAAM,uBAAuB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACvE,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EACL,uFAAuF;QACvF,0FAA0F;QAC1F,gCAAgC;IAClC,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,yBAAyB,EAAE,IAAI;QAC/B,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC;CACF,CAAC,CAAC;AAZU,QAAA,uBAAuB,2BAYjC"}
1
+ {"version":3,"file":"noDuplicateDepTypes.js","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACvE,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EACL,uFAAuF;QACvF,0FAA0F;QAC1F,gCAAgC;IAClC,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,yBAAyB,EAAE,IAAI;QAC/B,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.noNonPackageRule = void 0;
4
- const noNonPackageRule = () => ({
1
+ export const noNonPackageRule = () => ({
5
2
  name: 'no-non-package-json',
6
3
  severity: 'error',
7
4
  comment: "This module depends on an npm package that isn't in the 'dependencies' section of your package.json. " +
@@ -13,5 +10,4 @@ const noNonPackageRule = () => ({
13
10
  dependencyTypes: ['npm-no-pkg', 'npm-unknown'],
14
11
  },
15
12
  });
16
- exports.noNonPackageRule = noNonPackageRule;
17
13
  //# sourceMappingURL=noNonPackage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noNonPackage.js","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":";;;AAEO,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,uGAAuG;QACvG,8FAA8F;QAC9F,qGAAqG;QACrG,uBAAuB;IACzB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;KAC/C;CACF,CAAC,CAAC;AAZU,QAAA,gBAAgB,oBAY1B"}
1
+ {"version":3,"file":"noNonPackage.js","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,uGAAuG;QACvG,8FAA8F;QAC9F,qGAAqG;QACrG,uBAAuB;IACzB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;KAC/C;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.noOrphansRule = void 0;
4
- const noOrphansRule = ({ ignoreTypes = false, ignorePaths = [], } = {}) => ({
1
+ export const noOrphansRule = ({ ignoreTypes = false, ignorePaths = [], } = {}) => ({
5
2
  name: 'no-orphans',
6
3
  comment: "This is an orphan module - it's likely not used (anymore?). Either use it or " +
7
4
  "remove it. If it's logical this module is an orphan (i.e. it's a config file), " +
@@ -23,5 +20,4 @@ const noOrphansRule = ({ ignoreTypes = false, ignorePaths = [], } = {}) => ({
23
20
  },
24
21
  to: {},
25
22
  });
26
- exports.noOrphansRule = noOrphansRule;
27
23
  //# sourceMappingURL=noOrphans.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noOrphans.js","sourceRoot":"","sources":["../../src/rules/noOrphans.ts"],"names":[],"mappings":";;;AAOO,MAAM,aAAa,GAAG,CAAC,EAC5B,WAAW,GAAG,KAAK,EACnB,WAAW,GAAG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E,GAAG,WAAW;SACf;KACF;IACD,EAAE,EAAE,EAAE;CACP,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.notToDeprecatedRule = void 0;
4
- const notToDeprecatedRule = () => ({
1
+ export const notToDeprecatedRule = () => ({
5
2
  name: 'not-to-deprecated',
6
3
  comment: 'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
7
4
  'version of that module, or find an alternative. Deprecated modules are a security risk.',
@@ -11,5 +8,4 @@ const notToDeprecatedRule = () => ({
11
8
  dependencyTypes: ['deprecated'],
12
9
  },
13
10
  });
14
- exports.notToDeprecatedRule = notToDeprecatedRule;
15
11
  //# sourceMappingURL=notToDeprecated.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notToDeprecated.js","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":";;;AAEO,MAAM,mBAAmB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACnE,IAAI,EAAE,mBAAmB;IACzB,OAAO,EACL,oGAAoG;QACpG,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,CAAC;KAChC;CACF,CAAC,CAAC;AAVU,QAAA,mBAAmB,uBAU7B"}
1
+ {"version":3,"file":"notToDeprecated.js","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACnE,IAAI,EAAE,mBAAmB;IACzB,OAAO,EACL,oGAAoG;QACpG,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,CAAC;KAChC;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.notToDevDepRule = void 0;
4
- const notToDevDepRule = () => ({
1
+ export const notToDevDepRule = () => ({
5
2
  name: 'not-to-dev-dep',
6
3
  severity: 'error',
7
4
  comment: "This module depends on an npm package from the 'devDependencies' section of your " +
@@ -17,5 +14,4 @@ const notToDevDepRule = () => ({
17
14
  dependencyTypes: ['npm-dev'],
18
15
  },
19
16
  });
20
- exports.notToDevDepRule = notToDevDepRule;
21
17
  //# sourceMappingURL=notToDevDep.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notToDevDep.js","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":";;;AAEO,MAAM,eAAe,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC/D,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,mFAAmF;QACnF,8FAA8F;QAC9F,4FAA4F;QAC5F,mFAAmF;QACnF,oFAAoF;IACtF,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,mEAAmE;KAC7E;IACD,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,SAAS,CAAC;KAC7B;CACF,CAAC,CAAC;AAhBU,QAAA,eAAe,mBAgBzB"}
1
+ {"version":3,"file":"notToDevDep.js","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC/D,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,mFAAmF;QACnF,8FAA8F;QAC9F,4FAA4F;QAC5F,mFAAmF;QACnF,oFAAoF;IACtF,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,mEAAmE;KAC7E;IACD,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,SAAS,CAAC;KAC7B;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.notToSpecRule = void 0;
4
- const notToSpecRule = () => ({
1
+ export const notToSpecRule = () => ({
5
2
  name: 'not-to-spec',
6
3
  comment: 'This module depends on a spec (test) file. The sole responsibility of a spec file is to test code. ' +
7
4
  "If there's something in a spec that's of use to other modules, it doesn't have that single " +
@@ -12,5 +9,4 @@ const notToSpecRule = () => ({
12
9
  path: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$',
13
10
  },
14
11
  });
15
- exports.notToSpecRule = notToSpecRule;
16
12
  //# sourceMappingURL=notToSpec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notToSpec.js","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,qGAAqG;QACrG,6FAA6F;QAC7F,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,IAAI,EAAE,mEAAmE;KAC1E;CACF,CAAC,CAAC;AAXU,QAAA,aAAa,iBAWvB"}
1
+ {"version":3,"file":"notToSpec.js","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,qGAAqG;QACrG,6FAA6F;QAC7F,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,IAAI,EAAE,mEAAmE;KAC1E;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.notToTestRule = void 0;
4
- const notToTestRule = () => ({
1
+ export const notToTestRule = () => ({
5
2
  name: 'not-to-test',
6
3
  comment: "This module depends on code within a folder that should only contain tests. As tests don't " +
7
4
  "implement functionality this is odd. Either you're writing a test outside the test folder " +
@@ -14,5 +11,4 @@ const notToTestRule = () => ({
14
11
  path: '^(test)',
15
12
  },
16
13
  });
17
- exports.notToTestRule = notToTestRule;
18
14
  //# sourceMappingURL=notToTest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notToTest.js","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,6FAA6F;QAC7F,4FAA4F;QAC5F,4DAA4D;IAC9D,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;KACnB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,SAAS;KAChB;CACF,CAAC,CAAC;AAbU,QAAA,aAAa,iBAavB"}
1
+ {"version":3,"file":"notToTest.js","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,6FAA6F;QAC7F,4FAA4F;QAC5F,4DAA4D;IAC9D,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;KACnB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,SAAS;KAChB;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.notToUnresolvableRule = void 0;
4
- const notToUnresolvableRule = () => ({
1
+ export const notToUnresolvableRule = () => ({
5
2
  name: 'not-to-unresolvable',
6
3
  comment: "This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
7
4
  'module: add it to your package.json. In all other cases you likely already know what to do.',
@@ -11,5 +8,4 @@ const notToUnresolvableRule = () => ({
11
8
  couldNotResolve: true,
12
9
  },
13
10
  });
14
- exports.notToUnresolvableRule = notToUnresolvableRule;
15
11
  //# sourceMappingURL=notToUnresolvable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notToUnresolvable.js","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACrE,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EACL,4FAA4F;QAC5F,6FAA6F;IAC/F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,IAAI;KACtB;CACF,CAAC,CAAC;AAVU,QAAA,qBAAqB,yBAU/B"}
1
+ {"version":3,"file":"notToUnresolvable.js","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACrE,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EACL,4FAA4F;QAC5F,6FAA6F;IAC/F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,IAAI;KACtB;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.warnOptionalDepsRule = void 0;
4
- const warnOptionalDepsRule = () => ({
1
+ export const warnOptionalDepsRule = () => ({
5
2
  name: 'optional-deps-used',
6
3
  severity: 'info',
7
4
  comment: 'This module depends on an npm package that is declared as an optional dependency ' +
@@ -13,5 +10,4 @@ const warnOptionalDepsRule = () => ({
13
10
  dependencyTypes: ['npm-optional'],
14
11
  },
15
12
  });
16
- exports.warnOptionalDepsRule = warnOptionalDepsRule;
17
13
  //# sourceMappingURL=warnOptionalDeps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"warnOptionalDeps.js","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":";;;AAEO,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,MAAM;IAChB,OAAO,EACL,mFAAmF;QACnF,2FAA2F;QAC3F,kFAAkF;QAClF,iCAAiC;IACnC,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,cAAc,CAAC;KAClC;CACF,CAAC,CAAC;AAZU,QAAA,oBAAoB,wBAY9B"}
1
+ {"version":3,"file":"warnOptionalDeps.js","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,MAAM;IAChB,OAAO,EACL,mFAAmF;QACnF,2FAA2F;QAC3F,kFAAkF;QAClF,iCAAiC;IACnC,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,cAAc,CAAC;KAClC;CACF,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.warnPeerDepsRule = void 0;
4
- const warnPeerDepsRule = () => ({
1
+ export const warnPeerDepsRule = () => ({
5
2
  name: 'peer-deps-used',
6
3
  comment: 'This module depends on an npm package that is declared as a peer dependency ' +
7
4
  'in your package.json. This makes sense if your package is e.g. a plugin, but in ' +
@@ -13,5 +10,4 @@ const warnPeerDepsRule = () => ({
13
10
  dependencyTypes: ['npm-peer'],
14
11
  },
15
12
  });
16
- exports.warnPeerDepsRule = warnPeerDepsRule;
17
13
  //# sourceMappingURL=warnPeerDeps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"warnPeerDeps.js","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":";;;AAEO,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,IAAI,EAAE,gBAAgB;IACtB,OAAO,EACL,8EAA8E;QAC9E,kFAAkF;QAClF,kFAAkF;QAClF,4DAA4D;IAC9D,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,UAAU,CAAC;KAC9B;CACF,CAAC,CAAC;AAZU,QAAA,gBAAgB,oBAY1B"}
1
+ {"version":3,"file":"warnPeerDeps.js","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,IAAI,EAAE,gBAAgB;IACtB,OAAO,EACL,8EAA8E;QAC9E,kFAAkF;QAClF,kFAAkF;QAClF,4DAA4D;IAC9D,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,UAAU,CAAC;KAC9B;CACF,CAAC,CAAC"}
package/build/types.js CHANGED
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/dependency-cruiser-config",
3
- "version": "1.10.0",
3
+ "version": "1.10.2-ae02730.1+ae02730",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [
@@ -27,5 +27,5 @@
27
27
  "volta": {
28
28
  "extends": "../../package.json"
29
29
  },
30
- "gitHead": "13561c29604d8fc9bc4fbc5402d582961856a821"
30
+ "gitHead": "ae02730cbc7276cab98aa6ae50cfd300c33901b6"
31
31
  }