mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
CB-13912 Updated checked-in node_modules
This commit is contained in:
-13
@@ -1,13 +0,0 @@
|
||||
*.swp
|
||||
.*.swp
|
||||
|
||||
.DS_Store
|
||||
*~
|
||||
.project
|
||||
.settings
|
||||
npm-debug.log
|
||||
coverage.html
|
||||
.idea
|
||||
lib-cov
|
||||
|
||||
node_modules
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
language: node_js
|
||||
language: node_js
|
||||
node_js:
|
||||
- '0.8'
|
||||
- '0.10'
|
||||
- '0.12'
|
||||
- 'iojs'
|
||||
before_install:
|
||||
- npm install -g npm@latest
|
||||
+29
-20
@@ -10,23 +10,23 @@
|
||||
"spec": ">=0.1.3 <0.2.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/Users/jbowser/cordova/cordova-android/node_modules/cordova-common"
|
||||
"/Users/steveng/repo/cordova/cordova-android/node_modules/cordova-common"
|
||||
]
|
||||
],
|
||||
"_from": "osenv@>=0.1.3 <0.2.0",
|
||||
"_id": "osenv@0.1.4",
|
||||
"_id": "osenv@0.1.5",
|
||||
"_inCache": true,
|
||||
"_location": "/osenv",
|
||||
"_nodeVersion": "6.5.0",
|
||||
"_nodeVersion": "8.9.1",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/osenv-0.1.4.tgz_1481655889868_0.3980878754518926"
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/osenv_0.1.5_1518743366771_0.010286411112286009"
|
||||
},
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"_npmVersion": "3.10.9",
|
||||
"_npmVersion": "5.6.0-canary.11",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "osenv@^0.1.3",
|
||||
@@ -40,11 +40,11 @@
|
||||
"_requiredBy": [
|
||||
"/cordova-common"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz",
|
||||
"_shasum": "42fe6d5953df06c8064be6f176c3d05aaaa34644",
|
||||
"_resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
|
||||
"_shasum": "85cdfafaeb28e8677f416e287592b5f3f49ea410",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "osenv@^0.1.3",
|
||||
"_where": "/Users/jbowser/cordova/cordova-android/node_modules/cordova-common",
|
||||
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/cordova-common",
|
||||
"author": {
|
||||
"name": "Isaac Z. Schlueter",
|
||||
"email": "i@izs.me",
|
||||
@@ -59,16 +59,22 @@
|
||||
},
|
||||
"description": "Look up environment settings specific to different operating systems",
|
||||
"devDependencies": {
|
||||
"tap": "^8.0.1"
|
||||
"tap": "^11.1.0"
|
||||
},
|
||||
"directories": {
|
||||
"test": "test"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "42fe6d5953df06c8064be6f176c3d05aaaa34644",
|
||||
"tarball": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz"
|
||||
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
|
||||
"shasum": "85cdfafaeb28e8677f416e287592b5f3f49ea410",
|
||||
"tarball": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
|
||||
"fileCount": 4,
|
||||
"unpackedSize": 4889
|
||||
},
|
||||
"gitHead": "ef718f0d20e38d45ec452b7faeefc692d3cd1062",
|
||||
"files": [
|
||||
"osenv.js"
|
||||
],
|
||||
"gitHead": "1c642b8f5ddb1f99671a300a466bf42ffb9f5ea2",
|
||||
"homepage": "https://github.com/npm/osenv#readme",
|
||||
"keywords": [
|
||||
"environment",
|
||||
@@ -83,20 +89,20 @@
|
||||
"main": "osenv.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
"name": "iarna",
|
||||
"email": "me@re-becca.org"
|
||||
},
|
||||
{
|
||||
"name": "robertkowalski",
|
||||
"email": "rok@kowalski.gd"
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
{
|
||||
"name": "othiym23",
|
||||
"email": "ogd@aoaioxxysz.net"
|
||||
},
|
||||
{
|
||||
"name": "iarna",
|
||||
"email": "me@re-becca.org"
|
||||
"name": "robertkowalski",
|
||||
"email": "rok@kowalski.gd"
|
||||
}
|
||||
],
|
||||
"name": "osenv",
|
||||
@@ -107,7 +113,10 @@
|
||||
"url": "git+https://github.com/npm/osenv.git"
|
||||
},
|
||||
"scripts": {
|
||||
"postpublish": "git push origin --all; git push origin --tags",
|
||||
"postversion": "npm publish",
|
||||
"preversion": "npm test",
|
||||
"test": "tap test/*.js"
|
||||
},
|
||||
"version": "0.1.4"
|
||||
"version": "0.1.5"
|
||||
}
|
||||
|
||||
-71
@@ -1,71 +0,0 @@
|
||||
// only run this test on windows
|
||||
// pretending to be another platform is too hacky, since it breaks
|
||||
// how the underlying system looks up module paths and runs
|
||||
// child processes, and all that stuff is cached.
|
||||
var tap = require('tap')
|
||||
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
tap.plan(0, 'Skip unix tests, this is not unix')
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
// like unix, but funny
|
||||
process.env.USER = 'sirUser'
|
||||
process.env.HOME = '/home/sirUser'
|
||||
process.env.HOSTNAME = 'my-machine'
|
||||
process.env.TMPDIR = '/tmpdir'
|
||||
process.env.TMP = '/tmp'
|
||||
process.env.TEMP = '/temp'
|
||||
process.env.PATH = '/opt/local/bin:/usr/local/bin:/usr/bin/:bin'
|
||||
process.env.PS1 = '(o_o) $ '
|
||||
process.env.EDITOR = 'edit'
|
||||
process.env.VISUAL = 'visualedit'
|
||||
process.env.SHELL = 'zsh'
|
||||
|
||||
tap.test('basic unix sanity test', function (t) {
|
||||
var osenv = require('../osenv.js')
|
||||
|
||||
t.equal(osenv.user(), process.env.USER)
|
||||
t.equal(osenv.home(), process.env.HOME)
|
||||
t.equal(osenv.hostname(), process.env.HOSTNAME)
|
||||
t.same(osenv.path(), process.env.PATH.split(':'))
|
||||
t.equal(osenv.prompt(), process.env.PS1)
|
||||
t.equal(osenv.tmpdir(), process.env.TMPDIR)
|
||||
|
||||
// mildly evil, but it's for a test.
|
||||
process.env.TMPDIR = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.tmpdir(), process.env.TMP)
|
||||
|
||||
process.env.TMP = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.tmpdir(), process.env.TEMP)
|
||||
|
||||
process.env.TEMP = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
osenv.home = function () { return null }
|
||||
t.equal(osenv.tmpdir(), '/tmp')
|
||||
|
||||
t.equal(osenv.editor(), 'edit')
|
||||
process.env.EDITOR = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.editor(), 'visualedit')
|
||||
|
||||
process.env.VISUAL = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.editor(), 'vi')
|
||||
|
||||
t.equal(osenv.shell(), 'zsh')
|
||||
process.env.SHELL = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.shell(), 'bash')
|
||||
|
||||
t.end()
|
||||
})
|
||||
-74
@@ -1,74 +0,0 @@
|
||||
// only run this test on windows
|
||||
// pretending to be another platform is too hacky, since it breaks
|
||||
// how the underlying system looks up module paths and runs
|
||||
// child processes, and all that stuff is cached.
|
||||
if (process.platform !== 'win32') {
|
||||
console.log('TAP version 13\n' +
|
||||
'1..0 # Skip windows tests, this is not windows\n')
|
||||
return
|
||||
}
|
||||
|
||||
// load this before clubbing the platform name.
|
||||
var tap = require('tap')
|
||||
|
||||
process.env.windir = 'c:\\windows'
|
||||
process.env.USERDOMAIN = 'some-domain'
|
||||
process.env.USERNAME = 'sirUser'
|
||||
process.env.USERPROFILE = 'C:\\Users\\sirUser'
|
||||
process.env.COMPUTERNAME = 'my-machine'
|
||||
process.env.TMPDIR = 'C:\\tmpdir'
|
||||
process.env.TMP = 'C:\\tmp'
|
||||
process.env.TEMP = 'C:\\temp'
|
||||
process.env.Path = 'C:\\Program Files\\;C:\\Binary Stuff\\bin'
|
||||
process.env.PROMPT = '(o_o) $ '
|
||||
process.env.EDITOR = 'edit'
|
||||
process.env.VISUAL = 'visualedit'
|
||||
process.env.ComSpec = 'some-com'
|
||||
|
||||
tap.test('basic windows sanity test', function (t) {
|
||||
var osenv = require('../osenv.js')
|
||||
|
||||
t.equal(osenv.user(),
|
||||
process.env.USERDOMAIN + '\\' + process.env.USERNAME)
|
||||
t.equal(osenv.home(), process.env.USERPROFILE)
|
||||
t.equal(osenv.hostname(), process.env.COMPUTERNAME)
|
||||
t.same(osenv.path(), process.env.Path.split(';'))
|
||||
t.equal(osenv.prompt(), process.env.PROMPT)
|
||||
t.equal(osenv.tmpdir(), process.env.TMPDIR)
|
||||
|
||||
// mildly evil, but it's for a test.
|
||||
process.env.TMPDIR = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.tmpdir(), process.env.TMP)
|
||||
|
||||
process.env.TMP = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.tmpdir(), process.env.TEMP)
|
||||
|
||||
process.env.TEMP = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
osenv.home = function () { return null }
|
||||
t.equal(osenv.tmpdir(), 'c:\\windows\\temp')
|
||||
|
||||
t.equal(osenv.editor(), 'edit')
|
||||
process.env.EDITOR = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.editor(), 'visualedit')
|
||||
|
||||
process.env.VISUAL = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.editor(), 'notepad.exe')
|
||||
|
||||
t.equal(osenv.shell(), 'some-com')
|
||||
process.env.ComSpec = ''
|
||||
delete require.cache[require.resolve('../osenv.js')]
|
||||
var osenv = require('../osenv.js')
|
||||
t.equal(osenv.shell(), 'cmd')
|
||||
|
||||
t.end()
|
||||
})
|
||||
-39
@@ -1,39 +0,0 @@
|
||||
TAP version 13
|
||||
# Subtest: test/unix.js
|
||||
TAP version 13
|
||||
# Subtest: basic unix sanity test
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equivalent
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - should be equal
|
||||
ok 10 - should be equal
|
||||
ok 11 - should be equal
|
||||
ok 12 - should be equal
|
||||
ok 13 - should be equal
|
||||
ok 14 - should be equal
|
||||
1..14
|
||||
ok 1 - basic unix sanity test # time=10.712ms
|
||||
|
||||
1..1
|
||||
# time=18.422ms
|
||||
ok 1 - test/unix.js # time=169.827ms
|
||||
|
||||
# Subtest: test/windows.js
|
||||
TAP version 13
|
||||
1..0 # Skip windows tests, this is not windows
|
||||
|
||||
ok 2 - test/windows.js # SKIP Skip windows tests, this is not windows
|
||||
|
||||
# Subtest: test/nada.js
|
||||
TAP version 13
|
||||
1..0
|
||||
|
||||
ok 2 - test/nada.js
|
||||
|
||||
1..3
|
||||
# time=274.247ms
|
||||
Reference in New Issue
Block a user