@raythurnevoid/svelte-hooks
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -23,3 +23,3 @@ "use strict"; | ||
exports.UseDebounce = UseDebounce_svelte_1.default; | ||
const utils_1 = require("./utils"); | ||
const utils_js_1 = require("./utils.js"); | ||
const svelte_1 = require("svelte"); | ||
@@ -34,3 +34,3 @@ __exportStar(require("./types"), exports); | ||
let firstUpdate = uninitialized && deps?.length !== undefined; | ||
let updated = firstUpdate || (this.deps !== deps && !utils_1.arrayEquals(this.deps, deps)); | ||
let updated = firstUpdate || (this.deps !== deps && !utils_js_1.arrayEquals(this.deps, deps)); | ||
if (updated) { | ||
@@ -37,0 +37,0 @@ this.setDeps(deps); |
import Use from "./Use.svelte"; | ||
import UseState from "./UseState.svelte"; | ||
import UseDebounce from "./UseDebounce.svelte"; | ||
import { arrayEquals } from "./utils"; | ||
import { arrayEquals } from "./utils.js"; | ||
import { onMount } from "svelte"; | ||
@@ -6,0 +6,0 @@ export { Use, UseState, UseDebounce }; |
{ | ||
"name": "@raythurnevoid/svelte-hooks", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
"scripts": { | ||
"clean-lib": "del-cli lib", | ||
"copy:package:cjs": "copyfiles --up 1 cjs/package.json lib/cjs", | ||
"copy:package:cjs": "copyfiles --up 1 cjs/* lib/cjs", | ||
"copy:package": "copyfiles package.json lib", | ||
"copy:cjs": "copyfiles --up 1 src/**/*.!(ts)* lib/cjs", | ||
"copy:src": "copyfiles --up 1 src/**/*.* lib/src", | ||
"copy": "copyfiles --up 1 src/**/*.!(ts)* lib", | ||
"copy:src": "copyfiles --up 2 src/lib/**/* lib/src", | ||
"copy:cjs": "copyfiles --up 2 src/lib/**/*[!.ts] lib/cjs", | ||
"copy": "copyfiles --up 2 src/lib/**/*[!.ts] lib", | ||
"tsc": "tsc -p tsconfig.lib.json", | ||
"tsc:cjs": "tsc -p tsconfig.lib.cjs.json", | ||
"tsc": "tsc -p tsconfig.lib.json", | ||
"lib": "npm-run-all clean-lib copy:package copy:package:cjs copy copy:cjs copy:src tsc tsc:cjs", | ||
@@ -27,3 +27,3 @@ "prepackage": "npm run lib", | ||
"browserslist": [ | ||
"last 1 year and >5% and supports es6-module" | ||
"> 5%" | ||
], | ||
@@ -36,6 +36,2 @@ "repository": { | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/raythurnevoid/svelte-hooks/issues" | ||
}, | ||
"homepage": "https://github.com/raythurnevoid/svelte-hooks#readme", | ||
"devDependencies": { | ||
@@ -42,0 +38,0 @@ "@raythurnevoid/svelte-template": "^0.1.4", |
import Use from "./Use.svelte"; | ||
import UseState from "./UseState.svelte"; | ||
import UseDebounce from "./UseDebounce.svelte"; | ||
import { arrayEquals } from "./utils"; | ||
import { arrayEquals } from "./utils.js"; | ||
import { onMount } from "svelte"; | ||
@@ -6,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
24778
1
3