forked from enviPath/enviPy
Current Dev State
This commit is contained in:
21
static/js/ketcher2/node_modules/os-browserify/LICENSE
generated
vendored
Normal file
21
static/js/ketcher2/node_modules/os-browserify/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Drew Young
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
2
static/js/ketcher2/node_modules/os-browserify/README.md
generated
vendored
Normal file
2
static/js/ketcher2/node_modules/os-browserify/README.md
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
os-browserify
|
||||
=============
|
||||
45
static/js/ketcher2/node_modules/os-browserify/browser.js
generated
vendored
Normal file
45
static/js/ketcher2/node_modules/os-browserify/browser.js
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
exports.endianness = function () { return 'LE' };
|
||||
|
||||
exports.hostname = function () {
|
||||
if (typeof location !== 'undefined') {
|
||||
return location.hostname
|
||||
}
|
||||
else return '';
|
||||
};
|
||||
|
||||
exports.loadavg = function () { return [] };
|
||||
|
||||
exports.uptime = function () { return 0 };
|
||||
|
||||
exports.freemem = function () {
|
||||
return Number.MAX_VALUE;
|
||||
};
|
||||
|
||||
exports.totalmem = function () {
|
||||
return Number.MAX_VALUE;
|
||||
};
|
||||
|
||||
exports.cpus = function () { return [] };
|
||||
|
||||
exports.type = function () { return 'Browser' };
|
||||
|
||||
exports.release = function () {
|
||||
if (typeof navigator !== 'undefined') {
|
||||
return navigator.appVersion;
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
||||
exports.networkInterfaces
|
||||
= exports.getNetworkInterfaces
|
||||
= function () { return {} };
|
||||
|
||||
exports.arch = function () { return 'javascript' };
|
||||
|
||||
exports.platform = function () { return 'browser' };
|
||||
|
||||
exports.tmpdir = exports.tmpDir = function () {
|
||||
return '/tmp';
|
||||
};
|
||||
|
||||
exports.EOL = '\n';
|
||||
1
static/js/ketcher2/node_modules/os-browserify/main.js
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/os-browserify/main.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('os');
|
||||
44
static/js/ketcher2/node_modules/os-browserify/package.json
generated
vendored
Normal file
44
static/js/ketcher2/node_modules/os-browserify/package.json
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"_from": "os-browserify@~0.1.1",
|
||||
"_id": "os-browserify@0.1.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-ScoCk+CxlZCl9d4Qx/JlphfY/lQ=",
|
||||
"_location": "/os-browserify",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "os-browserify@~0.1.1",
|
||||
"name": "os-browserify",
|
||||
"escapedName": "os-browserify",
|
||||
"rawSpec": "~0.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~0.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/browserify"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.1.2.tgz",
|
||||
"_shasum": "49ca0293e0b19590a5f5de10c7f265a617d8fe54",
|
||||
"_spec": "os-browserify@~0.1.1",
|
||||
"_where": "/home/manfred/enviPath/ketcher2/ketcher/node_modules/browserify",
|
||||
"author": {
|
||||
"name": "Drew Young"
|
||||
},
|
||||
"browser": "browser.js",
|
||||
"bugs": {
|
||||
"url": "https://github.com/drewyoung1/os-browserify/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "os-browserify =============",
|
||||
"homepage": "https://github.com/drewyoung1/os-browserify#readme",
|
||||
"license": "MIT",
|
||||
"main": "main.js",
|
||||
"name": "os-browserify",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/drewyoung1/os-browserify.git"
|
||||
},
|
||||
"version": "0.1.2"
|
||||
}
|
||||
Reference in New Issue
Block a user