jmapcloud-ng 1.1.6 → 1.1.8

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/.browserslistrc DELETED
@@ -1,4 +0,0 @@
1
- > 0.5%
2
- last 2 versions
3
- Firefox ESR
4
- not dead
@@ -1,243 +0,0 @@
1
- const path = require("path")
2
- module.exports = {
3
- env: {
4
- browser: true
5
- },
6
- // TODO: add "eslint:recommended" to extends one day
7
- extends: ["plugin:@typescript-eslint/recommended-type-checked", "prettier"],
8
- parser: "@typescript-eslint/parser",
9
- parserOptions: {
10
- project: path.join(__dirname, "tsconfig.json"),
11
- sourceType: "module"
12
- },
13
- plugins: ["eslint-plugin-import", "eslint-plugin-jsdoc", "eslint-plugin-prefer-arrow", "@typescript-eslint"],
14
- root: true,
15
- rules: {
16
- "@typescript-eslint/adjacent-overload-signatures": "error",
17
- "@typescript-eslint/array-type": [
18
- "error",
19
- {
20
- default: "array-simple"
21
- }
22
- ],
23
- "@typescript-eslint/ban-types": [
24
- "error",
25
- {
26
- types: {
27
- "Object": {
28
- message: "Avoid using the `Object` type. Did you mean `object`?"
29
- },
30
- "Function": {
31
- message: "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
32
- },
33
- "Boolean": {
34
- message: "Avoid using the `Boolean` type. Did you mean `boolean`?"
35
- },
36
- "Number": {
37
- message: "Avoid using the `Number` type. Did you mean `number`?"
38
- },
39
- "String": {
40
- message: "Avoid using the `String` type. Did you mean `string`?"
41
- },
42
- "Symbol": {
43
- message: "Avoid using the `Symbol` type. Did you mean `symbol`?"
44
- },
45
- "{}": false
46
- },
47
- extendDefaults: true
48
- }
49
- ],
50
- "@typescript-eslint/consistent-type-assertions": "error",
51
- "@typescript-eslint/consistent-type-definitions": "error",
52
- "@typescript-eslint/dot-notation": "error",
53
- "@typescript-eslint/explicit-function-return-type": "off",
54
- "@typescript-eslint/explicit-member-accessibility": [
55
- "error",
56
- {
57
- accessibility: "explicit"
58
- }
59
- ],
60
- "@typescript-eslint/explicit-module-boundary-types": "off",
61
- "@typescript-eslint/member-delimiter-style": [
62
- "error",
63
- {
64
- multiline: {
65
- delimiter: "none",
66
- requireLast: true
67
- },
68
- singleline: {
69
- delimiter: "semi",
70
- requireLast: false
71
- }
72
- }
73
- ],
74
- "@typescript-eslint/member-ordering": "error",
75
- "@typescript-eslint/naming-convention": "off",
76
- "@typescript-eslint/no-empty-function": "error",
77
- "@typescript-eslint/no-empty-interface": "error",
78
- "@typescript-eslint/no-explicit-any": "off",
79
- "@typescript-eslint/no-misused-new": "error",
80
- "@typescript-eslint/no-namespace": "error",
81
- "@typescript-eslint/no-parameter-properties": "off",
82
- "no-shadow": "off",
83
- "@typescript-eslint/no-shadow": [
84
- "error",
85
- {
86
- hoist: "never"
87
- }
88
- ],
89
- "@typescript-eslint/no-unused-expressions": "error",
90
- "@typescript-eslint/no-use-before-define": "off",
91
- "@typescript-eslint/no-var-requires": "error",
92
- "@typescript-eslint/prefer-for-of": "error",
93
- "@typescript-eslint/prefer-function-type": "error",
94
- "@typescript-eslint/prefer-namespace-keyword": "error",
95
- "@typescript-eslint/quotes": [
96
- "error",
97
- "double",
98
- {
99
- avoidEscape: true
100
- }
101
- ],
102
- "@typescript-eslint/semi": ["error", "never"],
103
- "@typescript-eslint/triple-slash-reference": [
104
- "error",
105
- {
106
- path: "always",
107
- types: "prefer-import",
108
- lib: "always"
109
- }
110
- ],
111
- "@typescript-eslint/type-annotation-spacing": "error",
112
- "@typescript-eslint/typedef": "off",
113
- "@typescript-eslint/unified-signatures": "error",
114
- "arrow-body-style": "error",
115
- "arrow-parens": ["error", "as-needed"],
116
- "brace-style": ["error", "1tbs"],
117
- "comma-dangle": "error",
118
- "complexity": "off",
119
- "constructor-super": "error",
120
- "curly": "error",
121
- "dot-notation": "error",
122
- "eol-last": "error",
123
- "eqeqeq": ["error", "smart"],
124
- "guard-for-in": "error",
125
- "id-denylist": [
126
- "off",
127
- "any",
128
- "Number",
129
- "number",
130
- "String",
131
- "string",
132
- "Boolean",
133
- "boolean",
134
- "Undefined",
135
- "undefined"
136
- ],
137
- "id-match": "off",
138
- "import/order": "off",
139
- "jsdoc/check-alignment": "error",
140
- "jsdoc/check-indentation": "error",
141
- "max-classes-per-file": ["error", 10],
142
- "max-len": [
143
- "error",
144
- {
145
- code: 222
146
- }
147
- ],
148
- "new-parens": "error",
149
- "no-bitwise": "error",
150
- "no-caller": "error",
151
- "no-cond-assign": "error",
152
- "no-console": [
153
- "error",
154
- {
155
- allow: [
156
- "warn",
157
- "dir",
158
- "time",
159
- "timeEnd",
160
- "timeLog",
161
- "trace",
162
- "assert",
163
- "clear",
164
- "count",
165
- "countReset",
166
- "group",
167
- "groupEnd",
168
- "table",
169
- "debug",
170
- "info",
171
- "dirxml",
172
- "error",
173
- "groupCollapsed",
174
- "Console",
175
- "profile",
176
- "profileEnd",
177
- "timeStamp",
178
- "context"
179
- ]
180
- }
181
- ],
182
- "no-debugger": "error",
183
- "no-empty": "error",
184
- "no-empty-function": "error",
185
- "no-eval": "off",
186
- "no-fallthrough": "off",
187
- "no-invalid-this": "off",
188
- "no-multiple-empty-lines": "error",
189
- "no-new-wrappers": "error",
190
- "no-throw-literal": "error",
191
- "no-trailing-spaces": [
192
- "error",
193
- {
194
- ignoreComments: true
195
- }
196
- ],
197
- "no-undef-init": "error",
198
- "no-underscore-dangle": "off",
199
- "no-unreachable": "error",
200
- "no-unsafe-finally": "error",
201
- "no-unused-expressions": "error",
202
- "no-unused-labels": "error",
203
- "no-use-before-define": "off",
204
- "no-var": "error",
205
- "object-shorthand": "error",
206
- "one-var": ["error", "never"],
207
- "prefer-const": "error",
208
- "quote-props": ["error", "consistent-as-needed"],
209
- "quotes": ["error", "double", "avoid-escape"],
210
- "radix": "error",
211
- "semi": ["error", "never"],
212
- "space-before-function-paren": [
213
- "error",
214
- {
215
- anonymous: "never",
216
- asyncArrow: "always",
217
- named: "never"
218
- }
219
- ],
220
- "spaced-comment": [
221
- "error",
222
- "always",
223
- {
224
- markers: ["/"]
225
- }
226
- ],
227
- "use-isnan": "error",
228
- "valid-typeof": "off",
229
- "no-unused-vars": "off",
230
- "@typescript-eslint/no-unused-vars": "off",
231
- "@typescript-eslint/no-unsafe-argument": "off",
232
- "@typescript-eslint/no-inferrable-types": "off",
233
- "@typescript-eslint/no-unsafe-member-access": "off",
234
- "@typescript-eslint/restrict-template-expressions": "off",
235
- "@typescript-eslint/no-unsafe-assignment": "off",
236
- "@typescript-eslint/no-unsafe-return": "off",
237
- "@typescript-eslint/no-misused-promises": "off",
238
- "@typescript-eslint/no-floating-promises": "off",
239
- "@typescript-eslint/unbound-method": "off",
240
- "@typescript-eslint/no-unsafe-call": "off",
241
- "@typescript-eslint/require-await": "off"
242
- }
243
- }
package/.eslintrc.js DELETED
@@ -1,243 +0,0 @@
1
- const path = require("path")
2
- module.exports = {
3
- env: {
4
- browser: true
5
- },
6
- // TODO: add "eslint:recommended" to extends one day
7
- extends: ["plugin:@typescript-eslint/recommended-type-checked", "prettier"],
8
- parser: "@typescript-eslint/parser",
9
- parserOptions: {
10
- project: path.join(__dirname, "tsconfig.json"),
11
- sourceType: "module"
12
- },
13
- plugins: ["eslint-plugin-import", "eslint-plugin-jsdoc", "eslint-plugin-prefer-arrow", "@typescript-eslint"],
14
- root: true,
15
- rules: {
16
- "@typescript-eslint/adjacent-overload-signatures": "error",
17
- "@typescript-eslint/array-type": [
18
- "error",
19
- {
20
- default: "array-simple"
21
- }
22
- ],
23
- "@typescript-eslint/ban-types": [
24
- "error",
25
- {
26
- types: {
27
- "Object": {
28
- message: "Avoid using the `Object` type. Did you mean `object`?"
29
- },
30
- "Function": {
31
- message: "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
32
- },
33
- "Boolean": {
34
- message: "Avoid using the `Boolean` type. Did you mean `boolean`?"
35
- },
36
- "Number": {
37
- message: "Avoid using the `Number` type. Did you mean `number`?"
38
- },
39
- "String": {
40
- message: "Avoid using the `String` type. Did you mean `string`?"
41
- },
42
- "Symbol": {
43
- message: "Avoid using the `Symbol` type. Did you mean `symbol`?"
44
- },
45
- "{}": false
46
- },
47
- extendDefaults: true
48
- }
49
- ],
50
- "@typescript-eslint/consistent-type-assertions": "error",
51
- "@typescript-eslint/consistent-type-definitions": "error",
52
- "@typescript-eslint/dot-notation": "error",
53
- "@typescript-eslint/explicit-function-return-type": "off",
54
- "@typescript-eslint/explicit-member-accessibility": [
55
- "error",
56
- {
57
- accessibility: "explicit"
58
- }
59
- ],
60
- "@typescript-eslint/explicit-module-boundary-types": "off",
61
- "@typescript-eslint/member-delimiter-style": [
62
- "error",
63
- {
64
- multiline: {
65
- delimiter: "none",
66
- requireLast: true
67
- },
68
- singleline: {
69
- delimiter: "semi",
70
- requireLast: false
71
- }
72
- }
73
- ],
74
- "@typescript-eslint/member-ordering": "error",
75
- "@typescript-eslint/naming-convention": "off",
76
- "@typescript-eslint/no-empty-function": "error",
77
- "@typescript-eslint/no-empty-interface": "error",
78
- "@typescript-eslint/no-explicit-any": "off",
79
- "@typescript-eslint/no-misused-new": "error",
80
- "@typescript-eslint/no-namespace": "error",
81
- "@typescript-eslint/no-parameter-properties": "off",
82
- "no-shadow": "off",
83
- "@typescript-eslint/no-shadow": [
84
- "error",
85
- {
86
- hoist: "never"
87
- }
88
- ],
89
- "@typescript-eslint/no-unused-expressions": "error",
90
- "@typescript-eslint/no-use-before-define": "off",
91
- "@typescript-eslint/no-var-requires": "error",
92
- "@typescript-eslint/prefer-for-of": "error",
93
- "@typescript-eslint/prefer-function-type": "error",
94
- "@typescript-eslint/prefer-namespace-keyword": "error",
95
- "@typescript-eslint/quotes": [
96
- "error",
97
- "double",
98
- {
99
- avoidEscape: true
100
- }
101
- ],
102
- "@typescript-eslint/semi": ["error", "never"],
103
- "@typescript-eslint/triple-slash-reference": [
104
- "error",
105
- {
106
- path: "always",
107
- types: "prefer-import",
108
- lib: "always"
109
- }
110
- ],
111
- "@typescript-eslint/type-annotation-spacing": "error",
112
- "@typescript-eslint/typedef": "off",
113
- "@typescript-eslint/unified-signatures": "error",
114
- "arrow-body-style": "error",
115
- "arrow-parens": ["error", "as-needed"],
116
- "brace-style": ["error", "1tbs"],
117
- "comma-dangle": "error",
118
- "complexity": "off",
119
- "constructor-super": "error",
120
- "curly": "error",
121
- "dot-notation": "error",
122
- "eol-last": "error",
123
- "eqeqeq": ["error", "smart"],
124
- "guard-for-in": "error",
125
- "id-denylist": [
126
- "off",
127
- "any",
128
- "Number",
129
- "number",
130
- "String",
131
- "string",
132
- "Boolean",
133
- "boolean",
134
- "Undefined",
135
- "undefined"
136
- ],
137
- "id-match": "off",
138
- "import/order": "off",
139
- "jsdoc/check-alignment": "error",
140
- "jsdoc/check-indentation": "error",
141
- "max-classes-per-file": ["error", 10],
142
- "max-len": [
143
- "error",
144
- {
145
- code: 222
146
- }
147
- ],
148
- "new-parens": "error",
149
- "no-bitwise": "error",
150
- "no-caller": "error",
151
- "no-cond-assign": "error",
152
- "no-console": [
153
- "error",
154
- {
155
- allow: [
156
- "warn",
157
- "dir",
158
- "time",
159
- "timeEnd",
160
- "timeLog",
161
- "trace",
162
- "assert",
163
- "clear",
164
- "count",
165
- "countReset",
166
- "group",
167
- "groupEnd",
168
- "table",
169
- "debug",
170
- "info",
171
- "dirxml",
172
- "error",
173
- "groupCollapsed",
174
- "Console",
175
- "profile",
176
- "profileEnd",
177
- "timeStamp",
178
- "context"
179
- ]
180
- }
181
- ],
182
- "no-debugger": "error",
183
- "no-empty": "error",
184
- "no-empty-function": "error",
185
- "no-eval": "off",
186
- "no-fallthrough": "off",
187
- "no-invalid-this": "off",
188
- "no-multiple-empty-lines": "error",
189
- "no-new-wrappers": "error",
190
- "no-throw-literal": "error",
191
- "no-trailing-spaces": [
192
- "error",
193
- {
194
- ignoreComments: true
195
- }
196
- ],
197
- "no-undef-init": "error",
198
- "no-underscore-dangle": "off",
199
- "no-unreachable": "error",
200
- "no-unsafe-finally": "error",
201
- "no-unused-expressions": "error",
202
- "no-unused-labels": "error",
203
- "no-use-before-define": "off",
204
- "no-var": "error",
205
- "object-shorthand": "error",
206
- "one-var": ["error", "never"],
207
- "prefer-const": "error",
208
- "quote-props": ["error", "consistent-as-needed"],
209
- "quotes": ["error", "double", "avoid-escape"],
210
- "radix": "error",
211
- "semi": ["error", "never"],
212
- "space-before-function-paren": [
213
- "error",
214
- {
215
- anonymous: "never",
216
- asyncArrow: "always",
217
- named: "never"
218
- }
219
- ],
220
- "spaced-comment": [
221
- "error",
222
- "always",
223
- {
224
- markers: ["/"]
225
- }
226
- ],
227
- "use-isnan": "error",
228
- "valid-typeof": "off",
229
- "no-unused-vars": "off",
230
- "@typescript-eslint/no-unused-vars": "off",
231
- "@typescript-eslint/no-unsafe-argument": "off",
232
- "@typescript-eslint/no-inferrable-types": "off",
233
- "@typescript-eslint/no-unsafe-member-access": "off",
234
- "@typescript-eslint/restrict-template-expressions": "off",
235
- "@typescript-eslint/no-unsafe-assignment": "off",
236
- "@typescript-eslint/no-unsafe-return": "off",
237
- "@typescript-eslint/no-misused-promises": "off",
238
- "@typescript-eslint/no-floating-promises": "off",
239
- "@typescript-eslint/unbound-method": "off",
240
- "@typescript-eslint/no-unsafe-call": "off",
241
- "@typescript-eslint/require-await": "off"
242
- }
243
- }
package/.gitignore copy DELETED
@@ -1,7 +0,0 @@
1
- node_modules
2
- public/*
3
- !build
4
- build/*env-config*.js
5
- doc/
6
- .DS_STORE
7
- *~
package/jest.config.js DELETED
@@ -1,13 +0,0 @@
1
- const { createDefaultPreset } = require("ts-jest")
2
-
3
- const tsJestTransformCfg = createDefaultPreset().transform
4
-
5
- /** @type {import("jest").Config} **/
6
- module.exports = {
7
- testEnvironment: "node",
8
- transform: {
9
- ...tsJestTransformCfg
10
- },
11
- moduleDirectories: ["node_modules", "src"],
12
- moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"]
13
- }
@@ -1,5 +0,0 @@
1
- # Ignore everything in this directory
2
- *
3
-
4
- # Except this file (so the folder stays in Git)
5
- !.gitignore