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

@probe.gl/log

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@probe.gl/log - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

10

dist/es5/log.js

@@ -5,2 +5,4 @@ "use strict";

var _typeof3 = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -36,4 +38,8 @@ value: true

var _nodeAsciifyImage = require("./node/node-asciify-image");
var asciify = _interopRequireWildcard(require("./node/node-asciify-image"));
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 _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(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 originalConsole = {

@@ -431,3 +437,3 @@ debug: _env.isBrowser ? console.debug || console.log : console.log,

scale = _ref3$scale === void 0 ? 1 : _ref3$scale;
(0, _nodeAsciifyImage.nodeAsciifyImage)({
asciify.nodeAsciifyImage({
image: image,

@@ -434,0 +440,0 @@ message: message,

4

dist/esm/log.js

@@ -9,3 +9,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

import { getHiResTimestamp } from './utils/hi-res-timestamp';
import { nodeAsciifyImage } from './node/node-asciify-image';
import * as asciify from './node/node-asciify-image';
const originalConsole = {

@@ -379,3 +379,3 @@ debug: isBrowser ? console.debug || console.log : console.log,

} = _ref2;
nodeAsciifyImage({
asciify.nodeAsciifyImage({
image,

@@ -382,0 +382,0 @@ message,

@@ -10,3 +10,3 @@ // probe.gl, MIT license

import { getHiResTimestamp } from './utils/hi-res-timestamp';
import { nodeAsciifyImage } from './node/node-asciify-image';
import * as asciify from './node/node-asciify-image';
// Instrumentation in other packages may override console methods, so preserve them here

@@ -308,3 +308,3 @@ const originalConsole = {

function logImageInNode({ image, message = '', scale = 1 }) {
nodeAsciifyImage({ image, message, scale });
asciify.nodeAsciifyImage({ image, message, scale });
return noop;

@@ -311,0 +311,0 @@ }

@@ -18,3 +18,3 @@ // probe.gl, MIT license

const data = await asciify(image, { fit: 'box', width: `${Math.round(80 * scale)}%` });
console.log(data);
console.log(data); // eslint-disable-line no-console
};

@@ -21,0 +21,0 @@ }

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

"license": "MIT",
"version": "3.5.1",
"version": "3.5.2",
"keywords": [

@@ -36,5 +36,5 @@ "javascript",

"@babel/runtime": "^7.0.0",
"@probe.gl/env": "3.5.1"
"@probe.gl/env": "3.5.2"
},
"gitHead": "ef8080893c4f82ae4aa30f5c5b8412c6c0ef1aac"
"gitHead": "f219c2b6a3609b4b34eb82d14766de771882b94c"
}

@@ -11,3 +11,3 @@ // probe.gl, MIT license

import {getHiResTimestamp} from './utils/hi-res-timestamp';
import {nodeAsciifyImage} from './node/node-asciify-image';
import * as asciify from './node/node-asciify-image';

@@ -430,3 +430,3 @@ // Instrumentation in other packages may override console methods, so preserve them here

function logImageInNode({image, message = '', scale = 1}) {
nodeAsciifyImage({image, message, scale});
asciify.nodeAsciifyImage({image, message, scale});
return noop;

@@ -433,0 +433,0 @@ }

@@ -18,3 +18,3 @@ // probe.gl, MIT license

const data = await asciify(image, {fit: 'box', width: `${Math.round(80 * scale)}%`});
console.log(data);
console.log(data); // eslint-disable-line no-console
};

@@ -21,0 +21,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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