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.4.0 to 0.5.0

5

lib/arrays.js

@@ -36,8 +36,7 @@ "use strict";

}
else if (typeof fn === "undefined") {
else if (typeof fn === "undefined" || fn === false) {
return prevArr;
}
else {
throw new Error("utils/mapCompose, I expected a function at arg" + (idx +
1) + ", got \"" + typeof fn + "\" instead...");
throw new Error("utils/mapCompose, I expected a function at arg" + (idx + 1) + ", got \"" + typeof fn + "\" instead...");
}

@@ -44,0 +43,0 @@ }, array || []);

14

lib/logs.js

@@ -31,3 +31,3 @@ "use strict";

exports.chalk = new chalk_1.default.Instance({
level: isBrowser ? 0 : exports.IS_CHROME ? 0 : 1
level: isBrowser ? 0 : exports.IS_CHROME ? 0 : 1,
});

@@ -96,5 +96,3 @@ var LogLevels;

var getIndent = function () {
return Array(indentLevel)
.fill("│ ")
.join("");
return Array(indentLevel).fill("│ ").join("");
};

@@ -110,3 +108,3 @@ if (isBrowser) {

groupCollapsed: console.groupCollapsed.bind(window.console),
groupEnd: console.groupEnd.bind(window.console)
groupEnd: console.groupEnd.bind(window.console),
};

@@ -192,3 +190,3 @@ }

exports.logs.notice.apply(exports.logs, __spread(["\u2515\u2501" + first], args));
}
},
};

@@ -199,3 +197,3 @@ }

common: "padding: 1px 5px; margin: -1px 0;",
info: "color: white; background: #2196f3"
info: "color: white; background: #2196f3",
};

@@ -239,3 +237,3 @@ exports.logs = {

},
groupEnd: console.groupEnd.bind(console)
groupEnd: console.groupEnd.bind(console),
};

@@ -242,0 +240,0 @@ }

{
"name": "@cardsgame/utils",
"version": "0.4.0",
"version": "0.5.0",
"description": "",

@@ -22,3 +22,3 @@ "author": "Darek Greenly (https://darekgreenly.com)",

},
"gitHead": "8b00535f4a117e4560921438b56f26d7741bc640"
"gitHead": "6d01f853bbe9456b8edcd9a9524b3afd2f21666a"
}

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

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