GT2/GT2-Android/node_modules/is-equal-shallow/package.json

122 lines
5.6 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "is-equal-shallow@^0.1.3",
"scope": null,
"escapedName": "is-equal-shallow",
"name": "is-equal-shallow",
"rawSpec": "^0.1.3",
"spec": ">=0.1.3 <0.2.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/regex-cache"
]
],
"_from": "is-equal-shallow@>=0.1.3 <0.2.0",
"_id": "is-equal-shallow@0.1.3",
"_inCache": true,
"_location": "/is-equal-shallow",
"_nodeVersion": "0.12.4",
"_npmUser": {
"name": "jonschlinkert",
"email": "github@sellside.com"
},
"_npmVersion": "2.10.1",
"_phantomChildren": {},
"_requested": {
"raw": "is-equal-shallow@^0.1.3",
"scope": null,
"escapedName": "is-equal-shallow",
"name": "is-equal-shallow",
"rawSpec": "^0.1.3",
"spec": ">=0.1.3 <0.2.0",
"type": "range"
},
"_requiredBy": [
"/regex-cache"
],
"_resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
"_shasum": "2238098fc221de0bcfa5d9eac4c45d638aa1c534",
"_shrinkwrap": null,
"_spec": "is-equal-shallow@^0.1.3",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/regex-cache",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/is-equal-shallow/issues"
},
"dependencies": {
"is-primitive": "^2.0.0"
},
"description": "Does a shallow comparison of two objects, returning false if the keys or values differ.",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"directories": {},
"dist": {
"shasum": "2238098fc221de0bcfa5d9eac4c45d638aa1c534",
"tarball": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "dceb47dd9c9c21066958116e3b54b3c8c251ee4a",
"homepage": "https://github.com/jonschlinkert/is-equal-shallow",
"keywords": [
"compare",
"comparison",
"equal",
"equals",
"is",
"is-equal",
"key",
"object",
"same",
"shallow",
"value"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "jonschlinkert",
"email": "github@sellside.com"
},
{
"name": "doowb",
"email": "brian.woodward@gmail.com"
}
],
"name": "is-equal-shallow",
"optionalDependencies": {},
"readme": "# is-equal-shallow [![NPM version](https://badge.fury.io/js/is-equal-shallow.svg)](http://badge.fury.io/js/is-equal-shallow) [![Build Status](https://travis-ci.org/jonschlinkert/is-equal-shallow.svg)](https://travis-ci.org/jonschlinkert/is-equal-shallow)\n\n> Does a shallow comparison of two objects, returning false if the keys or values differ.\n\nThe purpose of this lib is to do the fastest comparison possible of two objects when the values will predictably be primitives.\n\n* only compares objects.\n* only compares the first level of each object\n* values must be primitives. If a value is not a primitive, even if the values are the same, `false` is returned.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-equal-shallow --save\n```\n\n## Usage\n\n```js\nvar equals = require('is-equal-shallow');\nequals(object_a, object_b);\n```\n\n**Examples**\n\n```js\nequals({a: true, b: true}, {a: true, b: true});\n//=> 'true'\n\nequals({a: true, b: false}, {c: false, b: false});\n//=> 'false'\n\nequals({a: true, b: false}, {a: false, b: false});\n//=> 'false'\n```\n\nStrict comparison for equality:\n\n```js\nequals({a: true, b: true}, {a: true, b: 'true'});\n//=> 'false'\n```\n\nWhen values are not primitives, `false` is always returned:\n\n```js\nequals({ b: {}}, { b: {}});\n//=> 'false'\n\nequals({ b: []}, { b: []});\n//=> 'false'\n```\n\n## Related projects\n\nOther object utils:\n\n* [clone-deep](https://github.com/jonschlinkert/clone-deep): Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.\n* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)\n* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)\n* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.\n* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-equal-shallow/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 22, 2015._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/is-equal-shallow.git"
},
"scripts": {
"test": "mocha"
},
"verbiage": {
"related": {
"description": "Other object utils:",
"list": [
"is-plain-object",
"isobject",
"for-in",
"for-own",
"clone-deep"
]
}
},
"version": "0.1.3"
}