object-extended
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,3 +0,3 @@ | ||
/*! object-extended - v0.0.2 - 2013-01-16 | ||
/*! object-extended - v0.0.3 - 2013-01-22 | ||
* Copyright (c) 2013 Doug Martin; Licensed MIT */ | ||
(function(){"use strict";function e(e,t){function i(e,t){var n,r;for(n in t)if(t.hasOwnProperty(n)){r=t[n];if(!(n in e)||e[n]!==r)e[n]=r}return e}function s(e,t){var i,o,u;for(i in t)t.hasOwnProperty(i)&&(o=t[i],u=e[i],n(u,o)||(r(u)&&r(o)?e[i]=s(u,o):r(o)?e[i]=s({},o):e[i]=o));return e}function o(e){e||(e={});for(var t=1,n=arguments.length;t<n;t++)i(e,arguments[t]);return e}function u(e){e||(e={});for(var t=1,n=arguments.length;t<n;t++)s(e,arguments[t]);return e}function a(e,t){var n=e.prototype||e;return o(n,t),e}function f(e,t,n){if(!r(e)||typeof t!="function")throw new TypeError;var i=h(e),s;for(var o=0,u=i.length;o<u;++o)s=i[o],t.call(n||e,e[s],s,e);return e}function l(e,t,n){if(!r(e)||typeof t!="function")throw new TypeError;var i=h(e),s,o,u={};for(var a=0,f=i.length;a<f;++a)s=i[a],o=e[s],t.call(n||e,o,s,e)&&(u[s]=o);return u}function c(e){if(!r(e))throw new TypeError;var t=h(e),n=[];for(var i=0,s=t.length;i<s;++i)n.push(e[t[i]]);return n}function h(e){if(!r(e))throw new TypeError;var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function p(e){if(!r(e))throw new TypeError;var t=h(e),n,i={};for(var s=0,o=t.length;s<o;++s)n=t[s],i[e[n]]=n;return i}function d(e){if(!r(e))throw new TypeError;var t=h(e),n,i=[];for(var s=0,o=t.length;s<o;++s)n=t[s],i.push([n,e[n]]);return i}var n=t.deepEqual,r=t.isHash,v={forEach:f,filter:l,invert:p,values:c,toArray:d,keys:h},m={extend:a,merge:o,deepMerge:u},g=e.define(t.isObject,m).define(r,v).define(t.isFunction,{extend:a}).expose({hash:v}).expose(m),y=g.extend;return g.extend=function(){if(arguments.length===1)return y.extend.apply(g,arguments);a.apply(null,arguments)},g}"undefined"!=typeof exports?"undefined"!=typeof module&&module.exports&&(module.exports=e(require("extended"),require("is-extended"))):"function"==typeof define?define(["require"],function(t){return e(t("extended"),t("is-extended"))}):this.objectExtended=e(extended,isExtended)}).call(this); |
{ | ||
"name": "object-extended", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Additional object extensions with a chainable api", | ||
@@ -18,12 +18,22 @@ "main": "index.js", | ||
], | ||
"testling": { | ||
"files": "test/browserling.js", | ||
"browsers": { | ||
"ie": [6, 7, 8, 9], | ||
"chrome": [4, 23, "canary"], | ||
"firefox": [3, 3.5, 3.6, 4, 17, "nightly"], | ||
"opera": [10, 10.5, 11, 11.5, 11.6, 12, "next"], | ||
"safari": ["5.0.1", 5.1] | ||
} | ||
}, | ||
"author": "Doug Martin", | ||
"license": "MIT", | ||
"dependencies": { | ||
"extended": "0.0.2", | ||
"is-extended": "0.0.2" | ||
"extended": "~0.0.3", | ||
"is-extended": "~0.0.3" | ||
}, | ||
"devDependencies": { | ||
"it": "~0.1.0", | ||
"it": "~0.2.0", | ||
"grunt-it": "~0.2.1" | ||
} | ||
} |
[![Build Status](https://travis-ci.org/doug-martin/object-extended.png?branch=master)](undefined) | ||
[![browser support](http://ci.testling.com/doug-martin/object-extended.png)](http://ci.testling.com/doug-martin/object-extended) | ||
# object-extended | ||
@@ -4,0 +6,0 @@ |
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
23290
11
397
165
+ Addeddeclare.js@0.0.8(transitive)
+ Addedextended@0.0.6(transitive)
+ Addedextender@0.0.10(transitive)
+ Addedis-extended@0.0.10(transitive)
- Removeddeclare.js@0.0.3(transitive)
- Removedextended@0.0.2(transitive)
- Removedextender@0.0.4(transitive)
- Removedis-extended@0.0.2(transitive)
Updatedextended@~0.0.3
Updatedis-extended@~0.0.3