Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rightimage

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rightimage - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

14

.eslintrc.js
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 @@

2

lib/createOrientationDecodingStream.js

@@ -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")

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