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

closure

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

closure - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

closure.js

@@ -59,3 +59,3 @@ // Copyright 2011 Lukasz Mielicki <mielicki@gmail.com>.

*/
this.Closure = function foo(opt_goog_global) {
exports.Closure = function(opt_goog_global) {

@@ -140,3 +140,3 @@ /**

for (var attr in defaults) {
if (typeof target[attr] === 'undefined') {
if (target[attr] === undefined) {
target[attr] = defaults[attr];

@@ -149,4 +149,3 @@ }

var basepath = goog_.CLOSURE_BASE_PATH;
assert(basepath.charAt(basepath.length - 1) === '/',
"CLOSURE_BASE_PATH must end with '/'");
assert(basepath.slice(-1) === '/', "CLOSURE_BASE_PATH must end with '/'");

@@ -153,0 +152,0 @@ load_script(basepath + 'base.js');

{
"name": "closure",
"description": "Google closure-library wrapper for node.js",
"version": "1.0.1",
"version": "1.0.2",
"url": "http://github.com/lm1/node-closure",

@@ -6,0 +6,0 @@ "author": "Lukasz Mielicki <mielicki@gmail.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