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

bify-ng-test-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bify-ng-test-utils - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

.travis.yml

16

index.js

@@ -6,3 +6,2 @@ 'use strict';

var transform = require('ng-test-utils');
var convert = require('convert-source-map');

@@ -17,12 +16,7 @@ module.exports = function (file, opts) {

if(opts._flags.debug){
var inputSourceMap = convert.fromSource(contents);
if(inputSourceMap) {
inputSourceMap = inputSourceMap.toObject();
}
var result = transform(contents, {
sourceFileName: file,
inputSourceMap: inputSourceMap
});
var map = convert.fromObject(result.map);
return result.code + '\n' + map.toComment() + '\n';
return transform(contents, {
sourceMap:true,
sourceFileName:file,
appendSourceMapComment:true
}).code;
}

@@ -29,0 +23,0 @@ else {

{
"name": "bify-ng-test-utils",
"version": "0.0.3",
"version": "0.0.4",
"description": "ng-test-utils for browserify",
"main": "index.js",
"scripts": {
"test": "cd example && npm i -S .. && karma start"
"test": "cd example && npm i -D .. && npm i && ./node_modules/karma/bin/karma start",
"clean": "rm -rf node_modules && rm -rf example/node_modules"
},

@@ -26,3 +27,3 @@ "repository": {

"convert-source-map": "^0.5.0",
"ng-test-utils": "0.0.3",
"ng-test-utils": "0.0.6",
"through2": "^0.6.3",

@@ -29,0 +30,0 @@ "transformify": "^0.1.2"

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