Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecdcc1a
commit bb08970
Showing
159 changed files
with
323 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "04:00" | ||
timezone: Europe/Berlin | ||
open-pull-requests-limit: 20 | ||
labels: | ||
- dependencies | ||
versioning-strategy: widen | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "04:00" | ||
timezone: Europe/Berlin | ||
open-pull-requests-limit: 20 | ||
labels: | ||
- dependencies | ||
versioning-strategy: widen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
package.json | ||
|
||
# Ignore test fixtures | ||
test/*.* | ||
test/**/*.* | ||
!test/*.js | ||
!test/**/webpack.config.js | ||
!test/**/test.config.js | ||
!test/**/test.filter.js | ||
!test/**/errors.js | ||
!test/**/warnings.js | ||
!test/**/deprecations.js | ||
!test/*.md | ||
!test/helpers/*.* | ||
|
||
# Ignore example fixtures | ||
examples/*.* | ||
examples/ | ||
!examples/**/webpack.config.js | ||
|
||
# Ignore coverage | ||
coverage/ | ||
|
||
# Ignore generated files | ||
*.check.js | ||
|
||
# Ignore types | ||
*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"extends": "assemblyscript/std/assembly.json", | ||
"include": [ | ||
"./**/*.asm.ts" | ||
] | ||
"include": ["./**/*.asm.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
// This test can't run in development mode as it depends on the flagIncludedChunks optimization | ||
return config.mode !== "development"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
module.exports = [ | ||
[/It's not allowed to load an initial chunk on demand\. The chunk name "main" is already used by an entrypoint\./], | ||
[ | ||
/It's not allowed to load an initial chunk on demand\. The chunk name "main" is already used by an entrypoint\./ | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
module.exports = [ | ||
[ | ||
/Module build failed( \(from [^)]+\))?:\nMessage/, | ||
{details: /Stack/} | ||
] | ||
[/Module build failed( \(from [^)]+\))?:\nMessage/, { details: /Stack/ }] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = [ | ||
[/Critical dependency: Contexts can't use RegExps with the 'g' or 'y' flags/], | ||
[/Critical dependency: Contexts can't use RegExps with the 'g' or 'y' flags/] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
|
||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
return fs.existsSync(path.join(__dirname, "TEST.FILTER.JS")); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
module.exports = [ | ||
[/There are multiple modules with names that only differ in casing/, /case-sensitive.A\.js/, /case-sensitive.a\.js/], | ||
[/There are multiple modules with names that only differ in casing/, /case-sensitive.B.file\.js/, /case-sensitive.b.file\.js/] | ||
[ | ||
/There are multiple modules with names that only differ in casing/, | ||
/case-sensitive.A\.js/, | ||
/case-sensitive.a\.js/ | ||
], | ||
[ | ||
/There are multiple modules with names that only differ in casing/, | ||
/case-sensitive.B.file\.js/, | ||
/case-sensitive.b.file\.js/ | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
module.exports = [ | ||
[/Module not found/], | ||
]; | ||
module.exports = [[/Module not found/]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
module.exports = [ | ||
[ | ||
/Can't resolve '.\/missing'/ | ||
] | ||
]; | ||
module.exports = [[/Can't resolve '.\/missing'/]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
module.exports = [ | ||
[ | ||
/err: abc/, | ||
], | ||
[ | ||
/The loaded module contains errors/, | ||
], | ||
]; | ||
module.exports = [[/err: abc/], [/The loaded module contains errors/]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
module.exports = [ | ||
[ | ||
/abc/, | ||
/Emitted value instead of an instance of Error/, | ||
/error-loader\.js/ | ||
], | ||
[ | ||
/def/, | ||
/Emitted value instead of an instance of Error/, | ||
/error-loader\.js/ | ||
] | ||
[/abc/, /Emitted value instead of an instance of Error/, /error-loader\.js/], | ||
[/def/, /Emitted value instead of an instance of Error/, /error-loader\.js/] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
module.exports = [ | ||
[ | ||
/xyz/, | ||
/Emitted value instead of an instance of Error/, | ||
/warning-loader\.js/ | ||
] | ||
[/xyz/, /Emitted value instead of an instance of Error/, /warning-loader\.js/] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
module.exports = [ | ||
[ | ||
{moduleName: /\.\/loaders\/no-string\/loader\.js!\.\/loaders\/no-string\/file\.js/}, | ||
{ | ||
moduleName: | ||
/\.\/loaders\/no-string\/loader\.js!\.\/loaders\/no-string\/file\.js/ | ||
}, | ||
/Module build failed: Error: Final loader \(\.\/loaders\/no-string\/loader\.js\) didn't return a Buffer or String/ | ||
], | ||
[ | ||
{moduleName: /\.\/loaders\/no-string\/loader\.js!\.\/loaders\/no-string\/pitch-loader\.js!\.\/loaders\/no-string\/file\.js/}, | ||
{ | ||
moduleName: | ||
/\.\/loaders\/no-string\/loader\.js!\.\/loaders\/no-string\/pitch-loader\.js!\.\/loaders\/no-string\/file\.js/ | ||
}, | ||
/Module build failed: Error: Final loader \(\.\/loaders\/no-string\/loader\.js\) didn't return a Buffer or String/ | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
return !config.minimize; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
return !config.minimize; | ||
}; |
2 changes: 1 addition & 1 deletion
2
test/cases/optimize/side-effects-all-chain-unused/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
return config.mode !== "development"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
return config.mode !== "development"; | ||
}; |
Oops, something went wrong.