Comparing version 3.1.8 to 3.1.9-1
{ | ||
"name": "crypto-js", | ||
"version": "3.1.8", | ||
"version": "3.1.9", | ||
"description": "JavaScript library of crypto standards.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,9 +0,9 @@ | ||
;(function (root, factory) { | ||
;(function (root, factory, undef) { | ||
if (typeof exports === "object") { | ||
// CommonJS | ||
module.exports = exports = factory(require("./core")); | ||
module.exports = exports = factory(require("./core"), require("./evpkdf")); | ||
} | ||
else if (typeof define === "function" && define.amd) { | ||
// AMD | ||
define(["./core"], factory); | ||
define(["./core", "./evpkdf"], factory); | ||
} | ||
@@ -469,7 +469,12 @@ else { | ||
var modeCreator = mode.createDecryptor; | ||
// Keep at least one block in the buffer for unpadding | ||
this._minBufferSize = 1; | ||
} | ||
this._mode = modeCreator.call(mode, this, iv && iv.words); | ||
if (this._mode && this._mode.__creator == modeCreator) { | ||
this._mode.init(this, iv && iv.words); | ||
} else { | ||
this._mode = modeCreator.call(mode, this, iv && iv.words); | ||
this._mode.__creator = modeCreator; | ||
} | ||
}, | ||
@@ -476,0 +481,0 @@ |
{ | ||
"name": "crypto-js", | ||
"version": "3.1.8", | ||
"version": "3.1.9-1", | ||
"description": "JavaScript library of crypto standards.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
428748
11202
1