@admc.com/eslintplugin-sn-test 2.0.10 → 3.1.0
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/badScripts/{iso_globalaction → iso_global}/sys_ui_action/scopedLog.js +0 -0
- package/badScripts/{iso_globalaction → iso_global}/sys_ui_action/window.js +0 -0
- package/badScripts/{iso_scopedaction → iso_scoped-es5}/sys_ui_action/globalLog.js +0 -0
- package/badScripts/{iso_scopedaction → iso_scoped-es5}/sys_ui_action/window.js +0 -0
- package/badScripts/{noniso_globalaction → noniso_global}/sys_ui_action/scopedLog.js +0 -0
- package/badScripts/{noniso_scopedaction → noniso_scoped-es5}/sys_ui_action/globalLog.js +0 -0
- package/badScripts/scoped-es12/sys_script/changeConst.js +8 -0
- package/badScripts/{scoped → scoped-es5}/sp_widget.script/globalLog.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_processor/scopedLogNoParam.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_processor/scopedTooManyParams.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_script/brCurrentUpdate.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_script/globalLog.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_script/globalSiObj.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_script/let.js +2 -1
- package/badScripts/{scoped → scoped-es5}/sys_security_acl/previousNoValidate.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_ui_action/console.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sys_ui_action/globalLog.js +0 -0
- package/badScripts/{scoped → scoped-es5}/sysevent_script_action/nonEventVar.js +0 -0
- package/goodScripts/{iso_globalaction → iso_global}/sys_ui_action/good.js +0 -0
- package/goodScripts/{iso_scopedaction → iso_scoped-es5}/sys_ui_action/actionVar.js +0 -0
- package/goodScripts/{iso_scopedaction → iso_scoped-es5}/sys_ui_action/good.js +0 -0
- package/goodScripts/{noniso_globalaction → noniso_global}/sys_ui_action/good.js +0 -0
- package/goodScripts/{noniso_scopedaction → noniso_scoped-es5}/sys_ui_action/good.js +0 -0
- package/goodScripts/scoped-es12/sys_script/good.js +8 -0
- package/goodScripts/{scoped → scoped-es5}/sa_pattern_prepost_script/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sc_cat_item_producer/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sp_widget.script/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_processor/scopedLogging.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_script/glideDateDV.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_script/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_script_email/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_security_acl/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_security_acl/previousValidate.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_transform_entry/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_transform_map/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_ui_action/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_ui_page.processing_script/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sys_ws_operation/good.js +0 -0
- package/goodScripts/{scoped → scoped-es5}/sysevent_script_action/GRS.js +0 -0
- package/masterTest.js +1 -1
- package/package.json +2 -2
- package/populateTest.bash +1 -1
- package/goodScripts/ecc_agent_script/good.js +0 -6
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/masterTest.js
CHANGED
|
@@ -6,7 +6,7 @@ const relTestPath = __filename.substring(process.cwd().length + 1);
|
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const fs = require("fs");
|
|
8
8
|
const ex =
|
|
9
|
-
/^test[/](good|bad|reallybad)[/](?:(\w+)[/])?([\w
|
|
9
|
+
/^test[/](good|bad|reallybad)[/](?:([\w-]+)[/])?([\w.-]+[/][\w-]+)-test[.]js$/.exec(relTestPath);
|
|
10
10
|
if (!ex) throw new Error(`Bad test file path: ${relTestPath}`);
|
|
11
11
|
let expectExitVal;
|
|
12
12
|
switch (ex[1]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admc.com/eslintplugin-sn-test",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "External tests for ESLint plugin @admc.com/eslint-plugin-sn",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha --recursive",
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"mocha": "^10.0.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@admc.com/eslint-plugin-sn": "^
|
|
31
|
+
"@admc.com/eslint-plugin-sn": "^3.0.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/populateTest.bash
CHANGED
|
@@ -54,7 +54,7 @@ trap 'rm -f "$TMPFILE"' EXIT
|
|
|
54
54
|
[ -d reallybadScripts ] || Abort "Directory 'badScripts' is missing"
|
|
55
55
|
find goodScripts badScripts reallybadScripts -name '*.js' > "$TMPFILE" ||
|
|
56
56
|
Abort 'find command failed'
|
|
57
|
-
[ -n "$REPLACE_MODE" ] && rm -rf test/good test/bad
|
|
57
|
+
[ -n "$REPLACE_MODE" ] && rm -rf test/good test/bad test/reallybad
|
|
58
58
|
while read SCRIPT_PATH; do
|
|
59
59
|
GB=
|
|
60
60
|
case "$SCRIPT_PATH" in
|