binary-collections 2.0.6 → 2.0.7
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/bin/git-diff.cmd +4 -0
- package/bin/git-fix-encoding.cmd +0 -0
- package/bin/nodekill.cmd +0 -0
- package/bin/nodekill.ps1 +0 -0
- package/bin/submodule-install +0 -0
- package/lib/{chunk-GA4DDV65.mjs → chunk-3LOB2P54.mjs} +3 -3
- package/lib/{chunk-M4IBUK4H.mjs → chunk-4LEXWIIF.mjs} +2 -2
- package/lib/chunk-BSD5CIRU.mjs +52 -0
- package/lib/chunk-FB6YIQYR.mjs +42 -0
- package/lib/{chunk-E75HJFJO.mjs → chunk-JL32QDSH.mjs} +2 -2
- package/lib/{chunk-LPLPQBYP.mjs → chunk-OKYLF2MU.mjs} +14 -14
- package/lib/chunk-VXZQNLPU.mjs +23 -0
- package/lib/del-gradle.cjs +12 -12
- package/lib/del-gradle.d.ts +1 -2
- package/lib/del-gradle.js +12 -69
- package/lib/del-gradle.mjs +3 -3
- package/lib/del-node-modules.cjs +12 -12
- package/lib/del-node-modules.d.ts +1 -2
- package/lib/del-node-modules.js +11 -68
- package/lib/del-node-modules.mjs +3 -3
- package/lib/del-ps.cjs +13 -626
- package/lib/del-ps.d.ts +1 -2
- package/lib/del-ps.js +27 -702
- package/lib/del-ps.mjs +5 -8
- package/lib/del-yarn-caches.cjs +12 -12
- package/lib/del-yarn-caches.d.ts +1 -2
- package/lib/del-yarn-caches.js +6 -63
- package/lib/del-yarn-caches.mjs +3 -3
- package/lib/find-node-modules-cli.cjs +59 -0
- package/lib/find-node-modules-cli.d.mts +1 -0
- package/lib/find-node-modules-cli.d.ts +2 -0
- package/lib/find-node-modules-cli.js +3 -0
- package/lib/find-node-modules-cli.mjs +14 -0
- package/lib/find-node-modules.cjs +31 -9
- package/lib/find-node-modules.d.mts +9 -1
- package/lib/find-node-modules.d.ts +9 -2
- package/lib/find-node-modules.js +41 -12
- package/lib/find-node-modules.mjs +5 -19
- package/lib/git-diff.cjs +74 -0
- package/lib/git-diff.d.cts +2 -0
- package/lib/git-diff.d.mts +87 -0
- package/lib/git-diff.d.ts +87 -0
- package/lib/git-diff.mjs +83 -0
- package/lib/git-purge.cjs +13 -626
- package/lib/git-purge.d.ts +1 -2
- package/lib/git-purge.js +53 -698
- package/lib/git-purge.mjs +4 -7
- package/lib/index.cjs +91 -1
- package/lib/index.d.mts +1 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +8 -2
- package/lib/index.mjs +12 -3
- package/lib/npm-run-series.d.ts +1 -0
- package/lib/npm-run-series.js +80 -56
- package/lib/npm-run-series.mjs +2 -2
- package/lib/package-resolutions.mjs +1 -1
- package/lib/ps/connected-domain.cjs +0 -0
- package/lib/ps/connected-domain.d.ts +1 -2
- package/lib/ps/connected-domain.js +196 -150
- package/lib/ps/connected-domain.mjs +3 -3
- package/lib/ps/index.cjs +0 -0
- package/lib/ps/index.d.mjs +2 -2
- package/lib/ps/index.d.ts +2 -26
- package/lib/ps/index.js +230 -535
- package/lib/ps/index.mjs +5 -5
- package/lib/ps/isWin.cjs +0 -0
- package/lib/ps/isWin.d.ts +1 -2
- package/lib/ps/isWin.js +1 -2
- package/lib/ps/isWin.mjs +3 -3
- package/lib/ps/table-parser.cjs +0 -0
- package/lib/ps/table-parser.d.ts +1 -3
- package/lib/ps/table-parser.js +254 -345
- package/lib/ps/table-parser.mjs +4 -4
- package/lib/submodule-install.cjs +118 -0
- package/lib/submodule-install.d.cts +2 -0
- package/lib/submodule-install.d.mts +141 -0
- package/lib/submodule-install.d.ts +141 -0
- package/lib/submodule-install.mjs +116 -0
- package/lib/utils.cjs +12 -12
- package/lib/utils.d.ts +4 -8
- package/lib/utils.js +43 -28
- package/lib/utils.mjs +3 -3
- package/lib/yarn-reinstall.cjs +42 -0
- package/lib/yarn-reinstall.d.cts +1 -0
- package/lib/yarn-reinstall.d.mts +45 -0
- package/lib/yarn-reinstall.d.ts +45 -0
- package/lib/yarn-reinstall.mjs +50 -0
- package/package.json +37 -39
- package/readme.md +174 -49
- package/eslint.config.cjs +0 -97
- package/lib/chunk-7MSZ52XC.mjs +0 -14
- package/lib/chunk-AVDT32AY.mjs +0 -20
- package/lib/chunk-S4SJ7SDW.mjs +0 -625
- package/lib/package-resolutions.js +0 -28
- package/lib/ps/index.d.js +0 -17
package/eslint.config.cjs
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
// noinspection JSUnusedGlobalSymbols
|
|
2
|
-
|
|
3
|
-
const typescriptEslintPlugin = require("@typescript-eslint/eslint-plugin"); // Import the entire TypeScript ESLint plugin
|
|
4
|
-
const prettierPlugin = require("eslint-plugin-prettier"); // Import the entire Prettier plugin
|
|
5
|
-
const { readFileSync } = require("fs"); // Import readFileSync to read files
|
|
6
|
-
const globals = require("globals");
|
|
7
|
-
|
|
8
|
-
// Read the Prettier configuration from the JSON file
|
|
9
|
-
const prettierConfig = JSON.parse(readFileSync(require.resolve("./.prettierrc.json"), "utf-8"));
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @type {import("eslint").ESLint.Options}
|
|
13
|
-
*/
|
|
14
|
-
const config = [
|
|
15
|
-
{
|
|
16
|
-
// Specifies your current project has own eslint rules without extending parent folder eslint rules
|
|
17
|
-
ignores: ["*.md", "**/tmp/**", "*.html", "*.py", "*.txt", "**/app/**", "**/dist/**", "!.*.{js,cjs,mjs}"], // .eslintignore replacement
|
|
18
|
-
linterOptions: {
|
|
19
|
-
reportUnusedDisableDirectives: true
|
|
20
|
-
},
|
|
21
|
-
languageOptions: {
|
|
22
|
-
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
|
|
23
|
-
sourceType: "module", // Allows for the use of imports
|
|
24
|
-
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
|
|
25
|
-
globals: {
|
|
26
|
-
...globals.browser,
|
|
27
|
-
...globals.amd,
|
|
28
|
-
...globals.node,
|
|
29
|
-
$: "readonly", // jQuery is assigned to $
|
|
30
|
-
jQuery: "readonly", // jQuery is also available as jQuery
|
|
31
|
-
adsbygoogle: "writable", // Adsense
|
|
32
|
-
gtag: true, // Google analystic
|
|
33
|
-
safelink: true,
|
|
34
|
-
google: "readonly", // GAPI
|
|
35
|
-
gapi: "readonly" // GAPI
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
rules: {
|
|
39
|
-
// Specify your desired rules for ESLint
|
|
40
|
-
"prettier/prettier": ["error", prettierConfig],
|
|
41
|
-
"@typescript-eslint/explicit-function-return-type": "off", // Disable function without return type
|
|
42
|
-
"no-unused-vars": "off", // Disable original ESLint unused-vars
|
|
43
|
-
"@typescript-eslint/no-unused-vars": [
|
|
44
|
-
"error",
|
|
45
|
-
{
|
|
46
|
-
argsIgnorePattern: "^_",
|
|
47
|
-
varsIgnorePattern: "^_",
|
|
48
|
-
caughtErrorsIgnorePattern: "^_"
|
|
49
|
-
}
|
|
50
|
-
], // Enable TypeScript ESLint unused-vars and allow unused vars starting with underscore (_)
|
|
51
|
-
"@typescript-eslint/no-explicit-any": "off", // Allow any types
|
|
52
|
-
"@typescript-eslint/no-this-alias": [
|
|
53
|
-
// Rules for this binding
|
|
54
|
-
"error",
|
|
55
|
-
{
|
|
56
|
-
allowDestructuring: false, // Disallow `const { props, state } = this`; true by default
|
|
57
|
-
allowedNames: ["self"] // Allow `const self = this`; `[]` by default
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
// "arrow-body-style" and "prefer-arrow-callback" can cause issues with Prettier, so turn them off.
|
|
61
|
-
"arrow-body-style": "off",
|
|
62
|
-
"prefer-arrow-callback": "off"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
files: ["*.js", "*.cjs"],
|
|
67
|
-
rules: {
|
|
68
|
-
// disable require warning on js files
|
|
69
|
-
"@typescript-eslint/no-var-requires": "off",
|
|
70
|
-
// disable include refenrences definition files on js
|
|
71
|
-
"@typescript-eslint/triple-slash-reference": "off",
|
|
72
|
-
// disable require warning in js
|
|
73
|
-
"@typescript-eslint/no-require-imports": "off"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
// Enable the recommended configurations
|
|
78
|
-
plugins: {
|
|
79
|
-
"@typescript-eslint": typescriptEslintPlugin, // Use the TypeScript ESLint plugin
|
|
80
|
-
prettier: prettierPlugin // Use the Prettier plugin
|
|
81
|
-
},
|
|
82
|
-
rules: {
|
|
83
|
-
...typescriptEslintPlugin.configs["eslint-recommended"].rules,
|
|
84
|
-
...typescriptEslintPlugin.configs["recommended"].rules,
|
|
85
|
-
...prettierPlugin.configs.recommended.rules
|
|
86
|
-
},
|
|
87
|
-
languageOptions: {
|
|
88
|
-
globals: {
|
|
89
|
-
browser: true,
|
|
90
|
-
amd: true,
|
|
91
|
-
node: true
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
];
|
|
96
|
-
|
|
97
|
-
module.exports = config;
|
package/lib/chunk-7MSZ52XC.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
__esm
|
|
4
|
-
} from "./chunk-AVDT32AY.mjs";
|
|
5
|
-
|
|
6
|
-
// node_modules/tsup/assets/esm_shims.js
|
|
7
|
-
var init_esm_shims = __esm({
|
|
8
|
-
"node_modules/tsup/assets/esm_shims.js"() {
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
init_esm_shims
|
|
14
|
-
};
|
package/lib/chunk-AVDT32AY.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
4
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
5
|
-
}) : x)(function(x) {
|
|
6
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
7
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
|
-
});
|
|
9
|
-
var __esm = (fn, res) => function __init() {
|
|
10
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
11
|
-
};
|
|
12
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
13
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
__require,
|
|
18
|
-
__esm,
|
|
19
|
-
__commonJS
|
|
20
|
-
};
|