@tamagui/use-force-update
Advanced tools
Comparing version 1.0.0-alpha.39 to 1.0.0-alpha.40
@@ -1,6 +0,4 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -10,10 +8,9 @@ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __export = (target, all) => { | ||
__markAsModule(target); | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __reExport = (target, module2, desc) => { | ||
var __reExport = (target, module2, copyDefault, desc) => { | ||
if (module2 && typeof module2 === "object" || typeof module2 === "function") { | ||
for (let key of __getOwnPropNames(module2)) | ||
if (!__hasOwnProp.call(target, key) && key !== "default") | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable }); | ||
@@ -23,9 +20,12 @@ } | ||
}; | ||
var __toModule = (module2) => { | ||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2); | ||
}; | ||
__export(exports, { | ||
var __toCommonJS = /* @__PURE__ */ ((cache) => { | ||
return (module2, temp) => { | ||
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp); | ||
}; | ||
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
useForceUpdate: () => useForceUpdate | ||
}); | ||
var import_react = __toModule(require("react")); | ||
var import_react = require("react"); | ||
function useForceUpdate() { | ||
@@ -52,2 +52,3 @@ const setState = (0, import_react.useState)(0)[1]; | ||
__name(useForceUpdate, "useForceUpdate"); | ||
module.exports = __toCommonJS(src_exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tamagui/use-force-update", | ||
"version": "1.0.0-alpha.39", | ||
"version": "1.0.0-alpha.40", | ||
"typings": "types", | ||
@@ -17,3 +17,3 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.0-alpha.39" | ||
"@tamagui/build": "^1.0.0-alpha.40" | ||
}, | ||
@@ -26,3 +26,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "20b8c3487cae35a29bf878191fdc0381020b5304" | ||
"gitHead": "425b002aea52f714266c1ae6ddbef6ba62deafeb" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107
7204