immosquare-cleaner 0.1.46 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/linters/rubocop-3.3.4.yml +2 -0
  4. data/linters/rubocop.yml +2 -0
  5. data/node_modules/@eslint/eslintrc/node_modules/ignore/LICENSE-MIT +21 -0
  6. data/node_modules/@eslint/eslintrc/node_modules/ignore/README.md +412 -0
  7. data/node_modules/@eslint/eslintrc/node_modules/ignore/index.d.ts +61 -0
  8. data/node_modules/@eslint/eslintrc/node_modules/ignore/index.js +618 -0
  9. data/node_modules/@eslint/eslintrc/node_modules/ignore/legacy.js +539 -0
  10. data/node_modules/@eslint/eslintrc/node_modules/ignore/package.json +73 -0
  11. data/node_modules/@eslint/js/package.json +1 -1
  12. data/node_modules/@eslint/plugin-kit/LICENSE +201 -0
  13. data/node_modules/@eslint/plugin-kit/README.md +224 -0
  14. data/node_modules/@eslint/plugin-kit/dist/cjs/index.cjs +555 -0
  15. data/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts +239 -0
  16. data/node_modules/@eslint/plugin-kit/dist/cjs/types.ts +7 -0
  17. data/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts +239 -0
  18. data/node_modules/@eslint/plugin-kit/dist/esm/index.js +551 -0
  19. data/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts +6 -0
  20. data/node_modules/@eslint/plugin-kit/dist/esm/types.ts +7 -0
  21. data/node_modules/@eslint/plugin-kit/package.json +62 -0
  22. data/node_modules/eslint/README.md +2 -2
  23. data/node_modules/eslint/lib/config/config.js +278 -0
  24. data/node_modules/eslint/lib/config/flat-config-array.js +3 -204
  25. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +29 -94
  26. data/node_modules/eslint/lib/linter/apply-disable-directives.js +17 -28
  27. data/node_modules/eslint/lib/linter/file-context.js +134 -0
  28. data/node_modules/eslint/lib/linter/linter.js +37 -42
  29. data/node_modules/eslint/lib/rules/id-length.js +1 -0
  30. data/node_modules/eslint/lib/rules/no-invalid-regexp.js +34 -18
  31. data/node_modules/eslint/lib/rules/require-unicode-regexp.js +95 -14
  32. data/node_modules/eslint/lib/rules/utils/regular-expressions.js +11 -3
  33. data/node_modules/eslint/lib/types/index.d.ts +1635 -0
  34. data/node_modules/eslint/lib/types/rules/best-practices.d.ts +1075 -0
  35. data/node_modules/eslint/lib/types/rules/deprecated.d.ts +294 -0
  36. data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +561 -0
  37. data/node_modules/eslint/lib/types/rules/index.d.ts +50 -0
  38. data/node_modules/eslint/lib/types/rules/node-commonjs.d.ts +160 -0
  39. data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +598 -0
  40. data/node_modules/eslint/lib/types/rules/strict-mode.d.ts +38 -0
  41. data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +1932 -0
  42. data/node_modules/eslint/lib/types/rules/variables.d.ts +221 -0
  43. data/node_modules/eslint/lib/types/use-at-your-own-risk.d.ts +85 -0
  44. data/node_modules/eslint/package.json +20 -8
  45. data/node_modules/ignore/index.d.ts +1 -1
  46. data/node_modules/ignore/index.js +25 -7
  47. data/node_modules/ignore/legacy.js +34 -14
  48. data/node_modules/ignore/package.json +12 -11
  49. data/node_modules/npm-check-updates/build/index.js +282 -282
  50. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  51. data/node_modules/npm-check-updates/package.json +1 -1
  52. data/package.json +3 -3
  53. metadata +31 -4
  54. data/linters/rubocop-2.7.6.yml +0 -88
  55. data/node_modules/eslint/lib/linter/config-comment-parser.js +0 -169
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-check-updates",
3
- "version": "17.1.1",
3
+ "version": "17.1.2",
4
4
  "author": "Tomas Junnonen <tomas1@gmail.com>",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [
data/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "immosquare-cleaner",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "@eslint/js": "^9.9.1",
6
- "eslint": "^9.9.1",
5
+ "@eslint/js": "^9.10.0",
6
+ "eslint": "^9.10.0",
7
7
  "eslint-plugin-align-assignments": "^1.1.2",
8
8
  "eslint-plugin-align-import": "^1.0.0",
9
9
  "eslint-plugin-prefer-arrow": "^1.2.3",
@@ -11,6 +11,6 @@
11
11
  "jscodeshift": "^17.0.0",
12
12
  "prettier": "^3.3.3"
13
13
  },
14
- "devDependencies": {"npm-check-updates": "^17.1.1"},
14
+ "devDependencies": {"npm-check-updates": "^17.1.2"},
15
15
  "scripts": {"bun-ncu": "bun ncu -u && bun install"}
16
16
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.46
4
+ version: 0.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erb_lint
@@ -119,7 +119,6 @@ files:
119
119
  - linters/eslint.config.mjs
120
120
  - linters/jscodeshift/arrow-function-transform.js
121
121
  - linters/prettier.yml
122
- - linters/rubocop-2.7.6.yml
123
122
  - linters/rubocop-3.3.4.yml
124
123
  - linters/rubocop.yml
125
124
  - linters/rubocop/cop/style/method_call_with_args_parentheses_override.rb
@@ -10385,6 +10384,12 @@ files:
10385
10384
  - node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/bin.js
10386
10385
  - node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/package.json
10387
10386
  - node_modules/@eslint/eslintrc/node_modules/espree/package.json
10387
+ - node_modules/@eslint/eslintrc/node_modules/ignore/LICENSE-MIT
10388
+ - node_modules/@eslint/eslintrc/node_modules/ignore/README.md
10389
+ - node_modules/@eslint/eslintrc/node_modules/ignore/index.d.ts
10390
+ - node_modules/@eslint/eslintrc/node_modules/ignore/index.js
10391
+ - node_modules/@eslint/eslintrc/node_modules/ignore/legacy.js
10392
+ - node_modules/@eslint/eslintrc/node_modules/ignore/package.json
10388
10393
  - node_modules/@eslint/eslintrc/node_modules/minimatch/LICENSE
10389
10394
  - node_modules/@eslint/eslintrc/node_modules/minimatch/README.md
10390
10395
  - node_modules/@eslint/eslintrc/node_modules/minimatch/minimatch.js
@@ -10416,6 +10421,16 @@ files:
10416
10421
  - node_modules/@eslint/object-schema/dist/esm/types.d.ts
10417
10422
  - node_modules/@eslint/object-schema/dist/esm/types.ts
10418
10423
  - node_modules/@eslint/object-schema/package.json
10424
+ - node_modules/@eslint/plugin-kit/LICENSE
10425
+ - node_modules/@eslint/plugin-kit/README.md
10426
+ - node_modules/@eslint/plugin-kit/dist/cjs/index.cjs
10427
+ - node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts
10428
+ - node_modules/@eslint/plugin-kit/dist/cjs/types.ts
10429
+ - node_modules/@eslint/plugin-kit/dist/esm/index.d.ts
10430
+ - node_modules/@eslint/plugin-kit/dist/esm/index.js
10431
+ - node_modules/@eslint/plugin-kit/dist/esm/types.d.ts
10432
+ - node_modules/@eslint/plugin-kit/dist/esm/types.ts
10433
+ - node_modules/@eslint/plugin-kit/package.json
10419
10434
  - node_modules/@gar/promisify/LICENSE.md
10420
10435
  - node_modules/@gar/promisify/README.md
10421
10436
  - node_modules/@gar/promisify/index.js
@@ -25334,6 +25349,7 @@ files:
25334
25349
  - node_modules/eslint/lib/cli-engine/lint-result-cache.js
25335
25350
  - node_modules/eslint/lib/cli-engine/load-rules.js
25336
25351
  - node_modules/eslint/lib/cli.js
25352
+ - node_modules/eslint/lib/config/config.js
25337
25353
  - node_modules/eslint/lib/config/default-config.js
25338
25354
  - node_modules/eslint/lib/config/flat-config-array.js
25339
25355
  - node_modules/eslint/lib/config/flat-config-helpers.js
@@ -25368,7 +25384,7 @@ files:
25368
25384
  - node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js
25369
25385
  - node_modules/eslint/lib/linter/code-path-analysis/fork-context.js
25370
25386
  - node_modules/eslint/lib/linter/code-path-analysis/id-generator.js
25371
- - node_modules/eslint/lib/linter/config-comment-parser.js
25387
+ - node_modules/eslint/lib/linter/file-context.js
25372
25388
  - node_modules/eslint/lib/linter/index.js
25373
25389
  - node_modules/eslint/lib/linter/interpolate.js
25374
25390
  - node_modules/eslint/lib/linter/linter.js
@@ -25698,6 +25714,17 @@ files:
25698
25714
  - node_modules/eslint/lib/shared/string-utils.js
25699
25715
  - node_modules/eslint/lib/shared/traverser.js
25700
25716
  - node_modules/eslint/lib/shared/types.js
25717
+ - node_modules/eslint/lib/types/index.d.ts
25718
+ - node_modules/eslint/lib/types/rules/best-practices.d.ts
25719
+ - node_modules/eslint/lib/types/rules/deprecated.d.ts
25720
+ - node_modules/eslint/lib/types/rules/ecmascript-6.d.ts
25721
+ - node_modules/eslint/lib/types/rules/index.d.ts
25722
+ - node_modules/eslint/lib/types/rules/node-commonjs.d.ts
25723
+ - node_modules/eslint/lib/types/rules/possible-errors.d.ts
25724
+ - node_modules/eslint/lib/types/rules/strict-mode.d.ts
25725
+ - node_modules/eslint/lib/types/rules/stylistic-issues.d.ts
25726
+ - node_modules/eslint/lib/types/rules/variables.d.ts
25727
+ - node_modules/eslint/lib/types/use-at-your-own-risk.d.ts
25701
25728
  - node_modules/eslint/lib/unsupported-api.js
25702
25729
  - node_modules/eslint/messages/all-files-ignored.js
25703
25730
  - node_modules/eslint/messages/all-matched-files-ignored.js
@@ -1,88 +0,0 @@
1
- ---
2
- require: rubocop/cop/style/method_call_with_args_parentheses_override
3
- AllCops:
4
- NewCops: enable
5
- EnabledByDefault: false
6
- UseCache: true
7
- SuggestExtensions: false
8
- TargetRubyVersion: 2.7.6
9
- Metrics:
10
- Enabled: false
11
- Lint/UselessAssignment:
12
- Enabled: false
13
- Lint/RescueException:
14
- Enabled: false
15
- Lint/UnusedMethodArgument:
16
- Enabled: false
17
- Naming/VariableNumber:
18
- Enabled: false
19
- Naming/FileName:
20
- Enabled: false
21
- MethodParameterName:
22
- MinNameLength: 1
23
- Layout/LeadingEmptyLines:
24
- Enabled: false
25
- Layout/InitialIndentation:
26
- Enabled: false
27
- Layout/TrailingEmptyLines:
28
- Enabled: false
29
- Layout/ExtraSpacing:
30
- Enabled: false
31
- Layout/LineLength:
32
- Enabled: false
33
- Layout/TrailingWhitespace:
34
- Enabled: true
35
- Layout/EmptyLines:
36
- Enabled: false
37
- Layout/SpaceInsideBlockBraces:
38
- SpaceBeforeBlockParameters: false
39
- Layout/EmptyLinesAroundClassBody:
40
- EnforcedStyle: empty_lines
41
- Layout/FirstHashElementIndentation:
42
- EnforcedStyle: consistent
43
- Layout/ArgumentAlignment:
44
- EnforcedStyle: with_fixed_indentation
45
- Layout/HashAlignment:
46
- EnforcedHashRocketStyle: table
47
- Layout/MultilineAssignmentLayout:
48
- EnforcedStyle: same_line
49
- Layout/SpaceInsideHashLiteralBraces:
50
- EnforcedStyle: no_space
51
- Layout/MultilineMethodCallIndentation:
52
- EnforcedStyle: indented
53
- Style/RedundantBegin:
54
- Enabled: false
55
- Style/MultilineTernaryOperator:
56
- Enabled: false
57
- Style/NestedTernaryOperator:
58
- Enabled: false
59
- Style/MultilineIfModifier:
60
- Enabled: false
61
- Style/FrozenStringLiteralComment:
62
- Enabled: false
63
- Style/Next:
64
- Enabled: false
65
- Style/Documentation:
66
- Enabled: false
67
- Style/IfUnlessModifierOfIfUnless:
68
- Enabled: false
69
- Style/NegatedIf:
70
- Enabled: false
71
- Style/MethodCallWithArgsParentheses:
72
- Enabled: true
73
- Style/FormatStringToken:
74
- EnforcedStyle: template
75
- Style/NumericPredicate:
76
- EnforcedStyle: comparison
77
- Style/StringLiterals:
78
- EnforcedStyle: double_quotes
79
- Style/StringLiteralsInInterpolation:
80
- EnforcedStyle: double_quotes
81
- Style/HashSyntax:
82
- EnforcedStyle: hash_rockets
83
- Style/WordArray:
84
- EnforcedStyle: brackets
85
- Style/SymbolArray:
86
- EnforcedStyle: brackets
87
- Gemspec/RequireMFA:
88
- Enabled: false
@@ -1,169 +0,0 @@
1
- /**
2
- * @fileoverview Config Comment Parser
3
- * @author Nicholas C. Zakas
4
- */
5
-
6
- /* eslint class-methods-use-this: off -- Methods desired on instance */
7
- "use strict";
8
-
9
- //------------------------------------------------------------------------------
10
- // Requirements
11
- //------------------------------------------------------------------------------
12
-
13
- const levn = require("levn"),
14
- {
15
- Legacy: {
16
- ConfigOps
17
- }
18
- } = require("@eslint/eslintrc/universal"),
19
- {
20
- directivesPattern
21
- } = require("../shared/directives");
22
-
23
- const debug = require("debug")("eslint:config-comment-parser");
24
-
25
- //------------------------------------------------------------------------------
26
- // Public Interface
27
- //------------------------------------------------------------------------------
28
-
29
- /**
30
- * Object to parse ESLint configuration comments inside JavaScript files.
31
- * @name ConfigCommentParser
32
- */
33
- module.exports = class ConfigCommentParser {
34
-
35
- /**
36
- * Parses a list of "name:string_value" or/and "name" options divided by comma or
37
- * whitespace. Used for "global" comments.
38
- * @param {string} string The string to parse.
39
- * @param {Comment} comment The comment node which has the string.
40
- * @returns {Object} Result map object of names and string values, or null values if no value was provided
41
- */
42
- parseStringConfig(string, comment) {
43
- debug("Parsing String config");
44
-
45
- const items = {};
46
-
47
- // Collapse whitespace around `:` and `,` to make parsing easier
48
- const trimmedString = string.replace(/\s*([:,])\s*/gu, "$1");
49
-
50
- trimmedString.split(/\s|,+/u).forEach(name => {
51
- if (!name) {
52
- return;
53
- }
54
-
55
- // value defaults to null (if not provided), e.g: "foo" => ["foo", null]
56
- const [key, value = null] = name.split(":");
57
-
58
- items[key] = { value, comment };
59
- });
60
- return items;
61
- }
62
-
63
- /**
64
- * Parses a JSON-like config.
65
- * @param {string} string The string to parse.
66
- * @returns {({success: true, config: Object}|{success: false, error: {message: string}})} Result map object
67
- */
68
- parseJsonConfig(string) {
69
- debug("Parsing JSON config");
70
-
71
- // Parses a JSON-like comment by the same way as parsing CLI option.
72
- try {
73
- const items = levn.parse("Object", string) || {};
74
-
75
- // Some tests say that it should ignore invalid comments such as `/*eslint no-alert:abc*/`.
76
- // Also, commaless notations have invalid severity:
77
- // "no-alert: 2 no-console: 2" --> {"no-alert": "2 no-console: 2"}
78
- // Should ignore that case as well.
79
- if (ConfigOps.isEverySeverityValid(items)) {
80
- return {
81
- success: true,
82
- config: items
83
- };
84
- }
85
- } catch {
86
-
87
- debug("Levn parsing failed; falling back to manual parsing.");
88
-
89
- // ignore to parse the string by a fallback.
90
- }
91
-
92
- /*
93
- * Optionator cannot parse commaless notations.
94
- * But we are supporting that. So this is a fallback for that.
95
- */
96
- const normalizedString = string.replace(/([-a-zA-Z0-9/]+):/gu, "\"$1\":").replace(/(\]|[0-9])\s+(?=")/u, "$1,");
97
-
98
- try {
99
- const items = JSON.parse(`{${normalizedString}}`);
100
-
101
- return {
102
- success: true,
103
- config: items
104
- };
105
- } catch (ex) {
106
- debug("Manual parsing failed.");
107
-
108
- return {
109
- success: false,
110
- error: {
111
- message: `Failed to parse JSON from '${normalizedString}': ${ex.message}`
112
- }
113
- };
114
-
115
- }
116
- }
117
-
118
- /**
119
- * Parses a config of values separated by comma.
120
- * @param {string} string The string to parse.
121
- * @returns {Object} Result map of values and true values
122
- */
123
- parseListConfig(string) {
124
- debug("Parsing list config");
125
-
126
- const items = {};
127
-
128
- string.split(",").forEach(name => {
129
- const trimmedName = name.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/us, "$<ruleId>");
130
-
131
- if (trimmedName) {
132
- items[trimmedName] = true;
133
- }
134
- });
135
- return items;
136
- }
137
-
138
- /**
139
- * Extract the directive and the justification from a given directive comment and trim them.
140
- * @param {string} value The comment text to extract.
141
- * @returns {{directivePart: string, justificationPart: string}} The extracted directive and justification.
142
- */
143
- extractDirectiveComment(value) {
144
- const match = /\s-{2,}\s/u.exec(value);
145
-
146
- if (!match) {
147
- return { directivePart: value.trim(), justificationPart: "" };
148
- }
149
-
150
- const directive = value.slice(0, match.index).trim();
151
- const justification = value.slice(match.index + match[0].length).trim();
152
-
153
- return { directivePart: directive, justificationPart: justification };
154
- }
155
-
156
- /**
157
- * Parses a directive comment into directive text and value.
158
- * @param {Comment} comment The comment node with the directive to be parsed.
159
- * @returns {{directiveText: string, directiveValue: string}} The directive text and value.
160
- */
161
- parseDirective(comment) {
162
- const { directivePart } = this.extractDirectiveComment(comment.value);
163
- const match = directivesPattern.exec(directivePart);
164
- const directiveText = match[1];
165
- const directiveValue = directivePart.slice(match.index + directiveText.length);
166
-
167
- return { directiveText, directiveValue };
168
- }
169
- };