immosquare-cleaner 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/rubocop-3.2.2.yml +1 -0
- data/linters/rubocop.yml +2 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/LICENSE +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/README.md +71 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4333 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1149 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.d.ts +36 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.js +77 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/readme.md +78 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/package.json +82 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/universal.js +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/LICENSE +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/README.md +57 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/package.json +31 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-all.js +278 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-recommended.js +76 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/index.js +17 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/README.md +342 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/api.js +1061 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/README.md +234 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md +224 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/package.json +61 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/index.d.ts +415 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/package.json +68 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/readme.md +341 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/index.js +229 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/templates.js +134 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/util.js +39 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/README.md +230 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/index.js +162 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/package.json +38 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/readme.md +59 -0
- data/node_modules/npm-check-updates/build/package.json +2 -3
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +18 -11
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js +2 -3
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js +12 -8
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +37 -14
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +36 -11
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +2 -3
- data/node_modules/prettier/LICENSE +3 -3
- data/node_modules/prettier/index.cjs +1 -1
- data/node_modules/prettier/index.mjs +14 -22
- data/node_modules/prettier/package.json +1 -1
- data/node_modules/prettier/plugins/acorn.js +10 -10
- data/node_modules/prettier/plugins/acorn.mjs +10 -10
- data/node_modules/prettier/plugins/angular.js +1 -1
- data/node_modules/prettier/plugins/angular.mjs +1 -1
- data/node_modules/prettier/plugins/babel.js +8 -8
- data/node_modules/prettier/plugins/babel.mjs +8 -8
- data/node_modules/prettier/plugins/estree.js +24 -24
- data/node_modules/prettier/plugins/estree.mjs +24 -24
- data/node_modules/prettier/plugins/flow.js +17 -17
- data/node_modules/prettier/plugins/flow.mjs +17 -17
- data/node_modules/prettier/plugins/graphql.js +6 -6
- data/node_modules/prettier/plugins/graphql.mjs +6 -6
- data/node_modules/prettier/plugins/html.js +1 -1
- data/node_modules/prettier/plugins/html.mjs +1 -1
- data/node_modules/prettier/plugins/markdown.js +1 -1
- data/node_modules/prettier/plugins/markdown.mjs +1 -1
- data/node_modules/prettier/plugins/meriyah.js +4 -4
- data/node_modules/prettier/plugins/meriyah.mjs +4 -4
- data/node_modules/prettier/plugins/typescript.js +19 -19
- data/node_modules/prettier/plugins/typescript.mjs +19 -19
- data/node_modules/prettier/standalone.js +10 -10
- data/node_modules/prettier/standalone.mjs +9 -9
- data/package.json +2 -2
- metadata +95 -4
@@ -1,4 +1,27 @@
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
27
|
};
|
@@ -12,7 +35,7 @@ const path_1 = __importDefault(require("path"));
|
|
12
35
|
const spawn_please_1 = __importDefault(require("spawn-please"));
|
13
36
|
const keyValueBy_1 = __importDefault(require("../lib/keyValueBy"));
|
14
37
|
const logging_1 = require("../lib/logging");
|
15
|
-
const
|
38
|
+
const npm = __importStar(require("./npm"));
|
16
39
|
/** Reads the npmrc config file from the pnpm-workspace.yaml directory. */
|
17
40
|
const npmConfigFromPnpmWorkspace = (0, fast_memoize_1.default)(async (options) => {
|
18
41
|
const pnpmWorkspacePath = await (0, find_up_1.default)('pnpm-workspace.yaml');
|
@@ -28,7 +51,7 @@ const npmConfigFromPnpmWorkspace = (0, fast_memoize_1.default)(async (options) =
|
|
28
51
|
return {};
|
29
52
|
}
|
30
53
|
(0, logging_1.print)(options, `\nUsing pnpm workspace config at ${pnpmWorkspaceConfigPath}:`, 'verbose');
|
31
|
-
const config =
|
54
|
+
const config = npm.normalizeNpmConfig(ini_1.default.parse(pnpmWorkspaceConfig), pnpmWorkspaceDir);
|
32
55
|
(0, logging_1.print)(options, config, 'verbose');
|
33
56
|
return config;
|
34
57
|
});
|
@@ -54,7 +77,7 @@ const list = async (options = {}) => {
|
|
54
77
|
// use npm for local ls for completeness
|
55
78
|
// this should never happen since list is only called in runGlobal -> getInstalledPackages
|
56
79
|
if (!options.global)
|
57
|
-
return
|
80
|
+
return npm.list(options);
|
58
81
|
const cmd = process.platform === 'win32' ? 'pnpm.cmd' : 'pnpm';
|
59
82
|
const result = JSON.parse(await (0, spawn_please_1.default)(cmd, ['ls', '-g', '--json']));
|
60
83
|
const list = (0, keyValueBy_1.default)(result[0].dependencies || {}, (name, { version }) => ({
|
@@ -65,16 +88,16 @@ const list = async (options = {}) => {
|
|
65
88
|
exports.list = list;
|
66
89
|
/** Wraps a GetVersion function and passes the npmrc located next to the pnpm-workspace.yaml if it exists. */
|
67
90
|
const withNpmWorkspaceConfig = (getVersion) => async (packageName, currentVersion, options = {}) => getVersion(packageName, currentVersion, options, {}, await npmConfigFromPnpmWorkspace(options));
|
68
|
-
exports.distTag = withNpmWorkspaceConfig(
|
69
|
-
exports.greatest = withNpmWorkspaceConfig(
|
70
|
-
exports.latest = withNpmWorkspaceConfig(
|
71
|
-
exports.minor = withNpmWorkspaceConfig(
|
72
|
-
exports.newest = withNpmWorkspaceConfig(
|
73
|
-
exports.patch = withNpmWorkspaceConfig(
|
74
|
-
exports.semver = withNpmWorkspaceConfig(
|
75
|
-
var
|
76
|
-
Object.defineProperty(exports, "defaultPrefix", { enumerable: true, get: function () { return
|
77
|
-
Object.defineProperty(exports, "getPeerDependencies", { enumerable: true, get: function () { return
|
78
|
-
Object.defineProperty(exports, "packageAuthorChanged", { enumerable: true, get: function () { return
|
91
|
+
exports.distTag = withNpmWorkspaceConfig(npm.distTag);
|
92
|
+
exports.greatest = withNpmWorkspaceConfig(npm.greatest);
|
93
|
+
exports.latest = withNpmWorkspaceConfig(npm.latest);
|
94
|
+
exports.minor = withNpmWorkspaceConfig(npm.minor);
|
95
|
+
exports.newest = withNpmWorkspaceConfig(npm.newest);
|
96
|
+
exports.patch = withNpmWorkspaceConfig(npm.patch);
|
97
|
+
exports.semver = withNpmWorkspaceConfig(npm.semver);
|
98
|
+
var npm_1 = require("./npm");
|
99
|
+
Object.defineProperty(exports, "defaultPrefix", { enumerable: true, get: function () { return npm_1.defaultPrefix; } });
|
100
|
+
Object.defineProperty(exports, "getPeerDependencies", { enumerable: true, get: function () { return npm_1.getPeerDependencies; } });
|
101
|
+
Object.defineProperty(exports, "packageAuthorChanged", { enumerable: true, get: function () { return npm_1.packageAuthorChanged; } });
|
79
102
|
exports.default = spawnPnpm;
|
80
103
|
//# sourceMappingURL=pnpm.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pnpm.js","sourceRoot":"","sources":["../../../src/package-managers/pnpm.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"pnpm.js","sourceRoot":"","sources":["../../../src/package-managers/pnpm.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkC;AAClC,sDAA4B;AAC5B,2DAA4B;AAC5B,8CAAqB;AACrB,gDAAuB;AACvB,gEAAgC;AAChC,mEAA0C;AAC1C,4CAAsC;AAQtC,2CAA4B;AAa5B,0EAA0E;AAC1E,MAAM,0BAA0B,GAAG,IAAA,sBAAO,EAAC,KAAK,EAAE,OAAgB,EAAsB,EAAE;IACxF,MAAM,iBAAiB,GAAG,MAAM,IAAA,iBAAM,EAAC,qBAAqB,CAAC,CAAA;IAC7D,IAAI,CAAC,iBAAiB;QAAE,OAAO,EAAE,CAAA;IAEjC,MAAM,gBAAgB,GAAG,cAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACxD,MAAM,uBAAuB,GAAG,cAAI,CAAC,IAAI,CAAC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G,CAAC,KAAK,CAAC,CAAA;AACzC,QAAA,MAAM,GAAG,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC3C,QAAA,KAAK,GAAG,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;AACzC,QAAA,MAAM,GAAG,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAExD,6BAAgF;AAAvE,oGAAA,aAAa,OAAA;AAAE,0GAAA,mBAAmB,OAAA;AAAE,2GAAA,oBAAoB,OAAA;AAEjE,kBAAe,SAAS,CAAA"}
|
@@ -1,4 +1,27 @@
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
27
|
};
|
@@ -16,7 +39,7 @@ const exists_1 = __importDefault(require("../lib/exists"));
|
|
16
39
|
const findLockfile_1 = __importDefault(require("../lib/findLockfile"));
|
17
40
|
const keyValueBy_1 = require("../lib/keyValueBy");
|
18
41
|
const logging_1 = require("../lib/logging");
|
19
|
-
const
|
42
|
+
const npm = __importStar(require("./npm"));
|
20
43
|
/** Safely interpolates a string as a template string. */
|
21
44
|
const interpolate = (s, data) => s.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g, (match, key, name, fallbackOnEmpty, fallback) => data[key] || (fallbackOnEmpty ? fallback : ''));
|
22
45
|
/** Reads an auth token from a yarn config, interpolates it, and returns it as an npm config key-value pair. */
|
@@ -143,12 +166,14 @@ function parseJsonLines(result) {
|
|
143
166
|
async function spawnYarn(args, yarnOptions = {}, spawnOptions) {
|
144
167
|
const cmd = process.platform === 'win32' ? 'yarn.cmd' : 'yarn';
|
145
168
|
const fullArgs = [
|
146
|
-
...(yarnOptions.location === 'global' ? 'global' : []),
|
147
|
-
...(
|
169
|
+
...(yarnOptions.location === 'global' ? ['global'] : []),
|
170
|
+
...(yarnOptions.prefix ? [`--prefix=${yarnOptions.prefix}`] : []),
|
148
171
|
'--depth=0',
|
149
|
-
...(yarnOptions.prefix ? `--prefix=${yarnOptions.prefix}` : []),
|
150
172
|
'--json',
|
151
173
|
'--no-progress',
|
174
|
+
// args must go after yarn options, otherwise they are passed through to npm scripts
|
175
|
+
// https://github.com/raineorshine/npm-check-updates/issues/1362
|
176
|
+
...(Array.isArray(args) ? args : [args]),
|
152
177
|
];
|
153
178
|
return (0, spawn_please_1.default)(cmd, fullArgs, spawnOptions);
|
154
179
|
}
|
@@ -212,12 +237,12 @@ const list = async (options = {}, spawnOptions) => {
|
|
212
237
|
exports.list = list;
|
213
238
|
/** Wraps a GetVersion function and passes the yarn config. */
|
214
239
|
const withNpmConfigFromYarn = (getVersion) => async (packageName, currentVersion, options = {}) => getVersion(packageName, currentVersion, options, await npmConfigFromYarn(options));
|
215
|
-
exports.distTag = withNpmConfigFromYarn(
|
216
|
-
exports.greatest = withNpmConfigFromYarn(
|
217
|
-
exports.latest = withNpmConfigFromYarn(
|
218
|
-
exports.minor = withNpmConfigFromYarn(
|
219
|
-
exports.newest = withNpmConfigFromYarn(
|
220
|
-
exports.patch = withNpmConfigFromYarn(
|
221
|
-
exports.semver = withNpmConfigFromYarn(
|
240
|
+
exports.distTag = withNpmConfigFromYarn(npm.distTag);
|
241
|
+
exports.greatest = withNpmConfigFromYarn(npm.greatest);
|
242
|
+
exports.latest = withNpmConfigFromYarn(npm.latest);
|
243
|
+
exports.minor = withNpmConfigFromYarn(npm.minor);
|
244
|
+
exports.newest = withNpmConfigFromYarn(npm.newest);
|
245
|
+
exports.patch = withNpmConfigFromYarn(npm.patch);
|
246
|
+
exports.semver = withNpmConfigFromYarn(npm.semver);
|
222
247
|
exports.default = spawnYarn;
|
223
248
|
//# sourceMappingURL=yarn.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"yarn.js","sourceRoot":"","sources":["../../../src/package-managers/yarn.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"yarn.js","sourceRoot":"","sources":["../../../src/package-managers/yarn.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkC;AAClC,2DAA4B;AAC5B,sDAA0B;AAC1B,0DAAiC;AACjC,yDAAgC;AAChC,4CAAmB;AACnB,gDAAuB;AACvB,gEAAgC;AAChC,2DAAkC;AAClC,uEAA8C;AAC9C,kDAA8C;AAC9C,4CAAsC;AAQtC,2CAA4B;AAoB5B,yDAAyD;AACzD,MAAM,WAAW,GAAG,CAAC,CAAS,EAAE,IAA+B,EAAU,EAAE,CACzE,CAAC,CAAC,OAAO,CACP,kCAAkC,EAClC,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI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CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AAC5C,QAAA,QAAQ,GAAG,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;AAC9C,QAAA,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC1C,QAAA,KAAK,GAAG,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;AACxC,QAAA,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC1C,QAAA,KAAK,GAAG,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;AACxC,QAAA,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAEvD,kBAAe,SAAS,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "npm-check-updates",
|
3
|
-
"version": "16.14.
|
3
|
+
"version": "16.14.14",
|
4
4
|
"author": "Tomas Junnonen <tomas1@gmail.com>",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"contributors": [
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"lint:lockfile": "lockfile-lint",
|
38
38
|
"lint:markdown": "markdownlint \"**/*.md\" --ignore node_modules --ignore build --config .markdownlint.js",
|
39
39
|
"lint:src": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore --report-unused-disable-directives .",
|
40
|
-
"prepare": "
|
40
|
+
"prepare": "src/scripts/install-hooks && test/bun-setup.sh",
|
41
41
|
"prepublishOnly": "npm run build",
|
42
42
|
"prettier": "prettier .",
|
43
43
|
"test": "mocha test test/package-managers/*",
|
@@ -131,7 +131,6 @@
|
|
131
131
|
"eslint-plugin-jsdoc": "^41.1.2",
|
132
132
|
"eslint-plugin-n": "^15.7.0",
|
133
133
|
"eslint-plugin-promise": "^6.1.1",
|
134
|
-
"husky": "^8.0.3",
|
135
134
|
"lockfile-lint": "^4.10.6",
|
136
135
|
"markdownlint-cli": "0.34.0",
|
137
136
|
"mocha": "^10.2.0",
|
@@ -454,7 +454,7 @@ Author: Alex Bell <alex@bellandwhistle.net>
|
|
454
454
|
|
455
455
|
----------------------------------------
|
456
456
|
|
457
|
-
### @typescript-eslint/types@v6.
|
457
|
+
### @typescript-eslint/types@v6.19.0
|
458
458
|
|
459
459
|
> Types for the TypeScript-ESTree AST spec
|
460
460
|
|
@@ -485,7 +485,7 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
485
485
|
|
486
486
|
----------------------------------------
|
487
487
|
|
488
|
-
### @typescript-eslint/typescript-estree@v6.
|
488
|
+
### @typescript-eslint/typescript-estree@v6.19.0
|
489
489
|
|
490
490
|
> A parser that converts TypeScript source code into an ESTree compatible form
|
491
491
|
|
@@ -1721,7 +1721,7 @@ Contributors:
|
|
1721
1721
|
|
1722
1722
|
----------------------------------------
|
1723
1723
|
|
1724
|
-
### flow-parser@v0.
|
1724
|
+
### flow-parser@v0.226.0
|
1725
1725
|
|
1726
1726
|
> JavaScript parser written in OCaml. Produces ESTree AST
|
1727
1727
|
|
@@ -19223,13 +19223,12 @@ function getLanguageByFileName(languages2, file) {
|
|
19223
19223
|
}
|
19224
19224
|
const basename = getFileBasename(file).toLowerCase();
|
19225
19225
|
return languages2.find(
|
19226
|
-
(
|
19227
|
-
|
19228
|
-
|
19229
|
-
}
|
19226
|
+
({ filenames }) => filenames == null ? void 0 : filenames.some((name) => name.toLowerCase() === basename)
|
19227
|
+
) ?? languages2.find(
|
19228
|
+
({ extensions }) => extensions == null ? void 0 : extensions.some((extension) => basename.endsWith(extension))
|
19230
19229
|
);
|
19231
19230
|
}
|
19232
|
-
function
|
19231
|
+
function getLanguageByLanguageName(languages2, languageName) {
|
19233
19232
|
if (!languageName) {
|
19234
19233
|
return;
|
19235
19234
|
}
|
@@ -19244,10 +19243,7 @@ function getLanguageByInterpreter(languages2, file) {
|
|
19244
19243
|
return;
|
19245
19244
|
}
|
19246
19245
|
return languages2.find(
|
19247
|
-
(
|
19248
|
-
var _a;
|
19249
|
-
return (_a = language.interpreters) == null ? void 0 : _a.includes(interpreter);
|
19250
|
-
}
|
19246
|
+
({ interpreters }) => interpreters == null ? void 0 : interpreters.includes(interpreter)
|
19251
19247
|
);
|
19252
19248
|
}
|
19253
19249
|
function inferParser(options8, fileInfo) {
|
@@ -19257,7 +19253,7 @@ function inferParser(options8, fileInfo) {
|
|
19257
19253
|
plugin.languages ?? []
|
19258
19254
|
)
|
19259
19255
|
);
|
19260
|
-
const language =
|
19256
|
+
const language = getLanguageByLanguageName(languages2, fileInfo.language) ?? getLanguageByFileName(languages2, fileInfo.physicalFile) ?? getLanguageByFileName(languages2, fileInfo.file) ?? getLanguageByInterpreter(languages2, fileInfo.physicalFile);
|
19261
19257
|
return language == null ? void 0 : language.parsers[0];
|
19262
19258
|
}
|
19263
19259
|
var infer_parser_default = inferParser;
|
@@ -23560,7 +23556,12 @@ var languages_evaluate_default6 = [
|
|
23560
23556
|
"Pipfile.lock",
|
23561
23557
|
"composer.lock",
|
23562
23558
|
"flake.lock",
|
23563
|
-
"mcmod.info"
|
23559
|
+
"mcmod.info",
|
23560
|
+
".babelrc",
|
23561
|
+
".jscsrc",
|
23562
|
+
".jshintrc",
|
23563
|
+
".jslintrc",
|
23564
|
+
".swcrc"
|
23564
23565
|
],
|
23565
23566
|
"parsers": [
|
23566
23567
|
"json"
|
@@ -23601,19 +23602,10 @@ var languages_evaluate_default6 = [
|
|
23601
23602
|
".sublime_session"
|
23602
23603
|
],
|
23603
23604
|
"filenames": [
|
23604
|
-
".babelrc",
|
23605
|
-
".devcontainer.json",
|
23606
|
-
".eslintrc.json",
|
23607
|
-
".jscsrc",
|
23608
|
-
".jshintrc",
|
23609
|
-
".jslintrc",
|
23610
|
-
".swcrc",
|
23611
|
-
"api-extractor.json",
|
23612
23605
|
"devcontainer.json",
|
23613
23606
|
"jsconfig.json",
|
23614
23607
|
"language-configuration.json",
|
23615
|
-
"tsconfig.json"
|
23616
|
-
"tslint.json"
|
23608
|
+
"tsconfig.json"
|
23617
23609
|
],
|
23618
23610
|
"parsers": [
|
23619
23611
|
"jsonc"
|
@@ -23962,7 +23954,7 @@ var object_omit_default = omit;
|
|
23962
23954
|
import * as doc from "./doc.mjs";
|
23963
23955
|
|
23964
23956
|
// src/main/version.evaluate.cjs
|
23965
|
-
var version_evaluate_default = "3.2.
|
23957
|
+
var version_evaluate_default = "3.2.4";
|
23966
23958
|
|
23967
23959
|
// src/utils/public.js
|
23968
23960
|
var public_exports = {};
|