dependabot[bot]
c63bdb66cc
chore(deps-dev): bump typescript from 4.2.0-beta to 4.2.4
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.0-beta to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits/v4.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 16:05:13 +00:00
Tobias Koppers
355b726ba5
Merge pull request #13338 from webpack/dependabot/npm_and_yarn/eslint-plugin-jsdoc-33.3.0
...
chore(deps-dev): bump eslint-plugin-jsdoc from 33.0.0 to 33.3.0
2021-05-10 18:00:34 +02:00
Tobias Koppers
954cf75b4c
Merge pull request #13260 from webpack/dependabot/add-v2-config-file
...
Upgrade to GitHub-native Dependabot
2021-05-10 18:00:16 +02:00
dependabot-preview[bot]
676df64d4f
chore(deps-dev): bump eslint-plugin-jsdoc from 33.0.0 to 33.3.0
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 33.0.0 to 33.3.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v33.0.0...v33.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 14:55:24 +00:00
Tobias Koppers
7a99bce5ff
Merge pull request #13298 from webpack/dependabot/npm_and_yarn/fork-ts-checker-webpack-plugin-6.2.6
...
chore(deps-dev): bump fork-ts-checker-webpack-plugin from 6.2.5 to 6.2.6
2021-05-10 16:00:35 +02:00
Tobias Koppers
fcc776ccd9
Merge pull request #13304 from webpack/dependabot/npm_and_yarn/acorn-8.2.4
...
chore(deps): bump acorn from 8.2.2 to 8.2.4
2021-05-10 16:00:11 +02:00
Tobias Koppers
04ff553767
remove ignores, increase limit
2021-05-10 15:58:05 +02:00
Tobias Koppers
942a4ad795
Merge pull request #13305 from webpack/dependabot/npm_and_yarn/types/node-15.0.2
2021-05-10 15:56:28 +02:00
Tobias Koppers
d2eaa3791e
Merge pull request #13326 from webpack/dependabot/npm_and_yarn/date-fns-2.21.3
2021-05-10 15:53:38 +02:00
Tobias Koppers
3de13caba7
Merge pull request #13331 from dhruvit-r/bugfix/fs-call-signatures
2021-05-10 15:52:47 +02:00
Dhruvit Raithatha
e085eebd6c
make errors nullable for call signatures of filesystem types
2021-05-10 15:18:22 +05:30
Tobias Koppers
2e2cd6de85
Merge pull request #9856 from koto/tt-integration
2021-05-10 11:27:42 +02:00
Tobias Koppers
88da3f8ed2
normalize output.trustedTypes to an object
2021-05-10 10:34:21 +02:00
Tobias Koppers
6a3cc0ab2f
fix author
2021-05-10 10:12:23 +02:00
Tobias Koppers
a86974b7aa
rename to CreateScriptUrlRuntimeModule to have same name as RuntimeGlobal
2021-05-10 10:09:18 +02:00
Tobias Koppers
c83450379a
improve test cases
2021-05-10 10:06:22 +02:00
Tobias Koppers
1879f243dd
generate shorter code
2021-05-10 09:58:27 +02:00
Tobias Koppers
7d42aa7a30
better types for normalized options
2021-05-10 09:58:27 +02:00
Tobias Koppers
869f9c8a8c
use createScriptUrl only when needed
2021-05-10 09:58:27 +02:00
Tobias Koppers
4b1592d07a
rename createScriptURL to createScriptUrl
2021-05-10 09:09:34 +02:00
Tobias Koppers
bb8ba1cd05
disable trustedTypes by default
...
allow to pass a boolean as trustedTypesPolicy
2021-05-10 09:02:46 +02:00
webpack bot
c876b0ee4e
Merge pull request #13325 from webpack/dependabot/npm_and_yarn/hosted-git-info-2.8.9
...
chore(deps): [security] bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-08 19:51:59 +02:00
dependabot-preview[bot]
f56f65f84e
chore(deps-dev): bump date-fns from 2.21.1 to 2.21.3
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.21.1 to 2.21.3.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-08 04:00:50 +00:00
dependabot-preview[bot]
042ff6a8a0
chore(deps): [security] bump hosted-git-info from 2.8.8 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 17:49:19 +00:00
Tobias Koppers
c6d4db79b5
Merge pull request #13164 from johnnyreilly/master
...
feat: add LoaderContext to types
2021-05-07 19:38:11 +02:00
Tobias Koppers
442a1ebca5
rename validate function to avoid conflict
2021-05-07 18:14:25 +02:00
Tobias Koppers
b6693feeff
getOptions returns OptionsType
2021-05-07 18:10:57 +02:00
Tobias Koppers
87c0d1cd94
Merge branch 'master' into johnnyreilly/master
2021-05-07 18:07:23 +02:00
Tobias Koppers
77f625ab09
upgrade tooling and update types.d.ts
...
fixed SourceMap
import Schema from validate function
2021-05-07 18:01:45 +02:00
webpack bot
8fb0020f2c
Merge pull request #13315 from webpack/dependabot/npm_and_yarn/core-js-3.12.0
...
chore(deps-dev): bump core-js from 3.10.2 to 3.12.0
2021-05-07 11:32:03 +02:00
Krzysztof Kotowicz
3561285ea8
Skip using Trusted Types checks if trustedTypesPolicyName is empty.
2021-05-07 10:30:57 +02:00
dependabot-preview[bot]
a947afcf06
chore(deps-dev): bump core-js from 3.10.2 to 3.12.0
...
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.10.2 to 3.12.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.12.0/packages/core-js )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-06 09:25:47 +00:00
dependabot-preview[bot]
ba5f9b15e6
chore(deps-dev): bump @types/node from 15.0.1 to 15.0.2
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-04 23:13:39 +00:00
Bjarki
b6e112dabe
Only expose createScriptURL function from Trusted Types policy
...
Since createScriptURL is the only function that is used on webpack's
Trusted Types policy, replace the getTrustedTypesPolicy global with a
simpler createScriptURL global.
In terms of compiled code, this replaces the non-minifiable
tt().createScriptURL(url) with tu(url), which is more compact in terms
of code size.
2021-05-04 16:26:22 +02:00
Bjarki
cff99ee066
Split use-trusted-types into two test cases
...
This test checks for behaviour in environments with and without Trusted
Types support. Separate this into two tests so that they each run in a
clean environment.
2021-05-04 16:17:49 +02:00
Krzysztof Kotowicz
8c3ebccc69
Added Trusted Types support for importScripts() in workers.
2021-05-04 16:17:49 +02:00
Bjarki
2d56faf7d2
Update snapshots
2021-05-04 16:17:45 +02:00
Bjarki
cca01affef
Make Worker transformation compatible with Trusted Types
2021-05-04 16:12:41 +02:00
Bjarki
c71184958d
Move Trusted Types policy into TrustedTypesRuntimeModule
...
Also make the policy available at runtime through
RuntimeGlobals.getTrustedTypesPolicy(), and update runtime dependencies
accordingly.
2021-05-04 16:12:41 +02:00
Krzysztof Kotowicz
dbd095b44a
Added the Trusted Types logic.
2021-05-04 16:12:34 +02:00
Krzysztof Kotowicz
c816c135ca
Removed a deprecated createURL function reference.
2021-05-04 16:06:37 +02:00
Emanuel Tesar
f3eb1bce51
Integrate Trusted Types in webpack
2021-05-04 16:06:37 +02:00
dependabot-preview[bot]
fe73b202aa
chore(deps): bump acorn from 8.2.2 to 8.2.4
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 8.2.2 to 8.2.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/8.2.2...8.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-04 13:51:02 +00:00
dependabot-preview[bot]
eb350d5634
chore(deps-dev): bump fork-ts-checker-webpack-plugin from 6.2.5 to 6.2.6
...
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin ) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases )
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v6.2.5...v6.2.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 20:45:31 +00:00
webpack bot
a73bcc5042
Merge pull request #13283 from webpack/dependabot/npm_and_yarn/browserslist-4.16.6
...
chore(deps): bump browserslist from 4.16.5 to 4.16.6
2021-05-01 15:42:02 +02:00
webpack bot
6dd7d27096
Merge pull request #13281 from webpack/dependabot/npm_and_yarn/mini-css-extract-plugin-1.6.0
...
chore(deps-dev): bump mini-css-extract-plugin from 1.5.1 to 1.6.0
2021-05-01 13:52:02 +02:00
Tobias Koppers
896a3655b4
Merge pull request #13282 from webpack/bugfix/log-info
...
make ESM tracking info message less verbose
2021-04-30 20:32:33 +02:00
dependabot-preview[bot]
b6b750bd49
chore(deps): bump browserslist from 4.16.5 to 4.16.6
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.5 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.5...4.16.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-30 13:35:10 +00:00
Tobias Koppers
adc10a5636
make ESM tracking info message less verbose
2021-04-30 15:07:17 +02:00
dependabot-preview[bot]
f34a0ab564
chore(deps-dev): bump mini-css-extract-plugin from 1.5.1 to 1.6.0
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-30 11:50:57 +00:00