immosquare-cleaner 0.1.43 → 0.1.44
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/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/eslint/README.md +1 -1
- data/node_modules/eslint/lib/cli.js +4 -3
- data/node_modules/eslint/lib/eslint/eslint.js +93 -17
- data/node_modules/eslint/lib/languages/js/source-code/source-code.js +1 -1
- data/node_modules/eslint/lib/rules/require-await.js +37 -3
- data/node_modules/eslint/lib/rules/utils/ast-utils.js +4 -3
- data/node_modules/eslint/lib/shared/flags.js +2 -1
- data/node_modules/eslint/package.json +17 -8
- data/node_modules/jscodeshift/CHANGELOG.md +17 -0
- data/node_modules/jscodeshift/CONTRIBUTING.md +7 -6
- data/node_modules/jscodeshift/README.md +3 -2
- data/node_modules/jscodeshift/dist/Runner.js +15 -15
- data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +113 -0
- data/node_modules/jscodeshift/dist/collections/index.js +1 -0
- data/node_modules/jscodeshift/dist/src/Runner.js +15 -15
- data/node_modules/jscodeshift/dist/src/collections/ImportDeclaration.js +113 -0
- data/node_modules/jscodeshift/dist/src/collections/index.js +1 -0
- data/node_modules/jscodeshift/package.json +9 -7
- data/node_modules/jscodeshift/parser/tsOptions.js +2 -0
- data/node_modules/jscodeshift/src/Runner.js +15 -15
- data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +113 -0
- data/node_modules/jscodeshift/src/collections/index.js +1 -0
- data/node_modules/jscodeshift/utils/testUtils.js +1 -2
- data/node_modules/jscodeshift/website/README.md +44 -0
- data/node_modules/jscodeshift/website/astro.config.mjs +36 -0
- data/node_modules/jscodeshift/website/package.json +17 -0
- data/node_modules/jscodeshift/website/public/favicon.svg +1 -0
- data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
- data/node_modules/jscodeshift/website/src/content/config.ts +6 -0
- data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +406 -0
- data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +3086 -0
- data/node_modules/jscodeshift/website/src/content/docs/index.mdx +15 -0
- data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +45 -0
- data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +161 -0
- data/node_modules/jscodeshift/website/src/env.d.ts +2 -0
- data/node_modules/jscodeshift/website/tsconfig.json +3 -0
- data/node_modules/npm-check-updates/README.md +34 -21
- data/node_modules/npm-check-updates/build/index.js +136 -136
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +1 -1
- data/package.json +4 -4
- metadata +18 -10
- data/node_modules/jscodeshift/node_modules/chalk/index.d.ts +0 -415
- data/node_modules/jscodeshift/node_modules/chalk/license +0 -9
- data/node_modules/jscodeshift/node_modules/chalk/package.json +0 -68
- data/node_modules/jscodeshift/node_modules/chalk/readme.md +0 -341
- data/node_modules/jscodeshift/node_modules/chalk/source/index.js +0 -229
- data/node_modules/jscodeshift/node_modules/chalk/source/templates.js +0 -134
- data/node_modules/jscodeshift/node_modules/chalk/source/util.js +0 -39
- data/node_modules/jscodeshift/website/index.htm +0 -9
@@ -1,39 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const stringReplaceAll = (string, substring, replacer) => {
|
4
|
-
let index = string.indexOf(substring);
|
5
|
-
if (index === -1) {
|
6
|
-
return string;
|
7
|
-
}
|
8
|
-
|
9
|
-
const substringLength = substring.length;
|
10
|
-
let endIndex = 0;
|
11
|
-
let returnValue = '';
|
12
|
-
do {
|
13
|
-
returnValue += string.substr(endIndex, index - endIndex) + substring + replacer;
|
14
|
-
endIndex = index + substringLength;
|
15
|
-
index = string.indexOf(substring, endIndex);
|
16
|
-
} while (index !== -1);
|
17
|
-
|
18
|
-
returnValue += string.substr(endIndex);
|
19
|
-
return returnValue;
|
20
|
-
};
|
21
|
-
|
22
|
-
const stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {
|
23
|
-
let endIndex = 0;
|
24
|
-
let returnValue = '';
|
25
|
-
do {
|
26
|
-
const gotCR = string[index - 1] === '\r';
|
27
|
-
returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? '\r\n' : '\n') + postfix;
|
28
|
-
endIndex = index + 1;
|
29
|
-
index = string.indexOf('\n', endIndex);
|
30
|
-
} while (index !== -1);
|
31
|
-
|
32
|
-
returnValue += string.substr(endIndex);
|
33
|
-
return returnValue;
|
34
|
-
};
|
35
|
-
|
36
|
-
module.exports = {
|
37
|
-
stringReplaceAll,
|
38
|
-
stringEncaseCRLFWithFirstIndex
|
39
|
-
};
|