Comparing version 1.2.1 to 1.2.2
@@ -10,3 +10,3 @@ /** | ||
* homepage: https://github.com/power-assert-js/empower | ||
* version: 1.2.1 | ||
* version: 1.2.2 | ||
* | ||
@@ -24,3 +24,3 @@ * call-signature: | ||
* homepage: https://github.com/zloirock/core-js#readme | ||
* version: 2.4.0 | ||
* version: 2.4.1 | ||
* | ||
@@ -33,3 +33,3 @@ * empower-core: | ||
* homepage: http://github.com/twada/empower-core | ||
* version: 0.6.1 | ||
* version: 0.6.2 | ||
* | ||
@@ -44,3 +44,3 @@ * This header is generated by licensify (https://github.com/twada/licensify) | ||
* | ||
* Copyright (c) 2013-2016 Takuto Wada | ||
* Copyright (c) 2013-2017 Takuto Wada | ||
* Licensed under the MIT license. | ||
@@ -75,3 +75,3 @@ * https://github.com/power-assert-js/empower/blob/master/MIT-LICENSE.txt | ||
var e = errorEvent.error; | ||
if (e.name !== 'AssertionError') { | ||
if (!/^AssertionError/.test(e.name)) { | ||
throw e; | ||
@@ -607,2 +607,3 @@ } | ||
, i = enumBugKeys.length | ||
, lt = '<' | ||
, gt = '>' | ||
@@ -617,3 +618,3 @@ , iframeDocument; | ||
iframeDocument.open(); | ||
iframeDocument.write('<script>document.F=Object</script' + gt); | ||
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | ||
iframeDocument.close(); | ||
@@ -636,2 +637,3 @@ createDict = iframeDocument.F; | ||
}; | ||
},{"./_an-object":15,"./_dom-create":25,"./_enum-bug-keys":26,"./_html":32,"./_object-dps":40,"./_shared-key":47}],39:[function(_dereq_,module,exports){ | ||
@@ -879,3 +881,3 @@ var anObject = _dereq_('./_an-object') | ||
* | ||
* Copyright (c) 2013-2016 Takuto Wada | ||
* Copyright (c) 2013-2017 Takuto Wada | ||
* Licensed under the MIT license. | ||
@@ -1217,3 +1219,3 @@ * https://github.com/twada/empower-core/blob/master/MIT-LICENSE.txt | ||
var e = errorEvent.error; | ||
if (errorEvent.powerAssertContext && e.name === 'AssertionError') { | ||
if (errorEvent.powerAssertContext && /^AssertionError/.test(e.name)) { | ||
e.powerAssertContext = errorEvent.powerAssertContext; | ||
@@ -1220,0 +1222,0 @@ } |
@@ -0,1 +1,9 @@ | ||
### [1.2.2](https://github.com/power-assert-js/empower/releases/tag/v1.2.2) (2017-06-03) | ||
#### Bug Fixes | ||
* [dealing with `err.name` on Node v8](https://github.com/power-assert-js/empower/pull/25) | ||
### [1.2.1](https://github.com/power-assert-js/empower/releases/tag/v1.2.1) (2016-06-05) | ||
@@ -2,0 +10,0 @@ |
@@ -6,3 +6,3 @@ /** | ||
* | ||
* Copyright (c) 2013-2016 Takuto Wada | ||
* Copyright (c) 2013-2017 Takuto Wada | ||
* Licensed under the MIT license. | ||
@@ -37,3 +37,3 @@ * https://github.com/power-assert-js/empower/blob/master/MIT-LICENSE.txt | ||
var e = errorEvent.error; | ||
if (e.name !== 'AssertionError') { | ||
if (!/^AssertionError/.test(e.name)) { | ||
throw e; | ||
@@ -40,0 +40,0 @@ } |
@@ -1,2 +0,2 @@ | ||
Copyright (c) 2013-2016 Takuto Wada, https://github.com/power-assert-js/empower | ||
Copyright (c) 2013-2017 Takuto Wada, https://github.com/power-assert-js/empower | ||
@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person obtaining |
{ | ||
"name": "empower", | ||
"description": "Power Assert feature enhancer for assert function/object", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": { | ||
@@ -20,3 +20,3 @@ "name": "Takuto Wada", | ||
"dependencies": { | ||
"empower-core": "^0.6.1", | ||
"empower-core": "^0.6.2", | ||
"core-js": "^2.0.0" | ||
@@ -28,3 +28,3 @@ }, | ||
"babel-core": "^5.8.33", | ||
"blanket": "^1.1.7", | ||
"blanket": "1.1.9", | ||
"browserify": "^13.0.0", | ||
@@ -31,0 +31,0 @@ "buster-assertions": "^0.10.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
66916
9
1251
0
252
Updatedempower-core@^0.6.2