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

@ctx-core/logger

Package Overview
Dependencies
Maintainers
1
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/logger - npm Package Compare versions

Comparing version 8.0.10 to 9.0.0

6

CHANGELOG.md
# @ctx-core/logger
## 9.0.0
### Major Changes
- "type": "module": module npm type
## 8.0.10

@@ -4,0 +10,0 @@

1

dist/chalk.d.ts

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

export declare function init_chalk(): void;
export declare function chalk_debug(...arg_a: any[]): void;

@@ -3,0 +2,0 @@ export declare function chalk_log(...arg_a: any[]): void;

@@ -1,6 +0,3 @@

let chalk;
import chalk from 'chalk';
const use_chalk = !!(typeof window === 'undefined' && typeof require === 'function');
export function init_chalk() {
chalk = _chalk();
}
export function chalk_debug(...arg_a) {

@@ -46,12 +43,2 @@ return (console.debug || console.info).apply(console, debug_chalk_a_(...arg_a));

}
function _chalk() {
if (use_chalk) {
return require('chalk');
}
else {
return function chalk(...arg_a) {
return arg_a;
};
}
}
//# sourceMappingURL=../src/dist/chalk.js.map
{
"name": "@ctx-core/logger",
"version": "8.0.10",
"version": "9.0.0",
"description": "ctx-core logger",

@@ -19,2 +19,3 @@ "keywords": [

"author": "Brian Takita",
"type": "module",
"main": "./dist/index.js",

@@ -21,0 +22,0 @@ "module": "./dist/index.js",

@@ -1,9 +0,5 @@

import type { Chalk } from 'chalk'
let chalk:Chalk
import chalk from 'chalk'
const use_chalk = !!(
typeof window === 'undefined' && typeof require === 'function'
)
export function init_chalk() {
chalk = _chalk()
}
export function chalk_debug(...arg_a:any[]) {

@@ -59,10 +55,1 @@ return (console.debug || console.info).apply(console, debug_chalk_a_(...arg_a))

}
function _chalk() {
if (use_chalk) {
return require('chalk')
} else {
return function chalk(...arg_a:any[]) {
return arg_a
}
}
}

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