90 lines
3.1 KiB
JSON
90 lines
3.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "jest-leak-detector@^22.1.0",
|
|
"scope": null,
|
|
"escapedName": "jest-leak-detector",
|
|
"name": "jest-leak-detector",
|
|
"rawSpec": "^22.1.0",
|
|
"spec": ">=22.1.0 <23.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest-runner"
|
|
]
|
|
],
|
|
"_from": "jest-leak-detector@>=22.1.0 <23.0.0",
|
|
"_id": "jest-leak-detector@22.1.0",
|
|
"_inCache": true,
|
|
"_location": "/jest-leak-detector",
|
|
"_nodeVersion": "9.4.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/jest-leak-detector-22.1.0.tgz_1516017442875_0.778854004573077"
|
|
},
|
|
"_npmUser": {
|
|
"name": "cpojer",
|
|
"email": "christoph.pojer@gmail.com"
|
|
},
|
|
"_npmVersion": "5.6.0",
|
|
"_phantomChildren": {
|
|
"ansi-regex": "3.0.0",
|
|
"ansi-styles": "3.2.0"
|
|
},
|
|
"_requested": {
|
|
"raw": "jest-leak-detector@^22.1.0",
|
|
"scope": null,
|
|
"escapedName": "jest-leak-detector",
|
|
"name": "jest-leak-detector",
|
|
"rawSpec": "^22.1.0",
|
|
"spec": ">=22.1.0 <23.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/jest-runner"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-22.1.0.tgz",
|
|
"_shasum": "08376644cee07103da069baac19adb0299b772c2",
|
|
"_shrinkwrap": null,
|
|
"_spec": "jest-leak-detector@^22.1.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest-runner",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/jest/issues"
|
|
},
|
|
"dependencies": {
|
|
"pretty-format": "^22.1.0"
|
|
},
|
|
"description": "Module for verifying whether an object has been garbage collected or not.",
|
|
"devDependencies": {
|
|
"weak": "^1.0.1"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-8QsCWkncWAqdvrXN4yXQp9vgWF6CT3RkRey+d06SIHX913uXzAJhJdZyo6eE+uHVYMxUbxqW93npbUFhAR0YxA==",
|
|
"shasum": "08376644cee07103da069baac19adb0299b772c2",
|
|
"tarball": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-22.1.0.tgz"
|
|
},
|
|
"homepage": "https://github.com/facebook/jest#readme",
|
|
"license": "MIT",
|
|
"main": "build/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "mjesun",
|
|
"email": "mjesun@hotmail.com"
|
|
},
|
|
{
|
|
"name": "cpojer",
|
|
"email": "christoph.pojer@gmail.com"
|
|
}
|
|
],
|
|
"name": "jest-leak-detector",
|
|
"optionalDependencies": {},
|
|
"readme": "# jest-leak-detector\n\nModule for verifying whether an object has been garbage collected or not.\n\nInternally creates a weak reference to the object, and forces garbage collection\nto happen. If the reference is gone, it meant no one else was pointing to the\nobject.\n\n## Example\n\n```javascript\nlet reference = {};\n\nconst detector = new LeakDetector(reference);\n\n// Reference is held in memory.\nconsole.log(detector.isLeaked()); // true\n\n// We destroy the only reference to the object.\nreference = null;\n\n// Reference is gone.\nconsole.log(detector.isLeaked()); // false\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/jest.git"
|
|
},
|
|
"version": "22.1.0"
|
|
}
|