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

106

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

106 - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

10

browser.ts

@@ -9,4 +9,12 @@ 'use strict';

const logger = lib( browserLogger( ) );
const _glob = < any >global;
const loggerInstance =
_glob.__106_instance__
? _glob.__106_instance__
: browserLogger( );
_glob.__106_instance__ = loggerInstance;
const logger = lib( loggerInstance );
export { logger }

@@ -13,0 +21,0 @@ export * from './lib/index'

@@ -8,3 +8,8 @@ 'use strict';

var index_1 = require("./lib/index");
var logger = index_1.default(logger_browser_js_1.default());
var _glob = global;
var loggerInstance = _glob.__106_instance__
? _glob.__106_instance__
: logger_browser_js_1.default();
_glob.__106_instance__ = loggerInstance;
var logger = index_1.default(loggerInstance);
exports.logger = logger;

@@ -11,0 +16,0 @@ __export(require("./lib/index"));

@@ -5,3 +5,8 @@ 'use strict';

var extra = require("./lib/index");
var logger = index_1.default(logger_node_js_1.default());
var _glob = global;
var loggerInstance = _glob.__106_instance__
? _glob.__106_instance__
: logger_node_js_1.default();
_glob.__106_instance__ = loggerInstance;
var logger = index_1.default(loggerInstance);
for (var _i = 0, _a = Object.keys(extra); _i < _a.length; _i++) {

@@ -8,0 +13,0 @@ var key = _a[_i];

@@ -10,3 +10,11 @@ 'use strict';

const logger = lib( nodeLogger( ) );
const _glob = < any >global;
const loggerInstance =
_glob.__106_instance__
? _glob.__106_instance__
: nodeLogger( );
_glob.__106_instance__ = loggerInstance;
const logger = lib( loggerInstance );
for ( const key of Object.keys( extra ) )

@@ -13,0 +21,0 @@ logger[ key ] = extra[ key ];

2

package.json

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

"license": "MIT",
"version": "2.0.4",
"version": "2.0.5",
"author": "Gustaf Räntilä <g.rantila@gmail.com>",

@@ -8,0 +8,0 @@ "repository": {

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