@tamagui/static 1.0.1-beta.42 → 1.0.1-beta.43
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/cjs/extractor/babelParse.js +15 -14
- package/dist/cjs/extractor/babelParse.js.map +2 -2
- package/dist/esm/extractor/babelParse.js +15 -14
- package/dist/esm/extractor/babelParse.js.map +2 -2
- package/dist/jsx/extractor/babelParse.js +15 -14
- package/package.json +7 -7
- package/types/extractor/babelParse.d.ts.map +1 -1
|
@@ -26,21 +26,22 @@ __export(babelParse_exports, {
|
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(babelParse_exports);
|
|
28
28
|
var babelParser = __toESM(require("@babel/parser"));
|
|
29
|
+
const plugins = [
|
|
30
|
+
"asyncGenerators",
|
|
31
|
+
"classProperties",
|
|
32
|
+
"dynamicImport",
|
|
33
|
+
"functionBind",
|
|
34
|
+
"jsx",
|
|
35
|
+
"numericSeparator",
|
|
36
|
+
"objectRestSpread",
|
|
37
|
+
"optionalCatchBinding",
|
|
38
|
+
"decorators-legacy",
|
|
39
|
+
"typescript",
|
|
40
|
+
"optionalChaining",
|
|
41
|
+
"nullishCoalescingOperator"
|
|
42
|
+
];
|
|
29
43
|
const parserOptions = Object.freeze({
|
|
30
|
-
plugins
|
|
31
|
-
"asyncGenerators",
|
|
32
|
-
"classProperties",
|
|
33
|
-
"dynamicImport",
|
|
34
|
-
"functionBind",
|
|
35
|
-
"jsx",
|
|
36
|
-
"numericSeparator",
|
|
37
|
-
"objectRestSpread",
|
|
38
|
-
"optionalCatchBinding",
|
|
39
|
-
"decorators-legacy",
|
|
40
|
-
"typescript",
|
|
41
|
-
"optionalChaining",
|
|
42
|
-
"nullishCoalescingOperator"
|
|
43
|
-
],
|
|
44
|
+
plugins,
|
|
44
45
|
sourceType: "module"
|
|
45
46
|
});
|
|
46
47
|
const parser = babelParser.parse.bind(babelParser);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/extractor/babelParse.ts"],
|
|
4
|
-
"sourcesContent": ["import * as babelParser from '@babel/parser'\n\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;
|
|
4
|
+
"sourcesContent": ["import * as babelParser from '@babel/parser'\n\nconst plugins: babelParser.ParserPlugin[] = [\n 'asyncGenerators',\n 'classProperties',\n 'dynamicImport',\n 'functionBind',\n 'jsx',\n 'numericSeparator',\n 'objectRestSpread',\n 'optionalCatchBinding',\n 'decorators-legacy',\n 'typescript',\n 'optionalChaining',\n 'nullishCoalescingOperator',\n]\n\nexport const parserOptions: babelParser.ParserOptions = Object.freeze({\n plugins,\n sourceType: 'module',\n})\n\nconst parser = babelParser.parse.bind(babelParser)\n\nexport function babelParse(code: string | Buffer): any {\n return parser(code.toString(), parserOptions)\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAE7B,MAAM,UAAsC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,gBAA2C,OAAO,OAAO;AAAA,EACpE;AAAA,EACA,YAAY;AACd,CAAC;AAED,MAAM,SAAS,YAAY,MAAM,KAAK,WAAW;AAE1C,oBAAoB,MAA4B;AACrD,SAAO,OAAO,KAAK,SAAS,GAAG,aAAa;AAC9C;AAFgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import * as babelParser from "@babel/parser";
|
|
4
|
+
const plugins = [
|
|
5
|
+
"asyncGenerators",
|
|
6
|
+
"classProperties",
|
|
7
|
+
"dynamicImport",
|
|
8
|
+
"functionBind",
|
|
9
|
+
"jsx",
|
|
10
|
+
"numericSeparator",
|
|
11
|
+
"objectRestSpread",
|
|
12
|
+
"optionalCatchBinding",
|
|
13
|
+
"decorators-legacy",
|
|
14
|
+
"typescript",
|
|
15
|
+
"optionalChaining",
|
|
16
|
+
"nullishCoalescingOperator"
|
|
17
|
+
];
|
|
4
18
|
const parserOptions = Object.freeze({
|
|
5
|
-
plugins
|
|
6
|
-
"asyncGenerators",
|
|
7
|
-
"classProperties",
|
|
8
|
-
"dynamicImport",
|
|
9
|
-
"functionBind",
|
|
10
|
-
"jsx",
|
|
11
|
-
"numericSeparator",
|
|
12
|
-
"objectRestSpread",
|
|
13
|
-
"optionalCatchBinding",
|
|
14
|
-
"decorators-legacy",
|
|
15
|
-
"typescript",
|
|
16
|
-
"optionalChaining",
|
|
17
|
-
"nullishCoalescingOperator"
|
|
18
|
-
],
|
|
19
|
+
plugins,
|
|
19
20
|
sourceType: "module"
|
|
20
21
|
});
|
|
21
22
|
const parser = babelParser.parse.bind(babelParser);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/extractor/babelParse.ts"],
|
|
4
|
-
"sourcesContent": ["import * as babelParser from '@babel/parser'\n\
|
|
5
|
-
"mappings": ";;AAAA;
|
|
4
|
+
"sourcesContent": ["import * as babelParser from '@babel/parser'\n\nconst plugins: babelParser.ParserPlugin[] = [\n 'asyncGenerators',\n 'classProperties',\n 'dynamicImport',\n 'functionBind',\n 'jsx',\n 'numericSeparator',\n 'objectRestSpread',\n 'optionalCatchBinding',\n 'decorators-legacy',\n 'typescript',\n 'optionalChaining',\n 'nullishCoalescingOperator',\n]\n\nexport const parserOptions: babelParser.ParserOptions = Object.freeze({\n plugins,\n sourceType: 'module',\n})\n\nconst parser = babelParser.parse.bind(babelParser)\n\nexport function babelParse(code: string | Buffer): any {\n return parser(code.toString(), parserOptions)\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AAEA,MAAM,UAAsC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,gBAA2C,OAAO,OAAO;AAAA,EACpE;AAAA,EACA,YAAY;AACd,CAAC;AAED,MAAM,SAAS,YAAY,MAAM,KAAK,WAAW;AAE1C,oBAAoB,MAA4B;AACrD,SAAO,OAAO,KAAK,SAAS,GAAG,aAAa;AAC9C;AAFgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import * as babelParser from "@babel/parser";
|
|
4
|
+
const plugins = [
|
|
5
|
+
"asyncGenerators",
|
|
6
|
+
"classProperties",
|
|
7
|
+
"dynamicImport",
|
|
8
|
+
"functionBind",
|
|
9
|
+
"jsx",
|
|
10
|
+
"numericSeparator",
|
|
11
|
+
"objectRestSpread",
|
|
12
|
+
"optionalCatchBinding",
|
|
13
|
+
"decorators-legacy",
|
|
14
|
+
"typescript",
|
|
15
|
+
"optionalChaining",
|
|
16
|
+
"nullishCoalescingOperator"
|
|
17
|
+
];
|
|
4
18
|
const parserOptions = Object.freeze({
|
|
5
|
-
plugins
|
|
6
|
-
"asyncGenerators",
|
|
7
|
-
"classProperties",
|
|
8
|
-
"dynamicImport",
|
|
9
|
-
"functionBind",
|
|
10
|
-
"jsx",
|
|
11
|
-
"numericSeparator",
|
|
12
|
-
"objectRestSpread",
|
|
13
|
-
"optionalCatchBinding",
|
|
14
|
-
"decorators-legacy",
|
|
15
|
-
"typescript",
|
|
16
|
-
"optionalChaining",
|
|
17
|
-
"nullishCoalescingOperator"
|
|
18
|
-
],
|
|
19
|
+
plugins,
|
|
19
20
|
sourceType: "module"
|
|
20
21
|
});
|
|
21
22
|
const parser = babelParser.parse.bind(babelParser);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/static",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.43",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@babel/parser": "^7.15.7",
|
|
35
35
|
"@babel/traverse": "^7.15.4",
|
|
36
36
|
"@expo/match-media": "^0.3.0",
|
|
37
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
38
|
-
"@tamagui/core-node": "^1.0.1-beta.
|
|
39
|
-
"@tamagui/fake-react-native": "^1.0.1-beta.
|
|
40
|
-
"@tamagui/helpers": "^1.0.1-beta.
|
|
41
|
-
"@tamagui/proxy-worm": "^1.0.1-beta.
|
|
37
|
+
"@tamagui/build": "^1.0.1-beta.43",
|
|
38
|
+
"@tamagui/core-node": "^1.0.1-beta.43",
|
|
39
|
+
"@tamagui/fake-react-native": "^1.0.1-beta.43",
|
|
40
|
+
"@tamagui/helpers": "^1.0.1-beta.43",
|
|
41
|
+
"@tamagui/proxy-worm": "^1.0.1-beta.43",
|
|
42
42
|
"babel-literal-to-ast": "^2.1.0",
|
|
43
43
|
"esbuild": "^0.14.36",
|
|
44
44
|
"esbuild-register": "^3.3.2",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"fs-extra": "^9.1.0",
|
|
47
47
|
"invariant": "^2.2.4",
|
|
48
48
|
"lodash": "^4.17.21",
|
|
49
|
-
"tamagui": "^1.0.1-beta.
|
|
49
|
+
"tamagui": "^1.0.1-beta.43"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@babel/plugin-syntax-typescript": "^7.14.5",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babelParse.d.ts","sourceRoot":"","sources":["../../src/extractor/babelParse.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"babelParse.d.ts","sourceRoot":"","sources":["../../src/extractor/babelParse.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAiB5C,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,aAGtC,CAAA;AAIF,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAErD"}
|