@m2c2kit/build-helpers 0.3.11 → 0.3.12
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/dist/index.js +9 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8194,12 +8194,14 @@ pp$5.parseExprImport = function(forNew) {
|
|
|
8194
8194
|
// Consume `import` as an identifier for `import.meta`.
|
|
8195
8195
|
// Because `this.parseIdent(true)` doesn't check escape sequences, it needs the check of `this.containsEsc`.
|
|
8196
8196
|
if (this.containsEsc) { this.raiseRecoverable(this.start, "Escape sequence in keyword import"); }
|
|
8197
|
-
|
|
8197
|
+
this.next();
|
|
8198
8198
|
|
|
8199
8199
|
if (this.type === types$1.parenL && !forNew) {
|
|
8200
8200
|
return this.parseDynamicImport(node)
|
|
8201
8201
|
} else if (this.type === types$1.dot) {
|
|
8202
|
-
|
|
8202
|
+
var meta = this.startNodeAt(node.start, node.loc && node.loc.start);
|
|
8203
|
+
meta.name = "import";
|
|
8204
|
+
node.meta = this.finishNode(meta, "Identifier");
|
|
8203
8205
|
return this.parseImportMeta(node)
|
|
8204
8206
|
} else {
|
|
8205
8207
|
this.unexpected();
|
|
@@ -8349,7 +8351,7 @@ pp$5.parseNew = function() {
|
|
|
8349
8351
|
var node = this.startNode();
|
|
8350
8352
|
this.next();
|
|
8351
8353
|
if (this.options.ecmaVersion >= 6 && this.type === types$1.dot) {
|
|
8352
|
-
var meta = this.startNodeAt(node.start, node.
|
|
8354
|
+
var meta = this.startNodeAt(node.start, node.loc && node.loc.start);
|
|
8353
8355
|
meta.name = "new";
|
|
8354
8356
|
node.meta = this.finishNode(meta, "Identifier");
|
|
8355
8357
|
this.next();
|
|
@@ -11177,7 +11179,7 @@ pp.readWord = function() {
|
|
|
11177
11179
|
// [walk]: util/walk.js
|
|
11178
11180
|
|
|
11179
11181
|
|
|
11180
|
-
var version = "8.11.
|
|
11182
|
+
var version = "8.11.3";
|
|
11181
11183
|
|
|
11182
11184
|
Parser.acorn = {
|
|
11183
11185
|
Parser: Parser,
|
|
@@ -11202,11 +11204,10 @@ Parser.acorn = {
|
|
|
11202
11204
|
};
|
|
11203
11205
|
|
|
11204
11206
|
// The main exported interface (under `self.acorn` when in the
|
|
11205
|
-
// browser) is a `parse` function that takes a code string and
|
|
11206
|
-
//
|
|
11207
|
-
// API][api].
|
|
11207
|
+
// browser) is a `parse` function that takes a code string and returns
|
|
11208
|
+
// an abstract syntax tree as specified by the [ESTree spec][estree].
|
|
11208
11209
|
//
|
|
11209
|
-
// [
|
|
11210
|
+
// [estree]: https://github.com/estree/estree
|
|
11210
11211
|
|
|
11211
11212
|
function parse(input, options) {
|
|
11212
11213
|
return Parser.parse(input, options)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m2c2kit/build-helpers",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"description": "Utility functions for building m2c2kit apps",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"cpy": "10.1.0",
|
|
18
18
|
"findup-sync": "5.0.0",
|
|
19
19
|
"rimraf": "5.0.5",
|
|
20
|
-
"rollup": "4.
|
|
20
|
+
"rollup": "4.9.2",
|
|
21
21
|
"rollup-plugin-copy": "3.5.0",
|
|
22
22
|
"rollup-plugin-dts": "6.1.0",
|
|
23
23
|
"rollup-plugin-esbuild": "6.1.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://m2c2-project.github.io/m2c2kit",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"acorn": "8.11.
|
|
43
|
+
"acorn": "8.11.3",
|
|
44
44
|
"acorn-walk": "8.3.1",
|
|
45
45
|
"astring": "1.8.6",
|
|
46
46
|
"css-select": "5.1.0",
|