@solid-primitives/utils
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -1,2 +0,2 @@ | ||
import { I as ItemsOf, g as Modify, d as Many, A as AnyClass } from '../types-38269011.js'; | ||
import { I as ItemsOf, g as Modify, d as Many, A as AnyClass } from '../types-d58cbe2f.js'; | ||
import 'solid-js'; | ||
@@ -3,0 +3,0 @@ |
@@ -65,7 +65,10 @@ import { compare, ofClass } from '../chunk/R5675YMU.js'; | ||
var omit = (object, ...keys) => withObjectCopy(object, (object2) => keys.forEach((key) => delete object2[key])); | ||
var pick = (object, ...keys) => keys.reduce((n, k) => { | ||
if (k in object) | ||
n[k] = object[k]; | ||
return n; | ||
}, {}); | ||
var pick = (object, ...keys) => keys.reduce( | ||
(n, k) => { | ||
if (k in object) | ||
n[k] = object[k]; | ||
return n; | ||
}, | ||
{} | ||
); | ||
function get(obj, ...keys) { | ||
@@ -72,0 +75,0 @@ let res = obj; |
import { Accessor, AccessorArray, NoInfer, EffectFunction, onCleanup, SignalOptions, createSignal } from 'solid-js'; | ||
export { EffectOptions, OnOptions } from 'solid-js'; | ||
export { isServer } from 'solid-js/web'; | ||
import { N as Noop, A as AnyClass, a as AnyObject, M as MaybeAccessorValue, b as MaybeAccessor, c as AnyFunction } from '../types-38269011.js'; | ||
export { f as AccessReturnTypes, k as AnyStatic, i as DeepPartialAny, D as Directive, E as ExtractIfPossible, m as Falsy, F as FalsyValue, I as ItemsOf, e as ItemsOfMany, d as Many, g as Modify, h as ModifyDeep, r as Narrow, s as NoInfer, j as NonIterable, O as OnAccessEffectFunction, n as Position, P as PrimitiveValue, R as RequiredKeys, S as SetterParam, p as Simplify, o as Size, T as Tail, l as Truthy, q as UnboxLazy, U as UnionToIntersection, V as Values } from '../types-38269011.js'; | ||
export { EffectOptions, OnOptions, ResolvedChildren, ResolvedJSXElement } from 'solid-js/types/reactive/signal'; | ||
import { N as Noop, A as AnyClass, a as AnyObject, M as MaybeAccessorValue, b as MaybeAccessor, c as AnyFunction } from '../types-d58cbe2f.js'; | ||
export { f as AccessReturnTypes, k as AnyStatic, i as DeepPartialAny, D as Directive, E as ExtractIfPossible, m as Falsy, F as FalsyValue, I as ItemsOf, e as ItemsOfMany, d as Many, g as Modify, h as ModifyDeep, r as Narrow, s as NoInfer, j as NonIterable, O as OnAccessEffectFunction, n as Position, P as PrimitiveValue, R as RequiredKeys, S as SetterParam, p as Simplify, o as Size, T as Tail, l as Truthy, q as UnboxLazy, U as UnionToIntersection, V as Values } from '../types-d58cbe2f.js'; | ||
export { ResolvedChildren, ResolvedJSXElement } from '../node_modules/solid-js/types/reactive/signal.js'; | ||
@@ -7,0 +8,0 @@ declare const isClient: boolean; |
{ | ||
"name": "@solid-primitives/utils", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "A bunch of reactive utility types and functions, for building primitives with Solid.js", | ||
@@ -34,3 +34,6 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
}, | ||
"require": "./dist/index/index.cjs" | ||
"require": { | ||
"types": "./dist/index/index.d.cts", | ||
"default": "./dist/index/index.cjs" | ||
} | ||
}, | ||
@@ -42,3 +45,6 @@ "./immutable": { | ||
}, | ||
"require": "./dist/immutable/index.cjs" | ||
"require": { | ||
"types": "./dist/immutable/index.d.cts", | ||
"default": "./dist/immutable/index.cjs" | ||
} | ||
} | ||
@@ -63,7 +69,7 @@ }, | ||
"devDependencies": { | ||
"solid-js": "1.7.6" | ||
"solid-js": "^1.8.7" | ||
}, | ||
"scripts": { | ||
"dev": "jiti ../../scripts/dev.ts", | ||
"build": "jiti ../../scripts/build.ts", | ||
"dev": "tsx ../../scripts/dev.ts", | ||
"build": "tsx ../../scripts/build.ts", | ||
"vitest": "vitest -c ../../configs/vitest.config.ts", | ||
@@ -70,0 +76,0 @@ "test": "pnpm run vitest", |
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
73802
14
1209