webpacker 4.0.6 → 4.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c9399fb41715ddff0ffb9a7d62857c01e05cedf5ae3ff5d87be3b34d8bb6ea5
4
- data.tar.gz: 1098954d61c4b47abf1118cc0cde31bd4f17916952778a32ff82f66657ca9faa
3
+ metadata.gz: 60145540340af7d04e9ad62a395b3b6a282585d2d470a7b23427da53c8784fa4
4
+ data.tar.gz: b7b9fe64a3b2481733e40e198506c9a75d65feac46b1eb5b9cd2cc752a86c943
5
5
  SHA512:
6
- metadata.gz: 063e568bc9e4c8be7ac2f3b1e3482e7f3165039f0f414d17139299903b6c91301ab53160de432a225c0b15f1ae24e69b7fbcd03973bd402ba67d72472b2c2964
7
- data.tar.gz: 4017669977daef090a3d821b79f79a50df5f7e0fcd62354634eb310c088bcb6ef23835d8599334fd528afff6d4a08121b9edf4064386c2299aa35cdae7f260ce
6
+ metadata.gz: 8f35a4d16a608ef7ec30ab763a743b0664cc49c339bc3f4afe7e96fbc9ffa474dd38eb11020c994621407354399a9a309c839be4801dcfeac841a126e5834c83
7
+ data.tar.gz: c325bbf4849a5fbc9f09e459d77d05011621afb8bcc11704697d53e9950b90ae222b5fa97d69990ffc3ddc66227f37b5d283b12bc5844eebb946611b0fba8915
@@ -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
- ### Breaking changes
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
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webpacker (4.0.6)
4
+ webpacker (4.0.7)
5
5
  activesupport (>= 4.2)
6
6
  rack-proxy (>= 0.6.1)
7
7
  railties (>= 4.2)
@@ -58,7 +58,7 @@ module.exports = function(api) {
58
58
  {
59
59
  helpers: false,
60
60
  regenerator: true,
61
- corejs: 3
61
+ corejs: false
62
62
  }
63
63
  ],
64
64
  [
@@ -64,7 +64,8 @@ module.exports = function(api) {
64
64
  require('@babel/plugin-transform-runtime').default,
65
65
  {
66
66
  helpers: false,
67
- regenerator: true
67
+ regenerator: true,
68
+ corejs: false
68
69
  }
69
70
  ],
70
71
  [
@@ -1,4 +1,4 @@
1
1
  module Webpacker
2
2
  # Change the version in package.json too, please!
3
- VERSION = "4.0.6".freeze
3
+ VERSION = "4.0.7".freeze
4
4
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/webpacker",
3
- "version": "4.0.6",
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, core-js-pure@^3.0.0:
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.6
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-05-31 00:00:00.000000000 Z
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.6
271
- changelog_uri: https://github.com/rails/webpacker/blob/v4.0.6/CHANGELOG.md
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: