@anzusystems/common-admin 1.47.0-beta.dev-1775683300 → 1.47.0-beta.dev-1775683500
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/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DvYCGnn3.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs} +21 -4
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs.map +1 -0
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.js +1931 -1931
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +11 -3
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-DXcK6b5C.mjs → webfontloader-CtCXi-3v.mjs} +2 -2
- package/dist/{webfontloader-DXcK6b5C.mjs.map → webfontloader-CtCXi-3v.mjs.map} +1 -1
- package/package.json +6 -6
- package/src/eslint/plugin.mjs +6 -5
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DvYCGnn3.mjs.map +0 -1
package/src/eslint/plugin.mjs
CHANGED
|
@@ -218,9 +218,10 @@ const anzuPlugin = {
|
|
|
218
218
|
normalizedFilename.endsWith(rulePath + '.ts') ||
|
|
219
219
|
normalizedFilename.endsWith(rulePath + '.js') ||
|
|
220
220
|
normalizedFilename.endsWith(rulePath + '.vue') ||
|
|
221
|
-
normalizedFilename.endsWith(rulePath)
|
|
221
|
+
normalizedFilename.endsWith(rulePath),
|
|
222
222
|
)
|
|
223
|
-
)
|
|
223
|
+
)
|
|
224
|
+
return
|
|
224
225
|
|
|
225
226
|
const source = node.source.value
|
|
226
227
|
if (typeof source !== 'string') return
|
|
@@ -270,21 +271,21 @@ const anzuPlugin = {
|
|
|
270
271
|
parts.unshift(current)
|
|
271
272
|
|
|
272
273
|
const hasFatalCheck = parts.some(
|
|
273
|
-
(part) => part.type === 'CallExpression' && part.callee.name === 'isAnzuFatalError'
|
|
274
|
+
(part) => part.type === 'CallExpression' && part.callee.name === 'isAnzuFatalError',
|
|
274
275
|
)
|
|
275
276
|
const hasInstanceofErrorCheck = parts.some(
|
|
276
277
|
(part) =>
|
|
277
278
|
part.type === 'BinaryExpression' &&
|
|
278
279
|
part.operator === 'instanceof' &&
|
|
279
280
|
part.right.type === 'Identifier' &&
|
|
280
|
-
part.right.name === 'Error'
|
|
281
|
+
part.right.name === 'Error',
|
|
281
282
|
)
|
|
282
283
|
const hasAxiosCheck = parts.some(
|
|
283
284
|
(part) =>
|
|
284
285
|
part.type === 'CallExpression' &&
|
|
285
286
|
part.callee.type === 'MemberExpression' &&
|
|
286
287
|
part.callee.object.name === 'axios' &&
|
|
287
|
-
part.callee.property.name === 'isAxiosError'
|
|
288
|
+
part.callee.property.name === 'isAxiosError',
|
|
288
289
|
)
|
|
289
290
|
|
|
290
291
|
if (hasAxiosCheck && (hasFatalCheck || hasInstanceofErrorCheck)) {
|