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

anvil.js

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anvil.js - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

build.json
{
"source": "src",
"output": "lib",
"output": "tmp",
"lint": {}
}

@@ -0,1 +1,2 @@

(function(context) {
var Test1 = function() {

@@ -10,2 +11,3 @@ this.sayHi = function() { console.log( "Hi." ); };

var test2 = new Test2();
test2.sayHi();
test2.sayHi();
})(this);

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

�+K,RI-.1�M+�K.����Ь.��,�+N���DM��+��I���O�P���SҬ���5"So �޼�r� ��|�^ M�2��J���T�U�T�wtp�
��qN�H+�K.����HԬ.K,RH���hV�dd�'Vzd"�&�������k(yd�)i���$��/�6/�\!�:�^C��T�h�u*L�VSd�&�@s�

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

var Test1=function(){this.sayHi=function(){console.log("Hi.")}},Test2=function(){this.sayHi=function(){console.log("Hi.")}},test1=new Test1;test1.sayHi();var test2=new Test2;test2.sayHi()
(function(a){var b=function(){this.sayHi=function(){console.log("Hi.")}},c=function(){this.sayHi=function(){console.log("Hi.")}},d=new b;d.sayHi();var e=new c;e.sayHi()})(this)

@@ -10,3 +10,3 @@ var coffeeScript, colors, fs, gzipper, jslint, jsp, mkdir, path, pro, _;

jslint = require("readyjslint").JSLINT;
gzipper = require("zlib-sync").gzipcompress;
gzipper = require("gzip");
coffeeScript = require("coffee-script");

@@ -155,5 +155,5 @@ var onComplete, onError, onEvent, onStep;

return readFile(filePath, function(x) {
var content;
content = transform(x);
return writeFile(outputPath, content, done);
return transform(x, function(content) {
return writeFile(outputPath, content, done);
});
});

@@ -305,3 +305,3 @@ };

});
uglify = createTransformStep("uglify", function(x) {
uglify = createTransformStep("uglify", function(x, done) {
var ast;

@@ -311,12 +311,14 @@ ast = jsp.parse(x);

ast = pro.ast_squeeze(ast);
return pro.gen_code(ast);
return done(pro.gen_code(ast));
}, function(x) {
return x.replace(".js", "." + ext.uglify + ".js");
});
gzip = createTransformStep("gzip", function(x) {
return gzipper(x);
gzip = createTransformStep("gzip", function(x, done) {
return gzipper(x, function(err, result) {
return done(result);
});
}, function(x) {
return x.replace(".js", "." + ext.gzip + ".js");
});
wrap = createTransformStep("wrap", function(x) {
wrap = createTransformStep("wrap", function(x, done) {
if (config.wrap.prefix) {

@@ -328,3 +330,3 @@ x = config.wrap.prefix + "\r\n" + x;

}
return x;
return done(x);
}, function(x) {

@@ -331,0 +333,0 @@ return x;

{
"name": "anvil.js",
"description": "Static javascript / coffeescript build utility",
"version": "0.2.2",
"version": "0.2.3",
"authors": ["Alex Robson <@A_Robson>"],

@@ -17,3 +17,3 @@ "keywords": ["build","compile","static"],

"colors": ">=0.5.0",
"zlib-sync": ">=0.0.1",
"gzip": ">=0.1.0",
"readyjslint": ">=0.0.4",

@@ -20,0 +20,0 @@ "mkdirp": ">=0.0.7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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