Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb8ab6c

Browse files
authored
Build: upgrade dependencies; fix bundler tests on windows
- account for newly unused parameters in the slim buildsClosesgh-5509
1 parentea31e4d commitcb8ab6c

File tree

5 files changed

+704
-456
lines changed

5 files changed

+704
-456
lines changed

‎build/tasks/promises_aplus_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function runTests() {
2424
spawn(
2525
command,
2626
[test].concat(args),
27-
{stdio:"inherit"}
27+
{shell:true,stdio:"inherit"}
2828
);
2929
});
3030
}

‎eslint.config.js

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export default [
1111
ignores:[
1212
"external",
1313
"**/tmp",
14-
"test/data/json_obj.js"
14+
"test/data/json_obj.js",
15+
"test/data/jquery-*.js"
1516
]
1617
},
1718

@@ -147,7 +148,6 @@ export default [
147148
"test/unit/**"
148149
],
149150
ignores:[
150-
"test/data/jquery-3.7.1.js",
151151
"test/data/badcall.js",
152152
"test/data/badjson.js",
153153
"test/data/support/csp.js",
@@ -349,6 +349,28 @@ export default [
349349
}
350350
},
351351

352+
{
353+
files:[
354+
"dist/jquery.slim.js",
355+
"dist/jquery.factory.slim.js",
356+
"dist-module/jquery.slim.module.js",
357+
"dist-module/jquery.factory.slim.module.js"
358+
],
359+
rules:{
360+
361+
// Rollup is now smart enough to remove the use
362+
// of parameters if the argument is not passed
363+
// anywhere in the build.
364+
// The removal of effects in the slim build
365+
// results in some parameters not being used,
366+
// which can be safely ignored.
367+
"no-unused-vars":[
368+
"error",
369+
{args:"none"}
370+
]
371+
}
372+
},
373+
352374
{
353375
files:[
354376
"src/wrapper.js",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp