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

@solid-primitives/utils

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/utils - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

23

dist/index.js

@@ -1,3 +0,1 @@

"use strict";
// src/index.ts

@@ -47,3 +45,5 @@ import {

function forEachEntry(object, iterator) {
Object.entries(object).forEach(([key, item], index, pairs) => iterator(key, item, index, pairs, object));
Object.entries(object).forEach(
([key, item], index, pairs) => iterator(key, item, index, pairs, object)
);
}

@@ -74,10 +74,13 @@ var entries = Object.entries;

function createProxy(traps) {
return new Proxy({}, {
get: (_, k) => traps.get(k),
set: (_, k, v) => {
var _a;
(_a = traps.set) == null ? void 0 : _a.call(traps, k, v);
return false;
return new Proxy(
{},
{
get: (_, k) => traps.get(k),
set: (_, k, v) => {
var _a;
(_a = traps.set) == null ? void 0 : _a.call(traps, k, v);
return false;
}
}
});
);
}

@@ -84,0 +87,0 @@ var createTrigger = isDev ? () => createSignal(void 0, { equals: false, name: "trigger" }) : () => createSignal(void 0, { equals: false });

{
"name": "@solid-primitives/utils",
"version": "3.0.1",
"version": "3.0.2",
"description": "A bunch of reactive utility types and functions, for building primitives with Solid.js",

@@ -24,7 +24,2 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",

],
"scripts": {
"build": "tsup",
"test": "uvu -r solid-register",
"test:watch": "watchlist src test -- npm test"
},
"keywords": [

@@ -39,5 +34,6 @@ "utilities",

"prettier": "^2.7.1",
"solid-js": "^1.5.1",
"solid-register": "^0.2.5",
"tslib": "^2.4.0",
"tsup": "^6.2.1",
"tsup": "^6.2.2",
"uvu": "^0.5.6",

@@ -48,3 +44,8 @@ "watchlist": "^0.3.1"

"solid-js": "^1.4.1"
},
"scripts": {
"build": "tsup",
"test": "uvu -r solid-register",
"test:watch": "watchlist src test -- npm test"
}
}
}

@@ -0,0 +0,0 @@ <p>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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