mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
CB-12003 updated node_modules
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
var isWindows = process.platform === 'win32';
|
||||
var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
|
||||
|
||||
// https://github.com/nodejs/io.js/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43
|
||||
// https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43
|
||||
module.exports = function () {
|
||||
var path;
|
||||
|
||||
|
||||
+17
-12
@@ -14,16 +14,20 @@
|
||||
]
|
||||
],
|
||||
"_from": "os-tmpdir@>=1.0.0 <2.0.0",
|
||||
"_id": "os-tmpdir@1.0.1",
|
||||
"_id": "os-tmpdir@1.0.2",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/os-tmpdir",
|
||||
"_nodeVersion": "0.12.3",
|
||||
"_nodeVersion": "6.6.0",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/os-tmpdir-1.0.2.tgz_1475211274587_0.14931037812493742"
|
||||
},
|
||||
"_npmUser": {
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
},
|
||||
"_npmVersion": "2.9.1",
|
||||
"_npmVersion": "3.10.3",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "os-tmpdir@^1.0.0",
|
||||
@@ -37,8 +41,8 @@
|
||||
"_requiredBy": [
|
||||
"/osenv"
|
||||
],
|
||||
"_resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz",
|
||||
"_shasum": "e9b423a1edaf479882562e92ed71d7743a071b6e",
|
||||
"_resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
||||
"_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "os-tmpdir@^1.0.0",
|
||||
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/osenv",
|
||||
@@ -53,12 +57,13 @@
|
||||
"dependencies": {},
|
||||
"description": "Node.js os.tmpdir() ponyfill",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
"ava": "*",
|
||||
"xo": "^0.16.0"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "e9b423a1edaf479882562e92ed71d7743a071b6e",
|
||||
"tarball": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz"
|
||||
"shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274",
|
||||
"tarball": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
@@ -66,8 +71,8 @@
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "5c5d355f81378980db629d60128ad03e02b1c1e5",
|
||||
"homepage": "https://github.com/sindresorhus/os-tmpdir",
|
||||
"gitHead": "1abf9cf5611b4be7377060ea67054b45cbf6813c",
|
||||
"homepage": "https://github.com/sindresorhus/os-tmpdir#readme",
|
||||
"keywords": [
|
||||
"built-in",
|
||||
"core",
|
||||
@@ -99,7 +104,7 @@
|
||||
"url": "git+https://github.com/sindresorhus/os-tmpdir.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.0.1"
|
||||
"version": "1.0.2"
|
||||
}
|
||||
|
||||
+5
-9
@@ -1,12 +1,8 @@
|
||||
# os-tmpdir [](https://travis-ci.org/sindresorhus/os-tmpdir)
|
||||
|
||||
> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) ponyfill
|
||||
> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com)
|
||||
|
||||
> Ponyfill: A polyfill that doesn't overwrite the native method
|
||||
|
||||
Use this instead of `require('os').tmpdir()` to get a consistent behaviour on different Node.js versions (even 0.8).
|
||||
|
||||
*This is actually taken from io.js 2.0.2 as it contains some fixes that haven't bubbled up to Node.js yet.*
|
||||
Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8).
|
||||
|
||||
|
||||
## Install
|
||||
@@ -19,10 +15,10 @@ $ npm install --save os-tmpdir
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var osTmpdir = require('os-tmpdir');
|
||||
const osTmpdir = require('os-tmpdir');
|
||||
|
||||
osTmpdir();
|
||||
//=> /var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T
|
||||
//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'
|
||||
```
|
||||
|
||||
|
||||
@@ -33,4 +29,4 @@ See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
|
||||
Reference in New Issue
Block a user