rightimage
Advanced tools
Comparing version 0.4.0 to 0.5.0
const config = { | ||
extends: ["pretty-standard"] | ||
extends: ["standard", "prettier", "prettier/standard"], | ||
plugins: ["import", "mocha"], | ||
env: { | ||
mocha: true | ||
}, | ||
rules: { | ||
"import/no-unresolved": ["error", { commonjs: true }], | ||
"prefer-template": "error", | ||
"prefer-const": "error", | ||
"mocha/no-exclusive-tests": "error", | ||
"mocha/no-nested-tests": "error", | ||
"mocha/no-identical-title": "error" | ||
} | ||
}; | ||
@@ -4,0 +16,0 @@ |
@@ -32,3 +32,3 @@ const BufferedStream = require("@alexjeffburke/bufferedstream"); | ||
const buffer = Buffer.isBuffer(chunk) ? chunk : new Buffer(chunk); | ||
const buffer = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk); | ||
seenBytes += buffer.length; | ||
@@ -35,0 +35,0 @@ chunks.push(buffer); |
{ | ||
"name": "rightimage", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Stream images with dynamic re-orientation", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"httperrors": "2.0.1", | ||
"impro": "~0.4.0", | ||
"impro": "~0.5.1", | ||
"is-animated": "1.1.1", | ||
@@ -31,8 +31,12 @@ "jpegtran": "^1.0.5", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-pretty-standard": "^1.3.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"eslint": "^6.6.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-mocha": "^6.2.1", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"express": "^4.16.3", | ||
"mocha": "^5.2.0", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.1.1", | ||
@@ -39,0 +43,0 @@ "prettier": "1.15.3", |
@@ -107,3 +107,3 @@ const unexpected = require("unexpected"); | ||
it("should error when an operation arugment could not be mapped", () => { | ||
it("should error when an imageOptions property is not valid", () => { | ||
const imageFileStream = fs.createReadStream( | ||
@@ -131,3 +131,3 @@ path.join(TEST_DATA_PATH, "tiny.png") | ||
it("should error when an operation arugment could not be mapped", () => { | ||
it("should error when an operation argument could not be mapped", () => { | ||
const imageFileStream = fs.createReadStream( | ||
@@ -134,0 +134,0 @@ path.join(TEST_DATA_PATH, "tiny.png") |
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
2695328
1069
18
+ Addedicc@1.0.0(transitive)
+ Addedimpro@0.5.1(transitive)
- Removedicc@0.0.2(transitive)
- Removedimpro@0.4.0(transitive)
Updatedimpro@~0.5.1