@parcel/transformer-babel 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/config.js +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/transformer-babel",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,7 +17,7 @@
17
17
  "source": "src/BabelTransformer.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "^2.0.0"
20
+ "parcel": "^2.0.1"
21
21
  },
22
22
  "dependencies": {
23
23
  "@babel/core": "^7.12.0",
@@ -25,11 +25,11 @@
25
25
  "@babel/helper-compilation-targets": "^7.8.4",
26
26
  "@babel/plugin-transform-flow-strip-types": "^7.0.0",
27
27
  "@babel/traverse": "^7.0.0",
28
- "@parcel/babel-ast-utils": "^2.0.0",
29
- "@parcel/diagnostic": "^2.0.0",
30
- "@parcel/plugin": "^2.0.0",
28
+ "@parcel/babel-ast-utils": "^2.0.1",
29
+ "@parcel/diagnostic": "^2.0.1",
30
+ "@parcel/plugin": "^2.0.1",
31
31
  "@parcel/source-map": "^2.0.0",
32
- "@parcel/utils": "^2.0.0",
32
+ "@parcel/utils": "^2.0.1",
33
33
  "browserslist": "^4.6.6",
34
34
  "core-js": "^3.2.1",
35
35
  "json5": "^2.1.0",
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "@babel/core": "^7.12.0",
41
41
  "@babel/preset-env": "^7.0.0",
42
- "@parcel/types": "^2.0.0"
42
+ "@parcel/types": "^2.0.1"
43
43
  },
44
- "gitHead": "84da50ae6943bff9741e2fc76d2f4968074cbbd6"
44
+ "gitHead": "28b47e6bdca7de2a06b7cc39a4a0b1df89f3fe15"
45
45
  }
package/src/config.js CHANGED
@@ -110,10 +110,9 @@ export async function load(
110
110
  // We need to invalidate on startup in case the config is non-static,
111
111
  // e.g. uses unknown environment variables, reads from the filesystem, etc.
112
112
  logger.warn({
113
- message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Parcel for changes to this config to take effect. Try using a ${path.basename(
114
- file,
115
- path.extname(file),
116
- ) + '.json'} file instead.`,
113
+ message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Parcel for changes to this config to take effect. Try using a ${
114
+ path.basename(file, path.extname(file)) + '.json'
115
+ } file instead.`,
117
116
  });
118
117
  config.invalidateOnStartup();
119
118