@putout/babel 4.5.3 → 4.5.4

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/bundle/index.js +2 -2
  2. package/package.json +1 -1
package/bundle/index.js CHANGED
@@ -44017,7 +44017,7 @@ var _Scope = class _Scope {
44017
44017
  }
44018
44018
  }
44019
44019
 
44020
- checkBlockScopedCollisions(local, kind, name, id) {
44020
+ checkBlockScopedCollisions(local, kind, name) {
44021
44021
  if (kind === 'param')
44022
44022
  return;
44023
44023
 
@@ -44031,7 +44031,7 @@ var _Scope = class _Scope {
44031
44031
  || local.kind === 'param' && kind === 'const';
44032
44032
 
44033
44033
  if (duplicate) {
44034
- throw this.path.hub.buildError(id, `Duplicate declaration "${name}"`, TypeError);
44034
+ throw Error(`Duplicate declaration '${name}'`, TypeError);
44035
44035
  }
44036
44036
  }
44037
44037
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/babel",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Babel 8 in CommonJS",