@putout/engine-parser 6.2.0 → 6.4.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.
package/README.md CHANGED
@@ -98,6 +98,7 @@ const ast = parse(source, {
98
98
  print(ast, {
99
99
  sourceMapName: 'hello.map',
100
100
  });
101
+
101
102
  // returns
102
103
  `const hello = 'world';
103
104
  {"version":3,"sources":["hello.js"],"names":[],"mappings":"AAAA...","file":"hello.map","sourcesContent":["const hello = 'world';"]}`;
@@ -1,17 +1,5 @@
1
1
  'use strict';
2
2
 
3
- module.exports = [
4
- 'importMeta',
5
- 'importAssertions',
6
- 'dynamicImport',
7
- 'bigInt',
8
- 'classPrivateProperties',
9
- 'classPrivateMethods',
10
- 'classProperties',
11
- 'decorators-legacy',
12
- 'destructuringPrivate',
13
- 'numericSeparator',
14
- 'exportDefaultFrom',
15
- 'throwExpressions',
16
- 'recordAndTuple',
17
- ];
3
+ module.exports = ['importMeta', ['importAttributes', {
4
+ deprecatedAssertSyntax: true,
5
+ }], 'dynamicImport', 'bigInt', 'classProperties', 'decorators-legacy', 'destructuringPrivate', 'exportDefaultFrom', 'throwExpressions', 'recordAndTuple'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-parser",
3
- "version": "6.2.0",
3
+ "version": "6.4.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout parser",
@@ -54,7 +54,7 @@
54
54
  "acorn-stage3": "^4.0.0",
55
55
  "c8": "^7.5.0",
56
56
  "eslint": "^8.0.1",
57
- "eslint-plugin-n": "^15.2.4",
57
+ "eslint-plugin-n": "^16.0.0",
58
58
  "eslint-plugin-putout": "^17.0.0",
59
59
  "espree": "^9.0.0",
60
60
  "esprima": "^4.0.1",