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

closure-util

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

closure-util - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

index.js

@@ -0,1 +1,3 @@

var log = require('npmlog');
var Manager = require('./lib/manager').Manager;

@@ -5,4 +7,6 @@ var Server = require('./lib/server').Server;

exports.Manager = Manager;
exports.Server = Server;
exports.compile = compile;
exports.log = log;

@@ -7,2 +7,3 @@ var EventEmitter = require('events').EventEmitter;

var Gaze = require('gaze').Gaze;
var log = require('npmlog');

@@ -88,2 +89,3 @@ var globs = require('./util').globs;

if (err) {
log.verbose('manager', err);
this.emit('error', err);

@@ -256,7 +258,12 @@ } else {

Manager.prototype._handleChanged = function(filepath) {
var old = this._scripts[filepath];
var lib = old.lib;
var self = this;
scripts.read(filepath, function(err, script) {
script.lib = lib;
if (err) {
log.verbose('manager', err);
return self.emit('error', err);
}
log.verbose('manager', 'updated ' + filepath);
delete self._scripts[filepath];

@@ -276,3 +283,4 @@ self._addScript(script);

this._dependencies = {};
log.verbose('manager', 'deleted ' + filepath);
this.emit('update');
};

2

package.json
{
"name": "closure-util",
"version": "0.6.0",
"version": "0.6.1",
"description": "Utilities for Closure Library based projects.",

@@ -5,0 +5,0 @@ "main": "index.js",

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