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

espower-source

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

espower-source - npm Package Compare versions

Comparing version 0.7.1 to 0.7.3

bower.json

4

index.js

@@ -16,3 +16,3 @@ /**

function espowerSourceToSource(jsCode, filepath, options) {
function espowerSource(jsCode, filepath, options) {
'use strict';

@@ -38,2 +38,2 @@

module.exports = espowerSourceToSource;
module.exports = espowerSource;
{
"name": "espower-source",
"version": "0.7.1",
"version": "0.7.3",
"description": "Power Assert instrumentor from source to source, with source-map",

@@ -31,4 +31,5 @@ "keywords": [

"scripts": {
"jshint": "./node_modules/jshint/bin/jshint index.js",
"test": "./node_modules/mocha/bin/mocha"
"bundle": "./node_modules/.bin/browserify index.js --standalone espowerSource > ./build/espower-source.js",
"jshint": "./node_modules/.bin/jshint index.js",
"test": "./node_modules/.bin/mocha"
},

@@ -43,4 +44,6 @@ "dependencies": {

"devDependencies": {
"jshint": "~2.5.0",
"mocha": "~1.19.0",
"browserify": "~4.1.6",
"jshint": "~2.5.1",
"mocha": "~1.20.0",
"semver": "~2.3.0",
"source-map": "~0.1.33"

@@ -47,0 +50,0 @@ },

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

var sourceToSource = require('..'),
var espowerSource = require('..'),
sourceMap = require('source-map'),

@@ -11,3 +11,3 @@ convert = require('convert-source-map'),

this.input = fs.readFileSync(this.path, 'utf8'),
this.output = sourceToSource(this.input, this.path);
this.output = espowerSource(this.input, this.path);
this.map = convert.fromSource(this.output).toObject();

@@ -69,3 +69,3 @@ this.expected = fs.readFileSync('test/expected/example.js', 'utf8');

this.input = fs.readFileSync(this.path, 'utf8'),
this.output = sourceToSource(this.input, this.path, {
this.output = espowerSource(this.input, this.path, {
powerAssertVariableName: 'refute',

@@ -72,0 +72,0 @@ targetMethods: {

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