Socket
Socket
Sign inDemoInstall

jest-canvas-mock

Package Overview
Dependencies
3
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.3.1

2

CHANGELOG.md

@@ -11,4 +11,2 @@ # CHANGELOG

- New Contributor [@evanoc0](https://github.com/evanoc0)
- New Contributor [@FeliciousX](https://github.com/FeliciousX)
- Add 2 methods of DOMMatrix [#70](https://github.com/hustcc/jest-canvas-mock/pull/70)

@@ -15,0 +13,0 @@ ## Version 2.2.0

4

lib/classes/CanvasRenderingContext2D.js

@@ -1090,2 +1090,4 @@ "use strict";

this._clipStack.pop();
this._directionStack.pop();

@@ -1260,3 +1262,3 @@

const event = (0, _createCanvasEvent.default)('setLineDash', getTransformSlice(this), {
value: result.slice()
segments: result.slice()
});

@@ -1263,0 +1265,0 @@

@@ -22,3 +22,3 @@ "use strict";

const ver = "2.3.0";
const ver = "2.3.1";
exports.ver = ver;
{
"name": "jest-canvas-mock",
"version": "2.3.0",
"version": "2.3.1",
"description": "Mock a canvas in your jest tests.",

@@ -19,2 +19,3 @@ "main": "lib/index.js",

"devDependencies": {
"@antv/g2plot": "^2.3.11",
"@babel/cli": "^7.8.4",

@@ -21,0 +22,0 @@ "@babel/core": "^7.9.0",

@@ -181,3 +181,3 @@ # jest-canvas-mock

- [@evanoc0](https://github.com/evanoc0)
- [@FeliciousX](https://github.com/FeliciousX)
- [@lekha](https://github.com/lekha)

@@ -184,0 +184,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc