node-datachannel 0.1.9 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +5 -2
- package/README.md +2 -7
- package/examples/client-server/package-lock.json +3 -3
- package/node_modules/delegates/package.json +0 -1
- package/node_modules/has-unicode/package.json +0 -1
- package/node_modules/ini/ini.js +49 -37
- package/node_modules/ini/package.json +22 -19
- package/node_modules/node-abi/.github/workflows/update-abi.yml +1 -1
- package/node_modules/node-abi/.travis.yml +2 -4
- package/node_modules/node-abi/README.md +1 -1
- package/node_modules/node-abi/abi_registry.json +46 -1
- package/node_modules/node-abi/index.js +7 -1
- package/node_modules/node-abi/package.json +10 -11
- package/node_modules/node-abi/scripts/update-abi-registry.js +11 -5
- package/node_modules/prebuild-install/CHANGELOG.md +75 -1
- package/node_modules/prebuild-install/README.md +43 -12
- package/node_modules/prebuild-install/asset.js +1 -5
- package/node_modules/prebuild-install/bin.js +4 -11
- package/node_modules/prebuild-install/download.js +55 -43
- package/node_modules/prebuild-install/help.txt +2 -0
- package/node_modules/prebuild-install/log.js +12 -0
- package/node_modules/prebuild-install/package.json +14 -15
- package/node_modules/prebuild-install/proxy.js +2 -5
- package/node_modules/prebuild-install/rc.js +11 -32
- package/node_modules/prebuild-install/util.js +49 -3
- package/node_modules/readable-stream/package.json +0 -1
- package/node_modules/safe-buffer/package.json +0 -1
- package/node_modules/string-width/package.json +2 -3
- package/package.json +7 -7
- package/node_modules/noop-logger/.npmignore +0 -1
- package/node_modules/noop-logger/History.md +0 -16
- package/node_modules/noop-logger/Makefile +0 -8
- package/node_modules/noop-logger/Readme.md +0 -27
- package/node_modules/noop-logger/circle.yml +0 -9
- package/node_modules/noop-logger/lib/index.js +0 -25
- package/node_modules/noop-logger/package.json +0 -51
- package/node_modules/noop-logger/test/index.js +0 -18
- package/node_modules/prebuild-install/.travis.yml +0 -12
- package/node_modules/prebuild-install/appveyor.yml +0 -40
- package/node_modules/which-pm-runs/LICENSE +0 -21
- package/node_modules/which-pm-runs/README.md +0 -29
- package/node_modules/which-pm-runs/index.js +0 -17
- package/node_modules/which-pm-runs/package.json +0 -64
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
[](https://circleci.com/gh/segmentio/noop-logger)
|
|
2
|
-
|
|
3
|
-
# noop-logger
|
|
4
|
-
|
|
5
|
-
A logger that does exactly nothing, useful when you want to test modules that require a logger to be passed in.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
$ npm install noop-logger
|
|
10
|
-
|
|
11
|
-
## API
|
|
12
|
-
|
|
13
|
-
Exposes the following noops:
|
|
14
|
-
|
|
15
|
-
- `logger.debug`
|
|
16
|
-
- `logger.info`
|
|
17
|
-
- `logger.warn`
|
|
18
|
-
- `logger.error`
|
|
19
|
-
- `logger.critical`
|
|
20
|
-
- `logger.alert`
|
|
21
|
-
- `logger.emergency`
|
|
22
|
-
- `logger.notice`
|
|
23
|
-
- `logger.fatal`
|
|
24
|
-
|
|
25
|
-
## License
|
|
26
|
-
|
|
27
|
-
MIT
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Methods.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
var methods = [
|
|
7
|
-
'debug',
|
|
8
|
-
'info',
|
|
9
|
-
'warn',
|
|
10
|
-
'error',
|
|
11
|
-
'critical',
|
|
12
|
-
'alert',
|
|
13
|
-
'emergency',
|
|
14
|
-
'notice',
|
|
15
|
-
'verbose',
|
|
16
|
-
'fatal'
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Expose methods.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
methods.forEach(function(method){
|
|
24
|
-
exports[method] = function(){};
|
|
25
|
-
});
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_args": [
|
|
3
|
-
[
|
|
4
|
-
"noop-logger@0.1.1",
|
|
5
|
-
"/home/runner/work/node-datachannel/node-datachannel"
|
|
6
|
-
]
|
|
7
|
-
],
|
|
8
|
-
"_from": "noop-logger@0.1.1",
|
|
9
|
-
"_id": "noop-logger@0.1.1",
|
|
10
|
-
"_inBundle": false,
|
|
11
|
-
"_integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI=",
|
|
12
|
-
"_location": "/noop-logger",
|
|
13
|
-
"_phantomChildren": {},
|
|
14
|
-
"_requested": {
|
|
15
|
-
"type": "version",
|
|
16
|
-
"registry": true,
|
|
17
|
-
"raw": "noop-logger@0.1.1",
|
|
18
|
-
"name": "noop-logger",
|
|
19
|
-
"escapedName": "noop-logger",
|
|
20
|
-
"rawSpec": "0.1.1",
|
|
21
|
-
"saveSpec": null,
|
|
22
|
-
"fetchSpec": "0.1.1"
|
|
23
|
-
},
|
|
24
|
-
"_requiredBy": [
|
|
25
|
-
"/prebuild",
|
|
26
|
-
"/prebuild-install"
|
|
27
|
-
],
|
|
28
|
-
"_resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz",
|
|
29
|
-
"_spec": "0.1.1",
|
|
30
|
-
"_where": "/home/runner/work/node-datachannel/node-datachannel",
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/segmentio/noop-logger/issues"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {},
|
|
35
|
-
"description": "A logger that does exactly nothing.",
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"mocha": "1.x"
|
|
38
|
-
},
|
|
39
|
-
"homepage": "https://github.com/segmentio/noop-logger#readme",
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"main": "lib/index.js",
|
|
42
|
-
"name": "noop-logger",
|
|
43
|
-
"repository": {
|
|
44
|
-
"type": "git",
|
|
45
|
-
"url": "git://github.com/segmentio/noop-logger.git"
|
|
46
|
-
},
|
|
47
|
-
"scripts": {
|
|
48
|
-
"test": "mocha"
|
|
49
|
-
},
|
|
50
|
-
"version": "0.1.1"
|
|
51
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
var assert = require('assert');
|
|
3
|
-
var logger = require('..');
|
|
4
|
-
|
|
5
|
-
describe('noop-logger', function(){
|
|
6
|
-
it('should expose methods', function(){
|
|
7
|
-
assert.equal('function', typeof logger.debug);
|
|
8
|
-
assert.equal('function', typeof logger.info);
|
|
9
|
-
assert.equal('function', typeof logger.warn);
|
|
10
|
-
assert.equal('function', typeof logger.error);
|
|
11
|
-
assert.equal('function', typeof logger.critical);
|
|
12
|
-
assert.equal('function', typeof logger.alert);
|
|
13
|
-
assert.equal('function', typeof logger.emergency);
|
|
14
|
-
assert.equal('function', typeof logger.notice);
|
|
15
|
-
assert.equal('function', typeof logger.verbose);
|
|
16
|
-
assert.equal('function', typeof logger.fatal);
|
|
17
|
-
});
|
|
18
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# http://www.appveyor.com/docs/appveyor-yml
|
|
2
|
-
|
|
3
|
-
# Don't actually build
|
|
4
|
-
build: off
|
|
5
|
-
|
|
6
|
-
# Skip tag builds
|
|
7
|
-
skip_tags: true
|
|
8
|
-
|
|
9
|
-
# Set build version format
|
|
10
|
-
version: "{build}"
|
|
11
|
-
|
|
12
|
-
# Set up build environment
|
|
13
|
-
environment:
|
|
14
|
-
# Test against these versions of Node.js
|
|
15
|
-
matrix:
|
|
16
|
-
- nodejs_version: "14.2.0"
|
|
17
|
-
- nodejs_version: "12"
|
|
18
|
-
- nodejs_version: "10"
|
|
19
|
-
- nodejs_version: "8"
|
|
20
|
-
- nodejs_version: "6"
|
|
21
|
-
|
|
22
|
-
# Build on both platforms
|
|
23
|
-
platform:
|
|
24
|
-
- x86
|
|
25
|
-
- x64
|
|
26
|
-
|
|
27
|
-
# Install scripts (runs after repo cloning)
|
|
28
|
-
install:
|
|
29
|
-
# Get the latest version of $env:nodejs_version
|
|
30
|
-
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
|
|
31
|
-
# Output useful info for debugging
|
|
32
|
-
- node --version
|
|
33
|
-
- npm --version
|
|
34
|
-
# Install modules
|
|
35
|
-
- npm install
|
|
36
|
-
|
|
37
|
-
# Post-install test scripts
|
|
38
|
-
test_script:
|
|
39
|
-
# Run module tests
|
|
40
|
-
- npm test
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Zoltan Kochan
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# which-pm-runs
|
|
2
|
-
|
|
3
|
-
> Detects what package manager executes the process
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/which-pm-runs) [](https://travis-ci.org/zkochan/which-pm-runs)
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
npm i which-pm-runs
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
'use strict'
|
|
17
|
-
const whichPMRuns = require('which-pm-runs')
|
|
18
|
-
|
|
19
|
-
whichPMRuns()
|
|
20
|
-
//> {name: "pnpm", version: "0.64.2"}
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Related
|
|
24
|
-
|
|
25
|
-
* [which-pm](https://github.com/zkochan/which-pm) - Detects what package manager was used for installation
|
|
26
|
-
|
|
27
|
-
## License
|
|
28
|
-
|
|
29
|
-
[MIT](LICENSE) © [Zoltan Kochan](http://kochan.io)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
module.exports = function () {
|
|
4
|
-
if (!process.env.npm_config_user_agent) {
|
|
5
|
-
return undefined
|
|
6
|
-
}
|
|
7
|
-
return pmFromUserAgent(process.env.npm_config_user_agent)
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function pmFromUserAgent (userAgent) {
|
|
11
|
-
const pmSpec = userAgent.split(' ')[0]
|
|
12
|
-
const separatorPos = pmSpec.lastIndexOf('/')
|
|
13
|
-
return {
|
|
14
|
-
name: pmSpec.substr(0, separatorPos),
|
|
15
|
-
version: pmSpec.substr(separatorPos + 1)
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_args": [
|
|
3
|
-
[
|
|
4
|
-
"which-pm-runs@1.0.0",
|
|
5
|
-
"/home/runner/work/node-datachannel/node-datachannel"
|
|
6
|
-
]
|
|
7
|
-
],
|
|
8
|
-
"_from": "which-pm-runs@1.0.0",
|
|
9
|
-
"_id": "which-pm-runs@1.0.0",
|
|
10
|
-
"_inBundle": false,
|
|
11
|
-
"_integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",
|
|
12
|
-
"_location": "/which-pm-runs",
|
|
13
|
-
"_phantomChildren": {},
|
|
14
|
-
"_requested": {
|
|
15
|
-
"type": "version",
|
|
16
|
-
"registry": true,
|
|
17
|
-
"raw": "which-pm-runs@1.0.0",
|
|
18
|
-
"name": "which-pm-runs",
|
|
19
|
-
"escapedName": "which-pm-runs",
|
|
20
|
-
"rawSpec": "1.0.0",
|
|
21
|
-
"saveSpec": null,
|
|
22
|
-
"fetchSpec": "1.0.0"
|
|
23
|
-
},
|
|
24
|
-
"_requiredBy": [
|
|
25
|
-
"/prebuild-install"
|
|
26
|
-
],
|
|
27
|
-
"_resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz",
|
|
28
|
-
"_spec": "1.0.0",
|
|
29
|
-
"_where": "/home/runner/work/node-datachannel/node-datachannel",
|
|
30
|
-
"author": {
|
|
31
|
-
"name": "Zoltan Kochan"
|
|
32
|
-
},
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/zkochan/which-pm-runs/issues"
|
|
35
|
-
},
|
|
36
|
-
"description": "Detects what package manager executes the process",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"execa": "^0.6.3",
|
|
39
|
-
"npm": "^4.4.4",
|
|
40
|
-
"pnpm": "^0.64.3",
|
|
41
|
-
"tape": "^4.6.3",
|
|
42
|
-
"yarn": "^0.22.0"
|
|
43
|
-
},
|
|
44
|
-
"files": [
|
|
45
|
-
"index.js"
|
|
46
|
-
],
|
|
47
|
-
"homepage": "https://github.com/zkochan/which-pm-runs#readme",
|
|
48
|
-
"keywords": [
|
|
49
|
-
"npm",
|
|
50
|
-
"pnpm",
|
|
51
|
-
"yarn"
|
|
52
|
-
],
|
|
53
|
-
"license": "MIT",
|
|
54
|
-
"main": "index.js",
|
|
55
|
-
"name": "which-pm-runs",
|
|
56
|
-
"repository": {
|
|
57
|
-
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/zkochan/which-pm-runs.git"
|
|
59
|
-
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"test": "tape test"
|
|
62
|
-
},
|
|
63
|
-
"version": "1.0.0"
|
|
64
|
-
}
|