New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

consolev

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consolev - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

3

lib/consolev.js
/* eslint-disable */
var version = process.env.VERSION || process.env.REACT_APP_VERSION;
module.exports = function () {

@@ -16,3 +15,3 @@ var args = Array.prototype.slice.call(arguments).map(function (val) {

}).join(' ');
console.log('%c [' + process.env.NODE_ENV + '] ' + version + ' %c ' + args, 'background: ' + (process.env.NODE_ENV === 'production' ? '#000' : '#f00') + '; color: #fff;', '');
console.log('%c [' + process.env.NODE_ENV + '] %c ' + args, 'background: ' + (process.env.NODE_ENV === 'production' ? '#000' : '#f00') + '; color: #fff;', '');
};
{
"name": "consolev",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/consolev.js",

@@ -0,0 +0,0 @@ # consolev

/* eslint-disable */
const version = process.env.VERSION || process.env.REACT_APP_VERSION;
module.exports = function() {
module.exports = function () {
const args = Array.prototype.slice
.call(arguments)
.map(val => {
.map((val) => {
if (val === undefined) {

@@ -20,3 +19,3 @@ return 'undefined';

console.log(
`%c [${process.env.NODE_ENV}] ${version} %c ${args}`,
`%c [${process.env.NODE_ENV}] %c ${args}`,
`background: ${

@@ -23,0 +22,0 @@ process.env.NODE_ENV === 'production' ? '#000' : '#f00'

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