New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

transformation-matrix

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transformation-matrix - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

package.json
{
"name": "transformation-matrix",
"version": "2.0.4",
"version": "2.0.5",
"description": "2d transformation matrix functions written in ES6 syntax. Tree shaking ready!",

@@ -5,0 +5,0 @@ "main": "./build-commonjs/index.js",

@@ -521,2 +521,3 @@ <!-------------------------------------------------------------------->

- [antonyRoberts](https://github.com/antonyRoberts)
- [mcwebb](https://github.com/mcwebb)

@@ -185,2 +185,12 @@ declare module 'transformation-matrix' {

import { Point, Matrix } from 'transformation-matrix';
type MatrixDescriptor =
| { type: 'matrix', a: number, b: number, c: number, d: number, e: number, f: number }
| { type: 'translate', tx: number, ty: number }
| { type: 'scale', sx: number, sy: number }
| { type: 'rotate', angle: number, sx: number, sy: number }
| { type: 'skewX', angle: number }
| { type: 'skewY', angle: number }
| { type: 'shear', shx: number, shy: number}
/**

@@ -212,3 +222,3 @@ * Converts array of matrix descriptor to array of matrix

**/
export function fromDefinition(...definitionOrArrayOfDefinition: Matrix[]): Matrix[];
export function fromDefinition(...definitionOrArrayOfDefinition: MatrixDescriptor | MatrixDescriptor[]): Matrix[];
}

@@ -215,0 +225,0 @@

Sorry, the diff of this file is not supported yet

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