one 1.1.270 → 1.1.272
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/cjs/vite/clientTreeShakePlugin.js +1 -1
- package/dist/cjs/vite/clientTreeShakePlugin.native.js +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.js +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.mjs +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.native.js +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.native.js.map +1 -1
- package/package.json +6 -5
- package/src/vite/clientTreeShakePlugin.ts +1 -1
package/README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
1
|
+
One is a new React Framework that makes Vite serve both native and web.
|
2
2
|
|
3
|
-
|
3
|
+
See: https://onestack.dev
|
@@ -28,7 +28,7 @@ __export(clientTreeShakePlugin_exports, {
|
|
28
28
|
module.exports = __toCommonJS(clientTreeShakePlugin_exports);
|
29
29
|
var import_generator = __toESM(require("@babel/generator"), 1), import_parser = require("@babel/parser"), import_traverse = __toESM(require("@babel/traverse"), 1), import_babel_dead_code_elimination = require("babel-dead-code-elimination"), import_constants = require("./constants");
|
30
30
|
const traverse = import_traverse.default.default, generate = import_generator.default.default, clientTreeShakePlugin = () => ({
|
31
|
-
name: "
|
31
|
+
name: "one:client-tree-shake",
|
32
32
|
enforce: "pre",
|
33
33
|
applyToEnvironment(env) {
|
34
34
|
return env.name === "client" || env.name === "ios" || env.name === "android";
|
@@ -29,7 +29,7 @@ __export(clientTreeShakePlugin_exports, {
|
|
29
29
|
module.exports = __toCommonJS(clientTreeShakePlugin_exports);
|
30
30
|
var import_generator = __toESM(require("@babel/generator"), 1), import_parser = require("@babel/parser"), import_traverse = __toESM(require("@babel/traverse"), 1), import_babel_dead_code_elimination = require("babel-dead-code-elimination"), import_constants = require("./constants"), traverse = import_traverse.default.default, generate = import_generator.default.default, clientTreeShakePlugin = function() {
|
31
31
|
return {
|
32
|
-
name: "
|
32
|
+
name: "one:client-tree-shake",
|
33
33
|
enforce: "pre",
|
34
34
|
applyToEnvironment(env) {
|
35
35
|
return env.name === "client" || env.name === "ios" || env.name === "android";
|
@@ -4,7 +4,7 @@ import BabelTraverse from "@babel/traverse";
|
|
4
4
|
import { deadCodeElimination, findReferencedIdentifiers } from "babel-dead-code-elimination";
|
5
5
|
import { EMPTY_LOADER_STRING } from "./constants";
|
6
6
|
const traverse = BabelTraverse.default, generate = BabelGenerate.default, clientTreeShakePlugin = () => ({
|
7
|
-
name: "
|
7
|
+
name: "one:client-tree-shake",
|
8
8
|
enforce: "pre",
|
9
9
|
applyToEnvironment(env) {
|
10
10
|
return env.name === "client" || env.name === "ios" || env.name === "android";
|
@@ -6,7 +6,7 @@ import { EMPTY_LOADER_STRING } from "./constants.mjs";
|
|
6
6
|
const traverse = BabelTraverse.default,
|
7
7
|
generate = BabelGenerate.default,
|
8
8
|
clientTreeShakePlugin = () => ({
|
9
|
-
name: "
|
9
|
+
name: "one:client-tree-shake",
|
10
10
|
enforce: "pre",
|
11
11
|
applyToEnvironment(env) {
|
12
12
|
return env.name === "client" || env.name === "ios" || env.name === "android";
|
@@ -7,7 +7,7 @@ var traverse = BabelTraverse.default,
|
|
7
7
|
generate = BabelGenerate.default,
|
8
8
|
clientTreeShakePlugin = function () {
|
9
9
|
return {
|
10
|
-
name: "
|
10
|
+
name: "one:client-tree-shake",
|
11
11
|
enforce: "pre",
|
12
12
|
applyToEnvironment(env) {
|
13
13
|
return env.name === "client" || env.name === "ios" || env.name === "android";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out","codeOut"],"sources":["../../../src/vite/clientTreeShakePlugin.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,aAAA,MAAmB;AAC1B,SAASC,KAAA,QAAa;AACtB,OAAOC,aAAA,MAAmB;AAC1B,SAASC,mBAAA,EAAqBC,yBAAA,QAAiC;AAE/D,SAASC,mBAAA,QAA2B;AAEpC,IAAAC,QAAM,GAAAJ,aAAW,CAAAK,OAAc;EAAAC,QACzB,GAAAR,aAAW,CAAAO,OAAc;EAAAE,qBAElB,YAAAA,CAAA,EACJ;IACL,OAAM;MAENC,IAAA,
|
1
|
+
{"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out","codeOut"],"sources":["../../../src/vite/clientTreeShakePlugin.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,aAAA,MAAmB;AAC1B,SAASC,KAAA,QAAa;AACtB,OAAOC,aAAA,MAAmB;AAC1B,SAASC,mBAAA,EAAqBC,yBAAA,QAAiC;AAE/D,SAASC,mBAAA,QAA2B;AAEpC,IAAAC,QAAM,GAAAJ,aAAW,CAAAK,OAAc;EAAAC,QACzB,GAAAR,aAAW,CAAAO,OAAc;EAAAE,qBAElB,YAAAA,CAAA,EACJ;IACL,OAAM;MAENC,IAAA,yBAAS;MAETC,OAAA;MACEC,kBAAWA,CAAAC,GAAS;QACtB,OAAAA,GAAA,CAAAH,IAAA,iBAAAG,GAAA,CAAAH,IAAA,cAAAG,GAAA,CAAAH,IAAA;MAEA;MACE,MAAII,SAAKA,CAAAC,IAAA,EAAYC,EAAA,EAAAC,QAAS;QAG9B,QAAO,CAAAC,WAAM,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,KAAA,CAAAC,OAAoB,CAAAV,WAAK,MAAUA,WAAA,CAAAG,MAAA,IAAAT,OAAA,CAAAY,UAAA,CAAAtB,EAAA,CAAAN,IAAA;UAE7B;QAiBN;MACE;IAbA;IAAA,IAAAiC,gBAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAnB,OAAA,EAAAoB,MAAA,WAAAC,GAAA;MAEA,OAAArB,OAAA,CAAAqB,GACG;IAOS;IAAA,IAIZJ,gBAAS,CAAAK,MAAA;MACX7C,mBAAA,CAAAmB,GAAA,EAAAG,UAAA;MACF,IAAAwB,GAAA,GAAAzC,QAAA,CAAAc,GAAA;QAAA4B,OAAA,GAAAD,GAAA,CAAAlC,IAAA;AACF","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.272",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"sideEffects": false,
|
7
7
|
"type": "module",
|
8
|
+
"license": "MIT",
|
8
9
|
"main": "dist/cjs",
|
9
10
|
"module": "dist/esm",
|
10
11
|
"bin": "run.mjs",
|
@@ -88,12 +89,12 @@
|
|
88
89
|
"@react-navigation/native-stack": "~6.9.13",
|
89
90
|
"@react-navigation/routers": "~6.1.9",
|
90
91
|
"@ungap/structured-clone": "^1.2.0",
|
91
|
-
"@vxrn/universal-color-scheme": "1.1.
|
92
|
-
"@vxrn/use-isomorphic-layout-effect": "1.1.
|
92
|
+
"@vxrn/universal-color-scheme": "1.1.272",
|
93
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.272",
|
93
94
|
"babel-dead-code-elimination": "^1.0.6",
|
94
95
|
"citty": "^0.1.6",
|
95
96
|
"core-js": "^3.38.1",
|
96
|
-
"create-vxrn": "1.1.
|
97
|
+
"create-vxrn": "1.1.272",
|
97
98
|
"dotenv": "^16.4.5",
|
98
99
|
"escape-string-regexp": "^5.0.0",
|
99
100
|
"expo-linking": "~6.3.1",
|
@@ -115,7 +116,7 @@
|
|
115
116
|
"url-parse": "^1.5.10",
|
116
117
|
"vite": "6.0.0-beta.1",
|
117
118
|
"vite-tsconfig-paths": "^5.0.1",
|
118
|
-
"vxrn": "1.1.
|
119
|
+
"vxrn": "1.1.272",
|
119
120
|
"ws": "^8.18.0",
|
120
121
|
"xxhashjs": "^0.2.2"
|
121
122
|
},
|