license-cop 1.4.1 → 1.4.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.
Files changed (2) hide show
  1. package/package.json +2 -1
  2. package/src/index.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "license-cop",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "type": "commonjs",
5
5
  "bin": {
6
6
  "license-cop": "./src/bin/license-cop"
@@ -34,6 +34,7 @@
34
34
  "@commander-js/extra-typings": "^12.0.0",
35
35
  "@npmcli/arborist": "^7.0.0",
36
36
  "axios": "^1.6.0",
37
+ "commander": "^12.0.0",
37
38
  "compare-versions": "^6.0.0-rc.1",
38
39
  "cosmiconfig": "^9.0.0",
39
40
  "deepmerge": "^4.3.1",
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../packages/license-cop/src/index.ts"],"sourcesContent":["export { LicenseCopOptions, checkLicenses } from \"./lib/license-cop\";\nexport {\n AllowedPackage,\n CheckLicensesResult,\n ForbiddenLicenseResult,\n LicensedPackage,\n NoLicenseResult\n} from \"./lib/result\";\n"],"names":["AllowedPackage","CheckLicensesResult","ForbiddenLicenseResult","LicenseCopOptions","LicensedPackage","NoLicenseResult","checkLicenses"],"mappings":";;;;;;;;IAEEA,cAAc;eAAdA,sBAAc;;IACdC,mBAAmB;eAAnBA,2BAAmB;;IACnBC,sBAAsB;eAAtBA,8BAAsB;;IAJfC,iBAAiB;eAAjBA,6BAAiB;;IAKxBC,eAAe;eAAfA,uBAAe;;IACfC,eAAe;eAAfA,uBAAe;;IANWC,aAAa;eAAbA,yBAAa;;;4BAAQ;wBAO1C"}
1
+ {"version":3,"sources":["../../../../packages/license-cop/src/index.ts"],"sourcesContent":["export { LicenseCopOptions, checkLicenses } from \"./lib/license-cop\";\nexport {\n AllowedPackage,\n CheckLicensesResult,\n ForbiddenLicenseResult,\n LicensedPackage,\n NoLicenseResult\n} from \"./lib/result\";\n\n// The following is included to insure that Nx doesn't remove \"commander\"\n// as a dependency from packages/license-cop/package.json.\n//\n// This is necessary because the @nx/dependency-checks eslint rule will\n// remove commander if the license-cop package never imports from it directly.\n//\n// This approach was chosen over using the ignoredDependencies config option\n// to insure that the same eslint rule continues to catch when the commander\n// version falls out of sync with the @commander-js/extra-typings version.\nimport type { Command as _Command } from \"commander\";\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ntype _UnusedCommand = _Command;\n"],"names":["AllowedPackage","CheckLicensesResult","ForbiddenLicenseResult","LicenseCopOptions","LicensedPackage","NoLicenseResult","checkLicenses"],"mappings":";;;;;;;;IAEEA,cAAc;eAAdA,sBAAc;;IACdC,mBAAmB;eAAnBA,2BAAmB;;IACnBC,sBAAsB;eAAtBA,8BAAsB;;IAJfC,iBAAiB;eAAjBA,6BAAiB;;IAKxBC,eAAe;eAAfA,uBAAe;;IACfC,eAAe;eAAfA,uBAAe;;IANWC,aAAa;eAAbA,yBAAa;;;4BAAQ;wBAO1C"}