webpacker 4.0.6 → 4.0.7
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/lib/install/config/babel.config.js +1 -1
- data/lib/install/examples/react/babel.config.js +2 -1
- data/lib/webpacker/version.rb +1 -1
- data/package.json +1 -2
- data/yarn.lock +1 -9
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60145540340af7d04e9ad62a395b3b6a282585d2d470a7b23427da53c8784fa4
|
|
4
|
+
data.tar.gz: b7b9fe64a3b2481733e40e198506c9a75d65feac46b1eb5b9cd2cc752a86c943
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f35a4d16a608ef7ec30ab763a743b0664cc49c339bc3f4afe7e96fbc9ffa474dd38eb11020c994621407354399a9a309c839be4801dcfeac841a126e5834c83
|
|
7
|
+
data.tar.gz: c325bbf4849a5fbc9f09e459d77d05011621afb8bcc11704697d53e9950b90ae222b5fa97d69990ffc3ddc66227f37b5d283b12bc5844eebb946611b0fba8915
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
**Please note that Webpacker 3.1.0 and 3.1.1 have some serious bugs so please consider using either 3.0.2 or 3.2.0**
|
|
2
2
|
|
|
3
|
+
## [[4.0.7]](https://github.com/rails/webpacker/compare/v4.0.6...v4.0.7) - 2019-06-03
|
|
4
|
+
|
|
5
|
+
- Prevent `@babel/plugin-transform-runtime` from rewriting babel helpers in core-js. Remove unneeded runtime `@babel/runtime-corejs3` [#2116](https://github.com/rails/webpacker/pull/2116)
|
|
6
|
+
- Fix for: [#2109 Uncaught TypeError: __webpack_require__(...) is not a function](https://github.com/rails/webpacker/issues/2109): **If you are upgrading**, please check your `babel.config.js` against the [default `babel.config.js`](https://github.com/rails/webpacker/blob/master/lib/install/config/babel.config.js):
|
|
7
|
+
- `@babel/preset-env` should contain `corejs: 3`
|
|
8
|
+
- `@babel/plugin-transform-runtime` should contain `corejs: false`
|
|
9
|
+
- Removed unneeded runtime `@babel/runtime-corejs3`
|
|
10
|
+
|
|
3
11
|
## [[4.0.6]](https://github.com/rails/webpacker/compare/v4.0.5...v4.0.6) - 2019-05-30
|
|
4
12
|
|
|
5
13
|
- Webpack should not be transpiled [#2111](https://github.com/rails/webpacker/pull/2111)
|
|
@@ -16,7 +24,7 @@
|
|
|
16
24
|
|
|
17
25
|
Please see the diff
|
|
18
26
|
|
|
19
|
-
|
|
27
|
+
##### Breaking changes (for pre-existing apps)
|
|
20
28
|
|
|
21
29
|
- [`@babel/polyfill`](https://babeljs.io/docs/en/next/babel-polyfill.html) [doesn't make it possible to provide a smooth migration path from `core-js@2` to `core-js@3`](https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill): for this reason, it was decided to deprecate `@babel/polyfill` in favor of separate inclusion of required parts of `core-js` and `regenerator-runtime`. [#2031](https://github.com/rails/webpacker/pull/2031)
|
|
22
30
|
|
data/Gemfile.lock
CHANGED
data/lib/webpacker/version.rb
CHANGED
data/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rails/webpacker",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "Use webpack to manage app-like JavaScript modules in Rails",
|
|
5
5
|
"main": "package/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"@babel/plugin-transform-runtime": "^7.4.4",
|
|
22
22
|
"@babel/preset-env": "^7.4.5",
|
|
23
23
|
"@babel/runtime": "^7.4.5",
|
|
24
|
-
"@babel/runtime-corejs3": "^7.4.5",
|
|
25
24
|
"babel-loader": "^8.0.6",
|
|
26
25
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
|
27
26
|
"babel-plugin-macros": "^2.5.0",
|
data/yarn.lock
CHANGED
|
@@ -622,14 +622,6 @@
|
|
|
622
622
|
js-levenshtein "^1.1.3"
|
|
623
623
|
semver "^5.5.0"
|
|
624
624
|
|
|
625
|
-
"@babel/runtime-corejs3@^7.4.5":
|
|
626
|
-
version "7.4.5"
|
|
627
|
-
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.4.5.tgz#7df89702351c5fdc34b5555544fcf11b4ea7051c"
|
|
628
|
-
integrity sha512-yxHpUObdpx4zbuLJOHIZkw43E4NbWGsGH+85kRUj+VEcdtjlqI0vDcAja9mwOHqD7/4vCZp69q6eztz/sFDibQ==
|
|
629
|
-
dependencies:
|
|
630
|
-
core-js-pure "^3.0.0"
|
|
631
|
-
regenerator-runtime "^0.13.2"
|
|
632
|
-
|
|
633
625
|
"@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5":
|
|
634
626
|
version "7.4.5"
|
|
635
627
|
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12"
|
|
@@ -1992,7 +1984,7 @@ core-js-compat@^3.1.1:
|
|
|
1992
1984
|
core-js-pure "3.1.3"
|
|
1993
1985
|
semver "^6.1.0"
|
|
1994
1986
|
|
|
1995
|
-
core-js-pure@3.1.3
|
|
1987
|
+
core-js-pure@3.1.3:
|
|
1996
1988
|
version "3.1.3"
|
|
1997
1989
|
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.1.3.tgz#4c90752d5b9471f641514f3728f51c1e0783d0b5"
|
|
1998
1990
|
integrity sha512-k3JWTrcQBKqjkjI0bkfXS0lbpWPxYuHWfMMjC1VDmzU4Q58IwSbuXSo99YO/hUHlw/EB4AlfA2PVxOGkrIq6dA==
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webpacker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -267,8 +267,8 @@ homepage: https://github.com/rails/webpacker
|
|
|
267
267
|
licenses:
|
|
268
268
|
- MIT
|
|
269
269
|
metadata:
|
|
270
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v4.0.
|
|
271
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v4.0.
|
|
270
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v4.0.7
|
|
271
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v4.0.7/CHANGELOG.md
|
|
272
272
|
post_install_message:
|
|
273
273
|
rdoc_options: []
|
|
274
274
|
require_paths:
|