@putout/babel 1.5.3 → 1.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.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [NPMIMGURL]: https://img.shields.io/npm/v/@putout/babel.svg?style=flat&longCache=true
4
4
  [NPMURL]: https://npmjs.org/package/@putout/babel "npm"
5
5
 
6
- **CommonJS** pre-builts of Babel 8: if you want to migrate to [v8](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.1), but cannot support **ESM** right now.
6
+ **CommonJS** pre-builts of Babel 8: if you want to migrate to [v8](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4), but cannot support **ESM** right now.
7
7
 
8
8
  Usage
9
9
 
@@ -17,12 +17,6 @@ const {
17
17
  } = require('@putout/babel');
18
18
  ```
19
19
 
20
- ## Why not separate files?
21
-
22
- Becaouse each of them will be about `1.8mb`:
23
-
24
- <img width="479" alt="image" src="https://github.com/putoutjs/babel/assets/1573141/aa75f1bb-c312-4640-a605-fed0a0759427">
25
-
26
20
  ## License
27
21
 
28
22
  MIT
package/bundle/index.d.ts CHANGED
@@ -5448,4 +5448,15 @@ type ParseResult<Result> = Result & {
5448
5448
  errors: ParseError[];
5449
5449
  };
5450
5450
 
5451
- export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes, indexLegacy_d as types };
5451
+ interface Location {
5452
+ start: {
5453
+ line: number;
5454
+ column: number;
5455
+ };
5456
+ }
5457
+
5458
+ interface CodeFrameOptions {}
5459
+
5460
+ declare function codeFrameColumns(rawLines: string, location: Location, options: CodeFrameOptions): string;
5461
+
5462
+ export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, codeFrameColumns, parse, parseExpression, tokTypes, traverse, indexLegacy_d as types };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/babel",
3
- "version": "1.5.3",
3
+ "version": "1.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",
@@ -21,6 +21,7 @@
21
21
  ],
22
22
  "scripts": {
23
23
  "test": "madrun test",
24
+ "test:dts": "madrun test:dts",
24
25
  "watch:test": "madrun watch:test",
25
26
  "lint": "madrun lint",
26
27
  "fresh:lint": "madrun fresh:lint",
@@ -34,8 +35,7 @@
34
35
  "build": "madrun build",
35
36
  "build:js": "madrun build:js",
36
37
  "build:types": "madrun build:types",
37
- "build:fix": "madrun build:fix",
38
- "copy": "madrun copy"
38
+ "build:fix": "madrun build:fix"
39
39
  },
40
40
  "dependencies": {},
41
41
  "keywords": [
@@ -69,6 +69,7 @@
69
69
  "rollup": "^3.15.0",
70
70
  "rollup-plugin-node-externals": "^6.1.1",
71
71
  "rollup-plugin-polyfill-node": "^0.12.0",
72
+ "supertape": "^8.6.0",
72
73
  "tsup": "^7.2.0",
73
74
  "typescript": "^5.2.2"
74
75
  },