value-equal
Advanced tools
Comparing version 0.1.1 to 0.2.0
{ | ||
"name": "value-equal", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Are these two JavaScript values equal?", | ||
@@ -5,0 +5,0 @@ "repository": "mjackson/value-equal", |
@@ -23,6 +23,6 @@ # value-equal [![npm package][npm-badge]][npm] | ||
```js | ||
// using an ES6 transpiler, like babel | ||
// using ES6 modules | ||
import valueEqual from 'value-equal' | ||
// not using an ES6 transpiler | ||
// using CommonJS modules | ||
var valueEqual = require('value-equal') | ||
@@ -29,0 +29,0 @@ ``` |
@@ -7,5 +7,5 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
else if(typeof exports === 'object') | ||
exports["serialEqual"] = factory(); | ||
exports["valueEqual"] = factory(); | ||
else | ||
root["serialEqual"] = factory(); | ||
root["valueEqual"] = factory(); | ||
})(this, function() { | ||
@@ -12,0 +12,0 @@ return /******/ (function(modules) { // webpackBootstrap |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.serialEqual=t():e.serialEqual=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return!(!Array.isArray(n)||t.length!==n.length)&&t.every(function(t,r){return e(t,n[r])});var o="undefined"==typeof t?"undefined":r(t),u="undefined"==typeof n?"undefined":r(n);if(o!==u)return!1;if("object"===o){var f=t.valueOf(),i=n.valueOf();if(f!==t||i!==n)return e(f,i);var l=Object.keys(t),y=Object.keys(n);return l.length===y.length&&l.every(function(r){return e(t[r],n[r])})}return!1};t.default=n}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.valueEqual=t():e.valueEqual=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return!(!Array.isArray(n)||t.length!==n.length)&&t.every(function(t,r){return e(t,n[r])});var o="undefined"==typeof t?"undefined":r(t),u="undefined"==typeof n?"undefined":r(n);if(o!==u)return!1;if("object"===o){var f=t.valueOf(),i=n.valueOf();if(f!==t||i!==n)return e(f,i);var l=Object.keys(t),y=Object.keys(n);return l.length===y.length&&l.every(function(r){return e(t[r],n[r])})}return!1};t.default=n}])}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8084