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

dsacjs

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsacjs - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1-test

dist/dataStructures/SingleLinkedList.js

6

dist/index.js

@@ -6,4 +6,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.LinkedList = void 0;
const LinkedList_1 = __importDefault(require("./dataStructures/LinkedList"));
exports.LinkedList = LinkedList_1.default;
exports.SingleLinkedList = void 0;
const SingleLinkedList_1 = __importDefault(require("./dataStructures/SingleLinkedList"));
exports.SingleLinkedList = SingleLinkedList_1.default;

@@ -7,56 +7,56 @@ "use strict";

}
log(message) {
log(data) {
if (this.prefix) {
console.log(`[${this.prefix}] ${message}`);
console.log(`[${this.prefix}] ${data}`);
}
else {
console.log(message);
console.log(data);
}
}
error(message) {
error(data) {
if (this.prefix) {
console.error(`[${this.prefix}] ${message}`);
console.error(`[${this.prefix}] ${data}`);
}
else {
console.error(message);
console.error(data);
}
}
warn(message) {
warn(data) {
if (this.prefix) {
console.warn(`[${this.prefix}] ${message}`);
console.warn(`[${this.prefix}] ${data}`);
}
else {
console.warn(message);
console.warn(data);
}
}
info(message) {
info(data) {
if (this.prefix) {
console.info(`[${this.prefix}] ${message}`);
console.info(`[${this.prefix}] ${data}`);
}
else {
console.info(message);
console.info(data);
}
}
debug(message) {
debug(data) {
if (this.prefix) {
console.debug(`[${this.prefix}] ${message}`);
console.debug(`[${this.prefix}] ${data}`);
}
else {
console.debug(message);
console.debug(data);
}
}
trace(message) {
trace(data) {
if (this.prefix) {
console.trace(`[${this.prefix}] ${message}`);
console.trace(`[${this.prefix}] ${data}`);
}
else {
console.trace(message);
console.trace(data);
}
}
group(message) {
group(data) {
if (this.prefix) {
console.group(`[${this.prefix}] ${message}`);
console.group(`[${this.prefix}] ${data}`);
}
else {
console.group(message);
console.group(data);
}

@@ -67,8 +67,8 @@ }

}
verbose(message) {
verbose(data) {
if (this.prefix) {
console.log(`[VERBOSE] [${this.prefix}] ${message}`);
console.log(`[VERBOSE] [${this.prefix}] ${data}`);
}
else {
console.log(`[VERBOSE] ${message}`);
console.log(`[VERBOSE] ${data}`);
}

@@ -75,0 +75,0 @@ }

{
"name": "dsacjs",
"version": "0.0.0",
"version": "0.0.1-test",
"description": "A high-performance JavaScript and TypeScript library offering a comprehensive set of efficient data structures. Simplify your algorithm implementation and data manipulation with optimized, easy-to-use tools.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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

import LinkedList from "./dataStructures/LinkedList";
export { LinkedList };
import SingleLinkedList from "./dataStructures/SingleLinkedList";
export { SingleLinkedList };
export default class Logger {
private readonly prefix;
constructor(prefix?: string);
log(message: string): void;
error(message: string): void;
warn(message: string): void;
info(message: string): void;
debug(message: string): void;
trace(message: string): void;
group(message: string): void;
log(data: any): void;
error(data: any): void;
warn(data: any): void;
info(data: any): void;
debug(data: any): void;
trace(data: any): void;
group(data: any): void;
groupEnd(): void;
verbose(message: string): void;
verbose(data: any): void;
}
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