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.4 to 0.0.5

8

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

@@ -15,3 +15,3 @@ "author": "Jascha Ehrenreich <jascha@jaeh.at>",

"dev": "magic dev",
"test": "t --exclude docs docsrc config.js",
"test": "t --exclude docs example config.js",
"format": "f -w --exclude docs",

@@ -33,8 +33,8 @@ "format:check": "f --exclude docs",

"devDependencies": {
"@magic-modules/gitbadges": "github:magic-modules/gitbadges",
"@magic-modules/git-badges": "github:magic-modules/git-badges",
"@magic-modules/pre": "github:magic-modules/pre",
"@magic-themes/docs": "github:magic-themes/docs",
"@magic/core": "github:magic/core",
"@magic/test": "0.0.10"
"@magic/test": "0.0.12"
}
}

@@ -10,3 +10,17 @@ # @magic/types

[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[npm-image]: https://img.shields.io/npm/v/@magic/types.svg
[npm-url]: https://www.npmjs.com/package/@magic/types
[travis-image]: https://api.travis-ci.org/magic/types.svg?branch=master
[travis-url]: https://travis-ci.org/magic/types
[appveyor-image]: https://img.shields.io/appveyor/ci/magic/types/master.svg
[appveyor-url]: https://ci.appveyor.com/project/magic/types/branch/master
[coveralls-image]: https://coveralls.io/repos/github/magic/types/badge.svg
[coveralls-url]: https://coveralls.io/github/magic/types
[greenkeeper-image]: https://badges.greenkeeper.io/magic/types.svg
[greenkeeper-url]: https://badges.greenkeeper.io/magic/types.svg
[snyk-image]: https://snyk.io/test/github/magic/types/badge.svg
[snyk-url]: https://snyk.io/test/github/magic/types
##### install

@@ -149,11 +163,6 @@ ```javascript

[npm-image]: https://img.shields.io/npm/v/@magic/types.svg
[npm-url]: https://www.npmjs.com/package/@magic/types
[travis-image]: https://travis-ci.com/magic/types.svg?branch=master
[travis-url]: https://travis-ci.org/magic/types
[appveyor-image]: https://img.shields.io/appveyor/ci/jaeh/types.svg
[appveyor-url]: https://ci.appveyor.com/project/jaeh/types/branch/master
[coveralls-image]: https://coveralls.io/repos/github/magic/types/badge.svg
[coveralls-url]: https://coveralls.io/github/magic/types
[greenkeeper-image]: https://badges.greenkeeper.io/magic/types.svg
[greenkeeper-url]: https://greenkeeper.io
#### Changelog
##### 0.0.5
added Map, WeakMap, Set and WeakSet

@@ -289,2 +289,7 @@ const isArray = e => Array.isArray(e)

const isMap = a => a instanceof Map
const isSet = a => a instanceof Set
const isWeakMap = a => a instanceof WeakMap
const isWeakSet = a => a instanceof WeakSet
const is = {

@@ -508,2 +513,14 @@ count: getLength,

isLengthEqual,
isMap,
map: isMap,
isSet,
set: isSet,
isWeakMap,
weakMap: isWeakMap,
isWeakSet,
weakSet: isWeakSet,
}

@@ -510,0 +527,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