@modern-js/repo-generator 0.0.0-next-20221128140522 → 0.0.0-next-20221128182530
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 +7 -7
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -60407,7 +60407,7 @@ var init_tokens = __esmMin(() => {
|
|
|
60407
60407
|
});
|
|
60408
60408
|
dbStarTok = TokenType("**", {
|
|
60409
60409
|
expectNext: function(next) {
|
|
60410
|
-
return next === dotTok || next ===
|
|
60410
|
+
return next === dotTok || next === bracketLTok || next === eofTok || next === commaTok || next === parenRTok;
|
|
60411
60411
|
}
|
|
60412
60412
|
});
|
|
60413
60413
|
dotTok = TokenType(".", {
|
|
@@ -60544,11 +60544,11 @@ var init_tokens = __esmMin(() => {
|
|
|
60544
60544
|
});
|
|
60545
60545
|
eofTok = TokenType("eof");
|
|
60546
60546
|
});
|
|
60547
|
-
var
|
|
60547
|
+
var nonASCIIWhitespace, fullCharCodeAtPos, isRewordCode, getError, slice, Tokenizer;
|
|
60548
60548
|
var init_tokenizer = __esmMin(() => {
|
|
60549
60549
|
init_tokens();
|
|
60550
60550
|
init_contexts();
|
|
60551
|
-
|
|
60551
|
+
nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
60552
60552
|
fullCharCodeAtPos = function(input, pos) {
|
|
60553
60553
|
if (String.fromCharCode)
|
|
60554
60554
|
return input.codePointAt(pos);
|
|
@@ -60645,7 +60645,7 @@ var init_tokenizer = __esmMin(() => {
|
|
|
60645
60645
|
++this.state.pos;
|
|
60646
60646
|
break;
|
|
60647
60647
|
default:
|
|
60648
|
-
if (ch > 8 && ch < 14 || ch >= 5760 &&
|
|
60648
|
+
if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIWhitespace.test(String.fromCharCode(ch))) {
|
|
60649
60649
|
++this.state.pos;
|
|
60650
60650
|
} else {
|
|
60651
60651
|
break loop;
|
|
@@ -60693,7 +60693,7 @@ var init_tokenizer = __esmMin(() => {
|
|
|
60693
60693
|
string = slice(this.input, startPos, this.state.pos);
|
|
60694
60694
|
break;
|
|
60695
60695
|
}
|
|
60696
|
-
if (code > 8 && code < 14 || code >= 5760 &&
|
|
60696
|
+
if (code > 8 && code < 14 || code >= 5760 && nonASCIIWhitespace.test(String.fromCharCode(code))) {
|
|
60697
60697
|
string = slice(this.input, startPos, this.state.pos);
|
|
60698
60698
|
break;
|
|
60699
60699
|
}
|
|
@@ -60705,7 +60705,7 @@ var init_tokenizer = __esmMin(() => {
|
|
|
60705
60705
|
}
|
|
60706
60706
|
this.finishToken(nameTok, string);
|
|
60707
60707
|
};
|
|
60708
|
-
Tokenizer2.prototype.
|
|
60708
|
+
Tokenizer2.prototype.readIgnoreString = function() {
|
|
60709
60709
|
var startPos = this.state.pos, prevCode, string = "";
|
|
60710
60710
|
while (true) {
|
|
60711
60711
|
var code = this.getCode();
|
|
@@ -60744,7 +60744,7 @@ var init_tokenizer = __esmMin(() => {
|
|
|
60744
60744
|
if (this.input.length <= this.state.pos) {
|
|
60745
60745
|
this.finishToken(eofTok);
|
|
60746
60746
|
} else if (this.curContext() === bracketDContext) {
|
|
60747
|
-
this.
|
|
60747
|
+
this.readIgnoreString();
|
|
60748
60748
|
} else if (code === 123) {
|
|
60749
60749
|
this.state.pos++;
|
|
60750
60750
|
this.finishToken(braceLTok);
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221128182530",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^27",
|
|
31
31
|
"typescript": "^4",
|
|
32
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
33
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
34
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
35
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
36
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
37
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
38
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
39
|
-
"@modern-js/utils": "0.0.0-next-
|
|
40
|
-
"@scripts/build": "0.0.0-next-
|
|
41
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
32
|
+
"@modern-js/base-generator": "0.0.0-next-20221128182530",
|
|
33
|
+
"@modern-js/generator-common": "0.0.0-next-20221128182530",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221128182530",
|
|
35
|
+
"@modern-js/generator-utils": "0.0.0-next-20221128182530",
|
|
36
|
+
"@modern-js/module-generator": "0.0.0-next-20221128182530",
|
|
37
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221128182530",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221128182530",
|
|
39
|
+
"@modern-js/utils": "0.0.0-next-20221128182530",
|
|
40
|
+
"@scripts/build": "0.0.0-next-20221128182530",
|
|
41
|
+
"@scripts/jest-config": "0.0.0-next-20221128182530"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
44
|
"modernConfig": {
|