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

math-sign-x

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

math-sign-x - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

index.js

@@ -31,3 +31,3 @@ /**

*
* @version 1.0.0
* @version 1.1.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -34,0 +34,0 @@ * @copyright Xotic750

@@ -32,3 +32,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){

*
* @version 1.0.0
* @version 1.1.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -35,0 +35,0 @@ * @copyright Xotic750

{
"name": "math-sign-x",
"version": "1.0.0",
"version": "1.1.0",
"description": "ES6-compliant shim for Math.sign.",

@@ -45,10 +45,10 @@ "homepage": "https://github.com/Xotic750/math-sign-x",

"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.0.4",
"make-jasmine-spec-runner-html": "^1.1.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"replace-x": "^1.0.0",
"replace-x": "^1.1.1",
"uglify-js": "^2.8.16"
},
"scripts": {
"build": "npm run build:setver && npm run security && npm run eslint && npm run broswerify && npm run uglify && npm run docs && npm run build:jasmine && npm test",
"build": "npm run build:setver && npm run security && npm run eslint && npm run browserify && npm run uglify && npm run docs && npm run build:jasmine && npm test",
"build:jasmine": "make-jasmine-spec-runner-html",

@@ -62,5 +62,5 @@ "build:setver": "PKG_VER=$(node -p -e \"require('./package.json').version\") && replace-x \" @version .*\" \" @version ${PKG_VER}\" index.js",

"test:watch": "nodemon --watch tests/spec/test.js --exec 'npm test'",
"broswerify": "browserify -p browserify-derequire -e index.js -o lib/math-sign-x.js -u 'crypto' -s returnExports",
"browserify": "browserify -p browserify-derequire -e index.js -o lib/math-sign-x.js -u 'crypto' -s returnExports",
"uglify": "uglifyjs lib/math-sign-x.js -o lib/math-sign-x.min.js --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/math-sign-x.map"
}
}

@@ -31,3 +31,3 @@ <a name="module_math-sign-x"></a>

**See**: [20.2.2.29 Math.sign(x)](http://www.ecma-international.org/ecma-262/6.0/#sec-math.sign)
**Version**: 1.0.0
**Version**: 1.1.0
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -34,0 +34,0 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

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