GT2/GT2-iOS/node_modules/immediate/package.json

127 lines
6.9 KiB
JSON

{
"_args": [
[
{
"raw": "immediate@^3.2.2",
"scope": null,
"escapedName": "immediate",
"name": "immediate",
"rawSpec": "^3.2.2",
"spec": ">=3.2.2 <4.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/websql"
]
],
"_from": "immediate@>=3.2.2 <4.0.0",
"_id": "immediate@3.2.3",
"_inCache": true,
"_location": "/immediate",
"_nodeVersion": "5.12.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/immediate-3.2.3.tgz_1471458786902_0.25323316687718034"
},
"_npmUser": {
"name": "cwmma",
"email": "calvin.metcalf@gmail.com"
},
"_npmVersion": "3.8.6",
"_phantomChildren": {},
"_requested": {
"raw": "immediate@^3.2.2",
"scope": null,
"escapedName": "immediate",
"name": "immediate",
"rawSpec": "^3.2.2",
"spec": ">=3.2.2 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/websql"
],
"_resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
"_shasum": "d140fa8f614659bd6541233097ddaac25cdd991c",
"_shrinkwrap": null,
"_spec": "immediate@^3.2.2",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/websql",
"browser": {
"./nextTick": false
},
"bugs": {
"url": "https://github.com/calvinmetcalf/immediate/issues"
},
"contributors": [
{
"name": "Domenic Denicola",
"email": "domenic@domenicdenicola.com",
"url": "http://domenicdenicola.com"
},
{
"name": "Donavon West",
"email": "github@donavon.com",
"url": "http://donavon.com"
},
{
"name": "Yaffle"
},
{
"name": "Calvin Metcalf",
"email": "calvin.metcalf@gmail.com"
}
],
"dependencies": {},
"description": "A cross browser microtask library",
"devDependencies": {
"browserify": "^10.0.0",
"derequire": "^2.0.0",
"jshint": "^2.5.1",
"tap-spec": "^3.0.0",
"tape": "^4.0.0",
"uglify-js": "^2.4.13"
},
"directories": {},
"dist": {
"shasum": "d140fa8f614659bd6541233097ddaac25cdd991c",
"tarball": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz"
},
"gitHead": "57ed41d729fd1182f88a1221185631f142d2abf5",
"homepage": "https://github.com/calvinmetcalf/immediate#readme",
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "cwmma",
"email": "calvin.metcalf@gmail.com"
}
],
"name": "immediate",
"optionalDependencies": {},
"readme": "# immediate [![Build Status](https://travis-ci.org/calvinmetcalf/immediate.svg?branch=master)](https://travis-ci.org/calvinmetcalf/immediate)\n\n[![testling status](https://ci.testling.com/calvinmetcalf/immediate.png)](https://ci.testling.com/calvinmetcalf/immediate)\n\n```\nnpm install immediate --save\n```\n\nthen\n\n```js\nvar immediate = require(\"immediate\");\n\nimmediate(function () {\n // this will run soon\n});\n\nimmediate(function (arg1, arg2) {\n // get your args like in iojs\n}, thing1, thing2);\n```\n\n## Introduction\n\n**immediate** is a microtask library, decended from [NobleJS's setImmediate](https://github.com/NobleJS/setImmediate), but including ideas from [Cujo's When](https://github.com/cujojs/when) and [RSVP][RSVP].\n\nimmediate takes the tricks from setImmedate and RSVP and combines them with the schedualer inspired (vaugly) by whens.\n\nNote versions 2.6.5 and earlier were strictly speaking a 'macrotask' library not a microtask one, [see this for the difference](https://github.com/YuzuJS/setImmediate#macrotasks-and-microtasks), if you need a macrotask library, [I got you covered](https://github.com/calvinmetcalf/macrotask).\n\nSeveral new features were added in versions 3.1.0 and 3.2.0 to maintain parity with\nprocess.nextTick, but the 3.0.x series is still being kept up to date if you just need\nthe small barebones version\n\n## The Tricks\n\n### `process.nextTick`\n\nNote that we check for *actual* Node.js environments, not emulated ones like those produced by browserify or similar.\n\n### `MutationObserver`\n\nThis is what [RSVP][RSVP] uses, it's very fast, details on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n### `MessageChannel`\n\nUnfortunately, `postMessage` has completely different semantics inside web workers, and so cannot be used there. So we\nturn to [`MessageChannel`][MessageChannel], which has worse browser support, but does work inside a web worker.\n\n### `<script> onreadystatechange`\n\nFor our last trick, we pull something out to make things fast in Internet Explorer versions 6 through 8: namely,\ncreating a `<script>` element and firing our calls in its `onreadystatechange` event. This does execute in a future\nturn of the event loop, and is also faster than `setTimeout(…, 0)`, so hey, why not?\n\n## Tricks we don't use\n\n### `setImmediate`\nWe avoid this process.nextTick in node is better suited to our needs and in Internet Explorer 10 there is a broken version of setImmediate we avoid using this.\n\n\n## Reference and Reading\n\n * [Efficient Script Yielding W3C Editor's Draft][spec]\n * [W3C mailing list post introducing the specification][list-post]\n * [IE Test Drive demo][ie-demo]\n * [Introductory blog post by Nicholas C. Zakas][ncz]\n * I wrote a couple blog pots on this, [part 1][my-blog-1] and [part 2][my-blog-2]\n\n[RSVP]: https://github.com/tildeio/rsvp.js\n[spec]: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n[list-post]: http://lists.w3.org/Archives/Public/public-web-perf/2011Jun/0100.html\n[ie-demo]: http://ie.microsoft.com/testdrive/Performance/setImmediateSorting/Default.html\n[ncz]: http://www.nczonline.net/blog/2011/09/19/script-yielding-with-setimmediate/\n[nextTick]: http://nodejs.org/docs/v0.8.16/api/process.html#process_process_nexttick_callback\n[postMessage]: http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#posting-messages\n[MessageChannel]: http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#channel-messaging\n[cross-browser-demo]: http://calvinmetcalf.github.io/setImmediate-shim-demo\n[my-blog-1]:http://calvinmetcalf.com/post/61672207151/setimmediate-etc\n[my-blog-2]:http://calvinmetcalf.com/post/61761231881/javascript-schedulers\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/calvinmetcalf/immediate.git"
},
"scripts": {
"build": "npm run build-js && npm run uglify",
"build-js": "browserify -s immediate ./lib/index.js | derequire > dist/immediate.js",
"test": "jshint lib/*.js && node test/tests.js | tspec",
"uglify": "uglifyjs dist/immediate.js -mc > dist/immediate.min.js"
},
"testling": {
"files": "test/tests.js",
"browsers": [
"ie/6..latest",
"chrome/latest",
"firefox/3..latest",
"opera/10..latest",
"safari/4..latest",
"iphone/latest",
"ipad/latest",
"android-browser/latest"
]
},
"version": "3.2.3"
}