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

gama

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gama - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/gama.min.js

7

bower.json
{
"name": "gama",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://github.com/honzabrecka/gama",

@@ -25,6 +25,3 @@ "authors": [

"coverage"
],
"devDependencies": {
"bootstrap": "3.3.*"
}
]
}

@@ -10,4 +10,2 @@ var gulp = require('gulp');

var header = require('gulp-header');
var jsdoc = require('gulp-jsdoc');
var less = require('gulp-less');

@@ -62,16 +60,2 @@ var pkg = require('./package.json');

gulp.task('jsdoc', function() {
gulp
.src(['./src/*.js', './README.md'])
.pipe(jsdoc.parser())
.pipe(jsdoc.generator('./docs', {path: 'lib/doc/jsdoc-template/'}));
});
gulp.task('jsdoc-style', function() {
gulp
.src('./lib/doc/less/style.less')
.pipe(less())
.pipe(gulp.dest('./docs/'));
});
gulp.task('default', ['lint', 'test'], function()

@@ -78,0 +62,0 @@ {

{
"name": "gama",
"version": "2.0.0",
"version": "2.0.1",
"description": "A practical 2D math/geometry library for functional JavaScript, based on ramda.",

@@ -21,21 +21,16 @@ "keywords": [

"dependencies": {
"ramda": "0.13.*"
"ramda": "0.15.*"
},
"devDependencies": {
"gulp": "3.8.*",
"gulp-istanbul": "0.*",
"gulp-jshint": "1.*",
"gulp-mocha": "2.*",
"gulp-uglify": "1.*",
"gulp": "3.9.*",
"gulp-istanbul": "0.10.*",
"gulp-jshint": "1.11.*",
"gulp-mocha": "2.1.*",
"gulp-uglify": "1.2.*",
"chai": "3.0.*",
"browserify": "7.*",
"vinyl-source-stream": "1.*",
"vinyl-buffer": "1.*",
"gulp-header": "1.*",
"gulp-jsdoc": "0.1.*",
"marked": "0.3.*",
"handlebars": "2.0.*",
"highlight.js": "8.4.*",
"gulp-less": "3.0.*"
"browserify": "10.2.*",
"vinyl-source-stream": "1.1.*",
"vinyl-buffer": "1.0.*",
"gulp-header": "1.2.*"
}
}

@@ -28,6 +28,2 @@ # Γ [![Build Status](https://travis-ci.org/honzabrecka/gama.svg?branch=master)](https://travis-ci.org/honzabrecka/gama)

## Documentation
Please review the [API documentation](http://honzabrecka.com/gama).
## Building

@@ -34,0 +30,0 @@

@@ -530,2 +530,32 @@ // -----------------------------------------------------------------------

/**
* Inverts matrix.
*
* @func
* @category matrix
* @sig Matrix -> Matrix
* @param {Matrix} matrix
* @return {Matrix}
*/
gama.invertMatrix = function(matrix) {
var det = matrix[0] * matrix[4] * matrix[8] +
matrix[3] * matrix[7] * matrix[2] +
matrix[6] * matrix[1] * matrix[5] -
matrix[0] * matrix[7] * matrix[5] -
matrix[3] * matrix[1] * matrix[8] -
matrix[6] * matrix[4] * matrix[2];
return [
(matrix[4] * matrix[8] - matrix[7] * matrix[5]) / det,
(matrix[7] * matrix[2] - matrix[1] * matrix[8]) / det,
(matrix[1] * matrix[5] - matrix[4] * matrix[2]) / det,
(matrix[6] * matrix[5] - matrix[3] * matrix[8]) / det,
(matrix[0] * matrix[8] - matrix[6] * matrix[2]) / det,
(matrix[3] * matrix[2] - matrix[0] * matrix[5]) / det,
(matrix[3] * matrix[7] - matrix[6] * matrix[4]) / det,
(matrix[6] * matrix[1] - matrix[0] * matrix[7]) / det,
(matrix[0] * matrix[4] - matrix[3] * matrix[1]) / det
];
};
/**
* Applies a rotation transformation to the matrix.

@@ -532,0 +562,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