New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typedef

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedef - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

test/unit/global.js

9

lib/typedef.js

@@ -167,2 +167,5 @@ // ----------------------------------------------------------------------------

// track everything
var globalNamespace = {};
var defineThing = function(name, thing, parents, hash)

@@ -190,2 +193,5 @@ {

// ensure we add it to ns
globalNamespace[name] = thing;
return thing;

@@ -279,3 +285,3 @@ };

module.exports = {
module.exports = typedef = {

@@ -287,2 +293,3 @@ class : function(name) { return new Class(name); },

signature : core.getSignature,
global : globalNamespace,

@@ -289,0 +296,0 @@ Exception : require('./exception'),

2

package.json
{
"name": "typedef",
"version": "0.11.0",
"version": "0.12.0",
"description": "Familiar classes, mixins, and interfaces in ES5 Javascript. Member decorations for powerful objects that keep your code DRY",

@@ -5,0 +5,0 @@ "main": "lib/typedef.js",

@@ -8,1 +8,2 @@ // Run all tests

require('./unit/ondefine');
require('./unit/global');
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