Socket
Socket
Sign inDemoInstall

empower

Package Overview
Dependencies
37
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

6

CHANGELOG.md

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

### [1.0.1](https://github.com/power-assert-js/empower/releases/tag/v1.0.1) (2015-09-08)
* apply licensify on build ([282259b](https://github.com/power-assert-js/empower/commit/282259b632333c62e02113e374baa76dd7cd2890))
## [1.0.0](https://github.com/power-assert-js/empower/releases/tag/v1.0.0) (2015-05-25)

@@ -2,0 +8,0 @@

10

gulpfile.js

@@ -10,2 +10,3 @@ var gulp = require('gulp');

var browserify = require('browserify');
var licensify = require('licensify');
var derequire = require('gulp-derequire');

@@ -100,8 +101,8 @@ var dereserve = require('gulp-dereserve');

gulp.task('clean_bundle', function (done) {
del([config.bundle.destDir], done);
gulp.task('clean_bundle', function () {
del.sync([config.bundle.destDir]);
});
gulp.task('clean_coverage', function (done) {
del([config.coverage.filename], done);
gulp.task('clean_coverage', function () {
del.sync([config.coverage.filename]);
});

@@ -111,2 +112,3 @@

var b = browserify({entries: config.bundle.srcFile, standalone: config.bundle.standalone});
b.plugin(licensify);
var bundleStream = b.bundle();

@@ -113,0 +115,0 @@ return bundleStream

28

package.json
{
"name": "empower",
"description": "Power Assert feature enhancer for assert function/object",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -23,19 +23,20 @@ "name": "Takuto Wada",

"devDependencies": {
"acorn": "^2.0.1",
"acorn": "^2.4.0",
"blanket": "^1.1.7",
"browserify": "^10.2.1",
"browserify": "^11.0.1",
"buster-assertions": "^0.10.4",
"del": "^1.2.0",
"escodegen": "^1.6.1",
"espower": "^1.0.0",
"gulp": "^3.8.11",
"del": "^2.0.1",
"escodegen": "^1.7.0",
"espower": "^1.0.6",
"gulp": "^3.9.0",
"gulp-derequire": "^2.1.0",
"gulp-dereserve": "^0.2.0",
"gulp-mocha": "^2.1.0",
"gulp-mocha-phantomjs": "^0.6.1",
"gulp-util": "^3.0.4",
"gulp-dereserve": "^0.2.1",
"gulp-mocha": "^2.1.3",
"gulp-mocha-phantomjs": "^0.10.1",
"gulp-util": "^3.0.6",
"gulp-webserver": "^0.9.1",
"mocha": "^2.2.5",
"licensify": "^2.0.0",
"mocha": "^2.3.2",
"mocha-lcov-reporter": "^0.0.2",
"through2": "^1.1.1",
"through2": "^2.0.0",
"vinyl-source-stream": "^1.1.0"

@@ -73,2 +74,3 @@ },

"bower": "bower install --config.interactive=false",
"build": "npm prune && npm dedupe && gulp bundle",
"test": "gulp test",

@@ -75,0 +77,0 @@ "unit": "gulp unit",

@@ -25,6 +25,7 @@ (function (root, factory) {

var weave = function (line) {
var filepath = '/path/to/some_test.js';
var filepath = '/absolute/path/to/project/test/some_test.js';
var espowerOptions = {
source: line,
path: filepath,
sourceRoot: '/absolute/path/to/project/',
destructive: true,

@@ -70,3 +71,3 @@ patterns: [

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert(falsy)',

@@ -88,3 +89,3 @@ '[{"value":0,"espath":"arguments/0"}]'

baseAssert.equal(e.message, [
'[assert.isNull] /path/to/some_test.js',
'[assert.isNull] test/some_test.js',
'assert.isNull(falsy)',

@@ -107,3 +108,3 @@ '[{"value":0,"espath":"arguments/0"}]: Expected 0 to be null'

baseAssert.equal(e.message, [
'[assert.same] /path/to/some_test.js',
'[assert.same] test/some_test.js',
'assert.same(foo, bar)',

@@ -123,3 +124,3 @@ '[{"value":"foo","espath":"arguments/0"},{"value":"bar","espath":"arguments/1"}]: foo expected to be the same object as bar'

baseAssert.equal(e.message, [
'[assert.same] /path/to/some_test.js',
'[assert.same] test/some_test.js',
'assert.same("foo", bar)',

@@ -139,3 +140,3 @@ '[{"value":"bar","espath":"arguments/1"}]: foo expected to be the same object as bar'

baseAssert.equal(e.message, [
'[assert.same] /path/to/some_test.js',
'[assert.same] test/some_test.js',
'assert.same(foo, "bar")',

@@ -158,3 +159,3 @@ '[{"value":"foo","espath":"arguments/0"}]: foo expected to be the same object as bar'

baseAssert.equal(e.message, [
'[assert.near] /path/to/some_test.js',
'[assert.near] test/some_test.js',
'assert.near(actualVal, expectedVal, delta)',

@@ -174,3 +175,3 @@ '[{"value":10.6,"espath":"arguments/0"},{"value":10,"espath":"arguments/1"},{"value":0.5,"espath":"arguments/2"}]: Expected 10.6 to be equal to 10 +/- 0.5'

baseAssert.equal(e.message, [
'[assert.near] not in delta /path/to/some_test.js',
'[assert.near] not in delta test/some_test.js',
'assert.near(actualVal, expectedVal, delta, messageStr)',

@@ -177,0 +178,0 @@ '[{"value":10.6,"espath":"arguments/0"},{"value":10,"espath":"arguments/1"},{"value":0.5,"espath":"arguments/2"}]: Expected 10.6 to be equal to 10 +/- 0.5'

@@ -24,6 +24,7 @@ (function (root, factory) {

var weave = function (line, patterns) {
var filepath = '/path/to/some_test.js';
var filepath = '/absolute/path/to/project/test/some_test.js';
var espowerOptions = {
source: line,
path: filepath,
sourceRoot: '/absolute/path/to/project/',
destructive: true

@@ -59,3 +60,3 @@ };

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert(falsy)',

@@ -81,3 +82,3 @@ '[{"value":0,"espath":"arguments/0"}]'

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert.equal(foo, null)',

@@ -91,3 +92,3 @@ '[{"value":"foo","espath":"arguments/0"}]'

"content":"assert.equal(foo, null)",
"filepath":"/path/to/some_test.js",
"filepath":"test/some_test.js",
"line": 1

@@ -116,3 +117,3 @@ },

baseAssert.equal(e.message, [
'assertion message /path/to/some_test.js',
'assertion message test/some_test.js',
'assert(falsy, "assertion message")',

@@ -126,3 +127,3 @@ '[{"value":0,"espath":"arguments/0"}]'

"content": "assert(falsy, \"assertion message\")",
"filepath": "/path/to/some_test.js",
"filepath": "test/some_test.js",
"line": 1

@@ -153,3 +154,3 @@ },

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert(falsy)',

@@ -163,3 +164,3 @@ '[{"value":0,"espath":"arguments/0"}]'

"content": "assert(falsy)",
"filepath": "/path/to/some_test.js",
"filepath": "test/some_test.js",
"line": 1

@@ -191,3 +192,3 @@ },

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert.ok(falsy)',

@@ -201,3 +202,3 @@ '[{"value":0,"espath":"arguments/0"}]'

"content":"assert.ok(falsy)",
"filepath":"/path/to/some_test.js",
"filepath":"test/some_test.js",
"line": 1

@@ -230,3 +231,3 @@ },

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert.equal(foo, bar)',

@@ -240,3 +241,3 @@ '[{"value":"foo","espath":"arguments/0"},{"value":"bar","espath":"arguments/1"}]'

"content":"assert.equal(foo, bar)",
"filepath":"/path/to/some_test.js",
"filepath":"test/some_test.js",
"line": 1

@@ -268,3 +269,3 @@ },

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert.equal("foo", bar)',

@@ -278,3 +279,3 @@ '[{"value":"bar","espath":"arguments/1"}]'

"content":"assert.equal(\"foo\", bar)",
"filepath":"/path/to/some_test.js",
"filepath":"test/some_test.js",
"line": 1

@@ -302,3 +303,3 @@ },

baseAssert.equal(e.message, [
'/path/to/some_test.js',
'test/some_test.js',
'assert.equal(foo, "bar")',

@@ -312,3 +313,3 @@ '[{"value":"foo","espath":"arguments/0"}]'

"content":"assert.equal(foo, \"bar\")",
"filepath":"/path/to/some_test.js",
"filepath":"test/some_test.js",
"line": 1

@@ -315,0 +316,0 @@ },

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc