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

@jimp/plugin-flip

Package Overview
Dependencies
Maintainers
2
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/plugin-flip - npm Package Compare versions

Comparing version 0.21.3 to 0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0

es/flipping.test.js

8

package.json
{
"name": "@jimp/plugin-flip",
"version": "0.21.3",
"version": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0",
"description": "flip an image.",

@@ -10,3 +10,3 @@ "main": "dist/index.js",

"scripts": {
"build": "npm run build:node:production && npm run build:module",
"build": "npm run build:node:production && npm run build:module --recursive test",
"build:watch": "npm run build:node:debug -- -- --watch --verbose",

@@ -22,3 +22,3 @@ "build:debug": "npm run build:node:debug",

"dependencies": {
"@jimp/utils": "^0.21.3"
"@jimp/utils": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0"
},

@@ -32,3 +32,3 @@ "peerDependencies": {

},
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3"
"gitHead": "a26f5b300ee88c2fadb9909dd390cb4380b32a42"
}

@@ -6,2 +6,3 @@ import { Jimp, mkJGD } from "@jimp/test-utils";

import flip from "../src";
import { expectToBeJGD } from "@jimp/test-utils/src";

@@ -26,15 +27,14 @@ const jimp = configure({ plugins: [flip] }, Jimp);

result
.getJGDSync()
.should.be.sameJGD(
mkJGD(
"BBBBAAAA",
"BAAABAAA",
"BABABABA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"AACCCCAA"
)
);
expectToBeJGD(
result.getJGDSync(),
mkJGD(
"BBBBAAAA",
"BAAABAAA",
"BABABABA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"AACCCCAA"
)
);
});

@@ -57,15 +57,14 @@

result
.getJGDSync()
.should.be.sameJGD(
mkJGD(
"AACCCCAA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"ABABABAB",
"AAABAAAB",
"AAAABBBB"
)
);
expectToBeJGD(
result.getJGDSync(),
mkJGD(
"AACCCCAA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"ABABABAB",
"AAABAAAB",
"AAAABBBB"
)
);
});

@@ -88,16 +87,15 @@

result
.getJGDSync()
.should.be.sameJGD(
mkJGD(
"AACCCCAA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"BABABABA",
"BAAABAAA",
"BBBBAAAA"
)
);
expectToBeJGD(
result.getJGDSync(),
mkJGD(
"AACCCCAA",
"CCCCCCCC",
"CCCCCCCC",
"CCCCCCCC",
"BABABABA",
"BAAABAAA",
"BBBBAAAA"
)
);
});
});
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