157 lines
6.4 KiB
JSON
157 lines
6.4 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "object-keys@^1.0.11",
|
|
"scope": null,
|
|
"escapedName": "object-keys",
|
|
"name": "object-keys",
|
|
"rawSpec": "^1.0.11",
|
|
"spec": ">=1.0.11 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/object.assign"
|
|
]
|
|
],
|
|
"_from": "object-keys@>=1.0.11 <2.0.0",
|
|
"_id": "object-keys@1.0.11",
|
|
"_inCache": true,
|
|
"_location": "/object-keys",
|
|
"_nodeVersion": "6.2.2",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-16-east.internal.npmjs.com",
|
|
"tmp": "tmp/object-keys-1.0.11.tgz_1467740975903_0.8028358130250126"
|
|
},
|
|
"_npmUser": {
|
|
"name": "ljharb",
|
|
"email": "ljharb@gmail.com"
|
|
},
|
|
"_npmVersion": "3.9.5",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "object-keys@^1.0.11",
|
|
"scope": null,
|
|
"escapedName": "object-keys",
|
|
"name": "object-keys",
|
|
"rawSpec": "^1.0.11",
|
|
"spec": ">=1.0.11 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/define-properties",
|
|
"/object.assign"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz",
|
|
"_shasum": "c54601778ad560f1142ce0e01bcca8b56d13426d",
|
|
"_shrinkwrap": null,
|
|
"_spec": "object-keys@^1.0.11",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/object.assign",
|
|
"author": {
|
|
"name": "Jordan Harband",
|
|
"email": "ljharb@gmail.com",
|
|
"url": "http://ljharb.codes"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ljharb/object-keys/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Jordan Harband",
|
|
"email": "ljharb@gmail.com",
|
|
"url": "http://ljharb.codes"
|
|
},
|
|
{
|
|
"name": "Raynos",
|
|
"email": "raynos2@gmail.com"
|
|
},
|
|
{
|
|
"name": "Nathan Rajlich",
|
|
"email": "nathan@tootallnate.net"
|
|
},
|
|
{
|
|
"name": "Ivan Starkov",
|
|
"email": "istarkov@gmail.com"
|
|
},
|
|
{
|
|
"name": "Gary Katsevman",
|
|
"email": "git@gkatsev.com"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"description": "An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim",
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^6.0.0",
|
|
"covert": "^1.1.0",
|
|
"eslint": "^3.0.0",
|
|
"foreach": "^2.0.5",
|
|
"indexof": "^0.0.1",
|
|
"is": "^3.1.0",
|
|
"jscs": "^3.0.6",
|
|
"nsp": "^2.5.0",
|
|
"tape": "^4.6.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "c54601778ad560f1142ce0e01bcca8b56d13426d",
|
|
"tarball": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"gitHead": "3f869cc4b9f0f0489b2af7e80964f90d6c4403a4",
|
|
"homepage": "https://github.com/ljharb/object-keys#readme",
|
|
"keywords": [
|
|
"Object.keys",
|
|
"keys",
|
|
"ES5",
|
|
"shim"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "ljharb",
|
|
"email": "ljharb@gmail.com"
|
|
}
|
|
],
|
|
"name": "object-keys",
|
|
"optionalDependencies": {},
|
|
"readme": "#object-keys <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\n[![browser support][testling-svg]][testling-url]\n\nAn Object.keys shim. Invoke its \"shim\" method to shim Object.keys if it is unavailable.\n\nMost common usage:\n```js\nvar keys = Object.keys || require('object-keys');\n```\n\n## Example\n\n```js\nvar keys = require('object-keys');\nvar assert = require('assert');\nvar obj = {\n\ta: true,\n\tb: true,\n\tc: true\n};\n\nassert.deepEqual(keys(obj), ['a', 'b', 'c']);\n```\n\n```js\nvar keys = require('object-keys');\nvar assert = require('assert');\n/* when Object.keys is not present */\ndelete Object.keys;\nvar shimmedKeys = keys.shim();\nassert.equal(shimmedKeys, keys);\nassert.deepEqual(Object.keys(obj), keys(obj));\n```\n\n```js\nvar keys = require('object-keys');\nvar assert = require('assert');\n/* when Object.keys is present */\nvar shimmedKeys = keys.shim();\nassert.equal(shimmedKeys, Object.keys);\nassert.deepEqual(Object.keys(obj), keys(obj));\n```\n\n## Source\nImplementation taken directly from [es5-shim][es5-shim-url], with modifications, including from [lodash][lodash-url].\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/object-keys\n[npm-version-svg]: http://versionbadg.es/ljharb/object-keys.svg\n[travis-svg]: https://travis-ci.org/ljharb/object-keys.svg\n[travis-url]: https://travis-ci.org/ljharb/object-keys\n[deps-svg]: https://david-dm.org/ljharb/object-keys.svg\n[deps-url]: https://david-dm.org/ljharb/object-keys\n[dev-deps-svg]: https://david-dm.org/ljharb/object-keys/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/object-keys#info=devDependencies\n[testling-svg]: https://ci.testling.com/ljharb/object-keys.png\n[testling-url]: https://ci.testling.com/ljharb/object-keys\n[es5-shim-url]: https://github.com/es-shims/es5-shim/blob/master/es5-shim.js#L542-589\n[lodash-url]: https://github.com/lodash/lodash\n[npm-badge-png]: https://nodei.co/npm/object-keys.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/object-keys.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/object-keys.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=object-keys\n\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/ljharb/object-keys.git"
|
|
},
|
|
"scripts": {
|
|
"coverage": "covert test/*.js",
|
|
"coverage-quiet": "covert test/*.js --quiet",
|
|
"eslint": "eslint test/*.js *.js",
|
|
"jscs": "jscs test/*.js *.js",
|
|
"lint": "npm run --silent jscs && npm run --silent eslint",
|
|
"posttest": "npm run --silent security",
|
|
"pretest": "npm run --silent lint",
|
|
"security": "nsp check",
|
|
"test": "npm run --silent tests-only",
|
|
"tests-only": "node test/index.js"
|
|
},
|
|
"testling": {
|
|
"files": "test/index.js",
|
|
"browsers": [
|
|
"iexplore/6.0..latest",
|
|
"firefox/3.0..6.0",
|
|
"firefox/15.0..latest",
|
|
"firefox/nightly",
|
|
"chrome/4.0..10.0",
|
|
"chrome/20.0..latest",
|
|
"chrome/canary",
|
|
"opera/10.0..latest",
|
|
"opera/next",
|
|
"safari/4.0..latest",
|
|
"ipad/6.0..latest",
|
|
"iphone/6.0..latest",
|
|
"android-browser/4.2"
|
|
]
|
|
},
|
|
"version": "1.0.11"
|
|
}
|