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

ee-types

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-types - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

15

lib/types.js

@@ -46,3 +46,4 @@

var types = new Types();
var types = new Types()
, proto = Object.getPrototypeOf(types);

@@ -64,5 +65,15 @@ var type = function( item ){

type.__proto__ = types;
Object.keys(proto).forEach(function(key){
if (!type[key]) type[key] = types[key].bind(types);
else throw new Error('Failed to map property «'+key+'» of types to type :(');
});
Object.keys(types).forEach(function(key){
if (!type[key]) type[key] = types[key];
else throw new Error('Failed to map property «'+key+'» of types to type :(');
});
module.exports = type;

2

package.json
{
"name": "ee-types"
, "description": "Reliabale type detection"
, "version": "0.1.2"
, "version": "0.1.3"
, "homepage": "https://github.com/eventEmitter/ee-types"

@@ -6,0 +6,0 @@ , "author": "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

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