@tamagui/start-transition 2.0.0-rc.33 → 2.0.0-rc.34
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","index_exports","startTransition","module","exports","import_react","require","callback"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar index_exports = {};\n__export(index_exports, {\n startTransition: () => startTransition\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_react = require(\"react\"), startTransition = function(callback) {\n callback();\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAA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Q,CAAC,CAAC;EACZ,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["import_index","require","describe","it","process","env","TAMAGUI_TARGET","callback","jest","fn","startTransition","expect","toHaveBeenCalled","not"],"sources":["
|
|
1
|
+
{"version":3,"names":["import_index","require","describe","it","process","env","TAMAGUI_TARGET","callback","jest","fn","startTransition","expect","toHaveBeenCalled","not"],"sources":["index.test.native.js"],"sourcesContent":["\"use strict\";\nvar import_index = require(\"./index\");\ndescribe(\"startTransition\", function() {\n it(\"should call the callback directly if TAMAGUI_TARGET is not web\", function() {\n process.env.TAMAGUI_TARGET = \"native\";\n var callback = jest.fn();\n (0, import_index.startTransition)(callback), expect(callback).toHaveBeenCalled();\n }), it(\"should proxy to react.startTransition if TAMAGUI_TARGET is web\", function() {\n process.env.TAMAGUI_TARGET = \"web\";\n var callback = jest.fn();\n (0, import_index.startTransition)(callback), expect(callback).not.toHaveBeenCalled();\n });\n});\n//# sourceMappingURL=index.test.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,YAAY,GAAGC,OAAO,CAAC,mBAAS,CAAC;AACrCC,QAAQ,CAAC,iBAAiB,EAAE,YAAW;EACrCC,EAAE,CAAC,gEAAgE,EAAE,YAAW;IAC9EC,OAAO,CAACC,GAAG,CAACC,cAAc,GAAG,QAAQ;IACrC,IAAIC,QAAQ,GAAGC,IAAI,CAACC,EAAE,CAAC,CAAC;IACxB,CAAC,CAAC,EAAET,YAAY,CAACU,eAAe,EAAEH,QAAQ,CAAC,EAAEI,MAAM,CAACJ,QAAQ,CAAC,CAACK,gBAAgB,CAAC,CAAC;EAClF,CAAC,CAAC,EAAET,EAAE,CAAC,gEAAgE,EAAE,YAAW;IAClFC,OAAO,CAACC,GAAG,CAACC,cAAc,GAAG,KAAK;IAClC,IAAIC,QAAQ,GAAGC,IAAI,CAACC,EAAE,CAAC,CAAC;IACxB,CAAC,CAAC,EAAET,YAAY,CAACU,eAAe,EAAEH,QAAQ,CAAC,EAAEI,MAAM,CAACJ,QAAQ,CAAC,CAACM,GAAG,CAACD,gBAAgB,CAAC,CAAC;EACtF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/start-transition",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.34",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tamagui/build": "2.0.0-rc.
|
|
38
|
+
"@tamagui/build": "2.0.0-rc.34",
|
|
39
39
|
"react": ">=19"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|