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

@cardsgame/utils

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardsgame/utils - npm Package Compare versions

Comparing version 0.1.22 to 0.2.0

37

lib/logs.js
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -96,6 +103,6 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

}
console.debug.apply(console, [
console.debug.apply(console, __spreadArrays([
getIndent(),
"\t"
].concat(args.map(function (arg) { return exports.chalk.gray(arg); })));
], args.map(function (arg) { return exports.chalk.gray(arg); })));
},

@@ -108,6 +115,6 @@ notice: function (first) {

if (args.length > 0) {
console.log.apply(console, [
console.log.apply(console, __spreadArrays([
getIndent(),
first + ":"
].concat(args.map(syntaxHighlight)));
], args.map(syntaxHighlight)));
}

@@ -123,5 +130,5 @@ else {

}
console.info.apply(console, [
console.info.apply(console, __spreadArrays([
getIndent() + exports.chalk.bgBlue.black(" " + first + " ")
].concat(args.map(syntaxHighlight)));
], args.map(syntaxHighlight)));
},

@@ -133,5 +140,5 @@ warn: function (first) {

}
console.warn.apply(console, [
console.warn.apply(console, __spreadArrays([
getIndent() + exports.chalk.bgYellow.black(" " + first + " ")
].concat(args.map(syntaxHighlight)));
], args.map(syntaxHighlight)));
},

@@ -143,5 +150,5 @@ error: function (first) {

}
console.error.apply(console, [
console.error.apply(console, __spreadArrays([
getIndent() + exports.chalk.bgRed(" " + first + " ")
].concat(args.map(syntaxHighlight)));
], args.map(syntaxHighlight)));
},

@@ -153,3 +160,3 @@ group: function (first) {

}
exports.logs.notice.apply(exports.logs, ["\u250D\u2501" + first].concat(args));
exports.logs.notice.apply(exports.logs, __spreadArrays(["\u250D\u2501" + first], args));
indentLevel++;

@@ -162,3 +169,3 @@ },

}
exports.logs.notice.apply(exports.logs, ["\u250D\u2501" + first].concat(args));
exports.logs.notice.apply(exports.logs, __spreadArrays(["\u250D\u2501" + first], args));
indentLevel++;

@@ -173,3 +180,3 @@ },

indentLevel = Math.max(--indentLevel, 0);
exports.logs.notice.apply(exports.logs, ["\u2515\u2501" + first].concat(args));
exports.logs.notice.apply(exports.logs, __spreadArrays(["\u2515\u2501" + first], args));
}

@@ -191,6 +198,6 @@ };

}
return console.info.apply(console, [
return console.info.apply(console, __spreadArrays([
"%c " + first + " ",
styles_1.common + styles_1.info
].concat(args.map(syntaxHighlight)));
], args.map(syntaxHighlight)));
},

@@ -197,0 +204,0 @@ warn: console.warn.bind(console),

{
"name": "@cardsgame/utils",
"version": "0.1.22",
"version": "0.2.0",
"description": "",

@@ -19,5 +19,5 @@ "main": "lib/index.js",

"dependencies": {
"@colyseus/schema": "^0.4.19"
"@colyseus/schema": "^0.4.55"
},
"gitHead": "431defecc0b77bee532e5ae63f8daa34214b8826"
"gitHead": "2de1d4d06868dadd01ff882e2fa53a72f2a13c16"
}

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