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

@magic/types

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic/types - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "@magic/types",
"version": "0.0.2",
"version": "0.0.3",
"description": "typechecking library",

@@ -27,4 +27,4 @@ "author": "Jascha Ehrenreich <jascha@jaeh.at>",

"devDependencies": {
"@magic/test": "0.0.1"
"@magic/test": "0.0.2"
}
}

@@ -105,5 +105,11 @@ const isArray = e => Array.isArray(e)

const isLengthGreaterOrEqual = (a, b) =>
isDefined(b) ? getLength(a) >= getLength(b) : c => isLengthGreaterOrEqual(a, c)
const isLengthSmaller = (a, b) =>
isDefined(b) ? getLength(a) < getLength(b) : c => isLengthSmaller(a, c)
const isLengthSmallerOrEqual = (a, b) =>
isDefined(b) ? getLength(a) <= getLength(b) : c => isLengthSmallerOrEqual(a, c)
const isError = e => e instanceof Error

@@ -492,2 +498,8 @@

deep: isDeepEqual,
isLengthGreater,
isLengthGreaterOrEqual,
isLengthSmaller,
isLengthSmallerOrEqual,
isLengthEqual,
}

@@ -502,5 +514,15 @@

bigger: isLengthGreater,
biggerequal: isLengthGreaterOrEqual,
greater: isLengthGreater,
greaterequal: isLengthGreaterOrEqual,
gte: isLengthGreaterOrEqual,
gteq: isLengthGreaterOrEqual,
lower: isLengthSmaller,
smaller: isLengthSmaller,
lt: isLengthSmaller,
lowerequal: isLengthSmallerOrEqual,
smallerequal: isLengthSmallerOrEqual,
lte: isLengthSmallerOrEqual,
lteq: isLengthSmallerOrEqual,
}

@@ -507,0 +529,0 @@

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