Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

asset-pipe-js-writer

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asset-pipe-js-writer - npm Package Compare versions

Comparing version
1.0.0-alpha.6
to
1.0.0-alpha.7
+7
-7
lib/writer.js

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

"use strict";
'use strict';

@@ -19,7 +19,7 @@ const Browserify = require('browserify');

objectMode: true,
transform: function (obj, enc, next) {
transform (obj, enc, next) {
dictionary[obj.id] = common.hasher(obj.source);
this.push(obj);
next();
}
},
});

@@ -31,3 +31,3 @@ browserify.pipeline.get('deps').push(hasher);

objectMode: true,
transform: function (obj, enc, next) {
transform (obj, enc, next) {
obj.id = dictionary[obj.id];

@@ -39,3 +39,3 @@ Object.keys(obj.deps).forEach((key) => {

next();
}
},
});

@@ -52,6 +52,6 @@ browserify.pipeline.get('label').splice(0, 1, labeler);

objectMode: true,
transform: function (obj, enc, next) {
transform (obj, enc, next) {
this.push(obj);
next();
}
},
});

@@ -58,0 +58,0 @@ browserify.pipeline.get('pack').splice(0, 1, packer);

{
"name": "asset-pipe-js-writer",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"author": {

@@ -24,5 +24,2 @@ "name": "Trygve Lie",

],
"engines": {
"node" : "7.x"
},
"bugs": {

@@ -35,11 +32,17 @@ "url": "https://github.com/asset-pipe/asset-pipe-js-writer/issues"

"readable-stream": "2.2.2",
"browserify": "13.1.1",
"browserify": "14.1.0",
"JSONStream": "1.3.0"
},
"devDependencies": {
"tap": "8.0.1"
"eslint": "^3.15.0",
"eslint-config-finn": "^1.0.1",
"tap": "10.1.0"
},
"scripts": {
"lint": "eslint .",
"test": "tap test/*.js"
}
},
"files": [
"lib"
]
}
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true
}
}

Sorry, the diff of this file is not supported yet

language: node_js
node_js:
- "7"
- "6"
script:
- npm test
"use strict";
const mod = require('./mod.js');
console.log('hello from main');
console.log(mod());
"use strict";
module.exports = () => {
return 'hello from mod';
};
"use strict";
const tap = require('tap');
const Writer = require('../');
tap.test('foo() - bar', function (t) {
// var writer = new Writer('./test/mock/main.js');
// writer.bundle().pipe(process.stdout);
t.equal(true, true);
t.end();
});