New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/immutable

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/immutable - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

44

dist/index.js

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

import { compare, ofClass } from '@solid-primitives/utils';
// src/copy.ts

@@ -96,5 +98,2 @@ var shallowArrayCopy = (array) => array.slice();

}
// src/array.ts
import { compare, ofClass } from "@solid-primitives/utils";
var push = (list, ...items) => withArrayCopy(list, (list2) => list2.push(...items));

@@ -147,38 +146,3 @@ var drop = (list, n = 1) => list.slice(n);

var filterOutInstance = (list, ...classes) => classes.length === 1 ? list.filter((item) => item && !ofClass(item, classes[0])) : list.filter((item) => item && !classes.some((c) => ofClass(item, c)));
export {
add,
clamp,
concat,
divide,
drop,
dropRight,
fill,
filter,
filterInstance,
filterOut,
filterOutInstance,
flatten,
get,
map,
merge,
multiply,
omit,
pick,
power,
push,
remove,
removeItems,
shallowArrayCopy,
shallowCopy,
shallowObjectCopy,
slice,
sort,
sortBy,
splice,
split,
substract,
update,
withArrayCopy,
withCopy,
withObjectCopy
};
export { add, clamp, concat, divide, drop, dropRight, fill, filter, filterInstance, filterOut, filterOutInstance, flatten, get, map, merge, multiply, omit, pick, power, push, remove, removeItems, shallowArrayCopy, shallowCopy, shallowObjectCopy, slice, sort, sortBy, splice, split, substract, update, withArrayCopy, withCopy, withObjectCopy };

38

package.json
{
"name": "@solid-primitives/immutable",
"version": "0.1.2",
"version": "0.1.3",
"description": "Functional programming helpers for making non-mutating changes to data. Keeping it immutable.",

@@ -22,9 +22,18 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",

"sideEffects": false,
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": {},
"exports": {
"browser": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"keywords": [

@@ -37,18 +46,15 @@ "fp",

"dependencies": {
"@solid-primitives/utils": "^3.0.2"
"@solid-primitives/utils": "^3.1.0"
},
"devDependencies": {
"jsdom": "^20.0.0",
"prettier": "^2.7.1",
"solid-js": "^1.5.1",
"solid-register": "^0.2.5",
"tslib": "^2.4.0",
"tsup": "^6.2.2",
"typescript": "^4.7.4",
"uvu": "^0.5.6"
"solid-js": "^1.5.0"
},
"peerDependencies": {
"solid-js": "^1.5.0"
},
"scripts": {
"build": "tsup",
"test": "uvu -r solid-register"
"build": "jiti ../../scripts/build.ts",
"test": "vitest -c ../../configs/vitest.config.ts",
"test:ssr": "pnpm run test --mode ssr"
}
}

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