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

@symbo.ls/atoms

Package Overview
Dependencies
Maintainers
8
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/atoms - npm Package Compare versions

Comparing version 2.11.36 to 2.11.81

19

Collection.js
'use strict'
import { isState } from '@domql/state'
import { isNot, isArray, isObject, isObjectLike, diff, deepClone } from '@domql/utils'
import { isState, getChildStateInKey } from '@domql/state'
import { isString, isNot, isArray, isObject, isObjectLike, diff, deepClone } from '@domql/utils'

@@ -11,2 +11,7 @@ export const Collection = {

if (isString(param)) {
if (param === 'state') param = state.parse()
else param = getChildStateInKey(param, state)
}
let data = isArray(param) ? param : []

@@ -36,2 +41,7 @@

if (!param) return
if (isString(param)) {
if (param === 'state') param = state.parse()
else param = getChildStateInKey(param, state)
}
if (isState(param)) param = param.parse()

@@ -63,2 +73,7 @@ if (isNot(param)('array', 'object')) return

if (!param) return
if (isString(param)) {
if (param === 'state') param = state.parse()
else param = getChildStateInKey(param, state)
}
if (isState(param)) param = param.parse()

@@ -65,0 +80,0 @@ if (isNot(param)('array', 'object')) return

4

package.json
{
"name": "@symbo.ls/atoms",
"version": "2.11.36",
"version": "2.11.81",
"main": "index.js",
"license": "MIT",
"gitHead": "dcbcb0c3da036cfdb2fa14632c7dd32f8041af2a",
"gitHead": "824ee1c1b1ef055b058ae21296b39493503dca98",
"dependencies": {

@@ -8,0 +8,0 @@ "@domql/state": "latest",

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