Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

probe.gl

Package Overview
Dependencies
Maintainers
7
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

probe.gl - npm Package Compare versions

Comparing version 3.5.0-alpha.1 to 3.5.0-alpha.3

dist/index.d.ts

143

dist/es5/index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "Log", {
enumerable: true,
get: function get() {
return _log.default;
}
});
Object.defineProperty(exports, "VERSION", {
enumerable: true,
get: function get() {
return _globals.VERSION;
get: function () {
return _env.VERSION;
}

@@ -24,4 +14,4 @@ });

enumerable: true,
get: function get() {
return _globals2.self;
get: function () {
return _env.self;
}

@@ -31,4 +21,4 @@ });

enumerable: true,
get: function get() {
return _globals2.window;
get: function () {
return _env.window;
}

@@ -38,4 +28,4 @@ });

enumerable: true,
get: function get() {
return _globals2.global;
get: function () {
return _env.global;
}

@@ -45,4 +35,4 @@ });

enumerable: true,
get: function get() {
return _globals2.document;
get: function () {
return _env.document;
}

@@ -52,4 +42,4 @@ });

enumerable: true,
get: function get() {
return _globals2.process;
get: function () {
return _env.process;
}

@@ -59,4 +49,4 @@ });

enumerable: true,
get: function get() {
return _globals2.console;
get: function () {
return _env.console;
}

@@ -66,4 +56,4 @@ });

enumerable: true,
get: function get() {
return _isBrowser.default;
get: function () {
return _env.isBrowser;
}

@@ -73,4 +63,4 @@ });

enumerable: true,
get: function get() {
return _isBrowser.isBrowserMainThread;
get: function () {
return _env.isBrowserMainThread;
}

@@ -80,4 +70,4 @@ });

enumerable: true,
get: function get() {
return _getBrowser.default;
get: function () {
return _env.getBrowser;
}

@@ -87,4 +77,4 @@ });

enumerable: true,
get: function get() {
return _getBrowser.isMobile;
get: function () {
return _env.isMobile;
}

@@ -94,4 +84,4 @@ });

enumerable: true,
get: function get() {
return _isElectron.default;
get: function () {
return _env.isElectron;
}

@@ -101,16 +91,28 @@ });

enumerable: true,
get: function get() {
return _assert.default;
get: function () {
return _env.assert;
}
});
Object.defineProperty(exports, "Log", {
enumerable: true,
get: function () {
return _log.Log;
}
});
Object.defineProperty(exports, "COLOR", {
enumerable: true,
get: function get() {
return _color.COLOR;
get: function () {
return _log.COLOR;
}
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _log.default;
}
});
Object.defineProperty(exports, "addColor", {
enumerable: true,
get: function get() {
return _color.addColor;
get: function () {
return _log.addColor;
}

@@ -120,4 +122,4 @@ });

enumerable: true,
get: function get() {
return _formatters.leftPad;
get: function () {
return _log.leftPad;
}

@@ -127,4 +129,4 @@ });

enumerable: true,
get: function get() {
return _formatters.rightPad;
get: function () {
return _log.rightPad;
}

@@ -134,4 +136,4 @@ });

enumerable: true,
get: function get() {
return _autobind.autobind;
get: function () {
return _log.autobind;
}

@@ -141,4 +143,4 @@ });

enumerable: true,
get: function get() {
return _localStorage.default;
get: function () {
return _log.default;
}

@@ -148,4 +150,4 @@ });

enumerable: true,
get: function get() {
return _hiResTimestamp.default;
get: function () {
return _log.default;
}

@@ -155,3 +157,3 @@ });

enumerable: true,
get: function get() {
get: function () {
return _stats.Stats;

@@ -162,45 +164,16 @@ }

enumerable: true,
get: function get() {
get: function () {
return _stats.Stat;
}
});
exports.default = void 0;
require("./init");
var _env = require("@probe.gl/env");
var _log = _interopRequireDefault(require("./lib/log"));
var _log = _interopRequireWildcard(require("@probe.gl/log"));
var _globals = require("./utils/globals");
var _globals2 = require("./env/globals");
var _isBrowser = _interopRequireWildcard(require("./env/is-browser"));
var _getBrowser = _interopRequireWildcard(require("./env/get-browser"));
var _isElectron = _interopRequireDefault(require("./env/is-electron"));
var _assert = _interopRequireDefault(require("./utils/assert"));
var _color = require("./utils/color");
var _formatters = require("./utils/formatters");
var _autobind = require("./utils/autobind");
var _localStorage = _interopRequireDefault(require("./utils/local-storage"));
var _hiResTimestamp = _interopRequireDefault(require("./utils/hi-res-timestamp"));
var _stats = require("@probe.gl/stats");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var _default = new _log.default({
id: 'probe.gl'
});
exports.default = _default;
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
//# sourceMappingURL=index.js.map

@@ -1,20 +0,16 @@

import './init';
import { default as Log } from './lib/log';
export { VERSION } from './utils/globals';
export { self, window, global, document, process, console } from './env/globals';
export { default as isBrowser, isBrowserMainThread } from './env/is-browser';
export { default as getBrowser, isMobile } from './env/get-browser';
export { default as isElectron } from './env/is-electron';
export { default as assert } from './utils/assert';
export { default as Log } from './lib/log';
export { COLOR } from './utils/color';
export default new Log({
id: 'probe.gl'
});
export { addColor } from './utils/color';
export { leftPad, rightPad } from './utils/formatters';
export { autobind } from './utils/autobind';
export { default as LocalStorage } from './utils/local-storage';
export { default as getHiResTimestamp } from './utils/hi-res-timestamp';
export { VERSION } from '@probe.gl/env';
export { self, window, global, document, process, console } from '@probe.gl/env';
export { isBrowser, isBrowserMainThread } from '@probe.gl/env';
export { getBrowser, isMobile } from '@probe.gl/env';
export { isElectron } from '@probe.gl/env';
export { assert } from '@probe.gl/env';
export { Log } from '@probe.gl/log';
export { COLOR } from '@probe.gl/log';
export { default } from '@probe.gl/log';
export { addColor } from '@probe.gl/log';
export { leftPad, rightPad } from '@probe.gl/log';
export { autobind } from '@probe.gl/log';
export { default as LocalStorage } from '@probe.gl/log';
export { default as getHiResTimestamp } from '@probe.gl/log';
export { Stats, Stat } from '@probe.gl/stats';
//# sourceMappingURL=index.js.map
// This file enables: import 'probe.gl/bench'.
// Note: Must be published using package.json "files" field
module.exports = require('./dist/es5/env');
module.exports = require('@probe.gl/env');

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "3.5.0-alpha.1",
"version": "3.5.0-alpha.3",
"keywords": [

@@ -17,3 +17,3 @@ "javascript",

},
"types": "src/index.ts",
"types": "dist/index.d.ts",
"main": "dist/es5/index.js",

@@ -26,15 +26,10 @@ "module": "dist/esm/index.js",

],
"sideEffects": [
"./src/init.js",
"./src/env/globals.js",
"./src/lib/globals.js"
],
"browser": {
"asciify-image": false
},
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.0.0",
"@probe.gl/stats": "3.5.0-alpha.1"
"@probe.gl/env": "3.5.0-alpha.3",
"@probe.gl/log": "3.5.0-alpha.3",
"@probe.gl/stats": "3.5.0-alpha.3"
},
"gitHead": "bf4fa2cbf7acca20d734838560321f36a1ec0ee3"
"gitHead": "2db7d09451852d6547dbc43bd40457c25882edfb"
}

@@ -1,2 +0,2 @@

# @probe.gl/core
# probe.gl

@@ -3,0 +3,0 @@ Logging and instrumentation tools for JavaScript

@@ -1,30 +0,27 @@

import './init';
import {default as Log} from './lib/log';
export {VERSION} from '@probe.gl/env';
export {VERSION} from './utils/globals';
// ENVIRONMENT
export {self, window, global, document, process, console} from './env/globals';
export {default as isBrowser, isBrowserMainThread} from './env/is-browser';
export {default as getBrowser, isMobile} from './env/get-browser';
export {default as isElectron} from './env/is-electron';
export {self, window, global, document, process, console} from '@probe.gl/env';
export {isBrowser, isBrowserMainThread} from '@probe.gl/env';
export {getBrowser, isMobile} from '@probe.gl/env';
export {isElectron} from '@probe.gl/env';
// ENVIRONMENT'S ASSERT IS 5-15KB, SO WE PROVIDE OUR OWN
export {default as assert} from './utils/assert';
export {assert} from '@probe.gl/env';
// LOGGING
export {default as Log} from './lib/log';
export {COLOR} from './utils/color';
export {Log} from '@probe.gl/log';
export {COLOR} from '@probe.gl/log';
// DEFAULT EXPORT IS A LOG INSTANCE
export default new Log({id: 'probe.gl'});
export {default as default} from '@probe.gl/log';
// UTILITIES
export {addColor} from './utils/color';
export {leftPad, rightPad} from './utils/formatters';
export {autobind} from './utils/autobind';
export {default as LocalStorage} from './utils/local-storage';
export {default as getHiResTimestamp} from './utils/hi-res-timestamp';
export {addColor} from '@probe.gl/log';
export {leftPad, rightPad} from '@probe.gl/log';
export {autobind} from '@probe.gl/log';
export {default as LocalStorage} from '@probe.gl/log';
export {default as getHiResTimestamp} from '@probe.gl/log';
// DEPRECATED (Should be imported directly from @probe.gl/stats)
export {Stats, Stat} from '@probe.gl/stats';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc