@putout/engine-parser 15.3.0 → 15.5.0

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.
@@ -0,0 +1,3 @@
1
+ import {Program} from '@putout/babel';
2
+
3
+ export declare function parse(source: string, options?: Record<string, unknown>): Program;
@@ -0,0 +1,3 @@
1
+ import {Program} from '@putout/babel';
2
+
3
+ export declare function parse(source: string, options?: Record<string, unknown>): Program;
@@ -0,0 +1,3 @@
1
+ export declare const allowReturnOutsideFunction: true;
2
+ export declare const allowUndeclaredExports: true;
3
+ export declare const allowImportExportEverywhere: true;
@@ -0,0 +1,2 @@
1
+ declare const plugins: readonly string[];
2
+ export default plugins;
@@ -0,0 +1,3 @@
1
+ import {Program} from '@putout/babel';
2
+
3
+ export declare function parse(source: string, options?: Record<string, unknown>): Program;
@@ -0,0 +1,3 @@
1
+ import {Program} from '@putout/babel';
2
+
3
+ export declare function parse(source: string, options?: Record<string, unknown>): Program;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-parser",
3
- "version": "15.3.0",
3
+ "version": "15.5.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout parser",
@@ -11,13 +11,34 @@
11
11
  "tag": false,
12
12
  "changelog": false,
13
13
  "exports": {
14
- ".": "./lib/parser.js",
15
- "./acorn": "./lib/parsers/acorn.cjs",
16
- "./babel": "./lib/parsers/babel/index.js",
17
- "./babel/options": "./lib/parsers/babel/options.js",
18
- "./babel/plugins": "./lib/parsers/babel/plugins.js",
19
- "./espree": "./lib/parsers/espree.cjs",
20
- "./esprima": "./lib/parsers/esprima.cjs"
14
+ ".": {
15
+ "types": "./lib/parser.d.ts",
16
+ "default": "./lib/parser.js"
17
+ },
18
+ "./acorn": {
19
+ "types": "./lib/parsers/acorn.d.cts",
20
+ "default": "./lib/parsers/acorn.cjs"
21
+ },
22
+ "./babel": {
23
+ "types": "./lib/parsers/babel/index.d.ts",
24
+ "default": "./lib/parsers/babel/index.js"
25
+ },
26
+ "./babel/options": {
27
+ "types": "./lib/parsers/babel/options.d.ts",
28
+ "default": "./lib/parsers/babel/options.js"
29
+ },
30
+ "./babel/plugins": {
31
+ "types": "./lib/parsers/babel/plugins.d.ts",
32
+ "default": "./lib/parsers/babel/plugins.js"
33
+ },
34
+ "./espree": {
35
+ "types": "./lib/parsers/espree.d.cts",
36
+ "default": "./lib/parsers/espree.cjs"
37
+ },
38
+ "./esprima": {
39
+ "types": "./lib/parsers/esprima.d.cts",
40
+ "default": "./lib/parsers/esprima.cjs"
41
+ }
21
42
  },
22
43
  "repository": {
23
44
  "type": "git",
@@ -52,14 +73,14 @@
52
73
  "devDependencies": {
53
74
  "@putout/eslint-flat": "^4.0.0",
54
75
  "acorn": "^8.1.1",
55
- "check-dts": "^1.0.0",
56
76
  "acorn-stage3": "^4.0.0",
57
77
  "acorn-typescript": "^1.4.13",
78
+ "check-dts": "^2.0.0",
58
79
  "eslint": "^10.0.0",
59
80
  "eslint-plugin-putout": "^31.0.0",
60
81
  "espree": "^11.0.0",
61
82
  "esprima": "^4.0.1",
62
- "hermes-parser": "^0.36.0",
83
+ "hermes-parser": "^0.37.0",
63
84
  "just-camel-case": "^6.2.0",
64
85
  "madrun": "^13.0.0",
65
86
  "montag": "^2.0.0",