Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@raythurnevoid/svelte-hooks

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raythurnevoid/svelte-hooks - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

cjs/index.d.ts

7

cjs/index.js

@@ -28,7 +28,7 @@ "use strict";

class _Use {
deps;
constructor() { }
hook(deps) {
var _a;
let uninitialized = ((_a = this.deps) === null || _a === void 0 ? void 0 : _a.length) === undefined;
let firstUpdate = uninitialized && (deps === null || deps === void 0 ? void 0 : deps.length) !== undefined;
let uninitialized = this.deps?.length === undefined;
let firstUpdate = uninitialized && deps?.length !== undefined;
let updated = firstUpdate || (this.deps !== deps && !utils_1.arrayEquals(this.deps, deps));

@@ -153,2 +153,1 @@ if (updated) {

exports.createHookApi = createHookApi;
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

@@ -8,2 +8,1 @@ "use strict";

exports.arrayEquals = arrayEquals;
//# sourceMappingURL=utils.js.map
{
"name": "@raythurnevoid/svelte-hooks",
"version": "0.0.6",
"version": "0.0.7",
"description": "",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"scripts": {
"clean-lib": "del-cli lib",
"copy:package:cjs": "copyfiles --up 1 cjs/package.json lib/cjs",
"copy:package": "copyfiles package.json lib",
"copy:src:cjs": "copyfiles --up 1 src/**/*.svelte lib/cjs",
"copy:src:esm": "copyfiles --up 1 src/**/*.svelte lib/esm",
"copy:src:ts": "copyfiles --up 1 src/**/*.* lib/ts",
"copy:src": "npm-run-all --parallel copy:src:cjs copy:src:esm copy:src:ts",
"copy:cjs": "copyfiles --up 1 src/**/*.!(ts)* lib/cjs",
"copy:src": "copyfiles --up 1 src/**/*.* lib/src",
"copy": "copyfiles --up 1 src/**/*.!(ts)* lib",
"tsc:cjs": "tsc -p tsconfig.lib.cjs.json",
"tsc:esm": "tsc -p tsconfig.lib.esm.json",
"lib": "npm-run-all clean-lib copy:package copy:src tsc:cjs tsc:esm",
"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",
"prepackage": "npm run lib",

@@ -21,2 +19,6 @@ "package": "npm publish ./lib --access public",

},
"type": "module",
"browserslist": [
"last 1 year and >5% and supports es6-module"
],
"repository": {

@@ -32,10 +34,6 @@ "type": "git",

"homepage": "https://github.com/raythurnevoid/svelte-hooks#readme",
"dependencies": {},
"devDependencies": {
"@raythurnevoid/svelte-template": "^0.0.13",
"copyfiles": "^2.4.1",
"del-cli": "^3.0.1",
"npm-run-all": "^4.1.5",
"svelte": "^3.32.0"
"@raythurnevoid/svelte-template": "^0.1.4",
"svelte": "^3.38.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc