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.12.9 to 0.12.17

0

lib/arrays.d.ts

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const noop: () => void;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from "./arrays";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const isBrowser: any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Chalk from "chalk";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const limit: (val: number, min?: number, max?: number) => number;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const deepClone: (value: unknown) => any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

6

lib/utils.d.ts

@@ -23,8 +23,2 @@ /// <reference types="@cardsgame/types" />

export declare const isSet: (thing: unknown) => thing is Set<any>;
/**
* Check if a `thing` is just a literal object (using typeof), and not Array or anything else.
* @deprecated never used and there are probably better ways of doing that
* @param thing
*/
export declare const isObject: (thing: unknown) => thing is Record<any, any>;
export declare function applyMixins(derivedCtor: AnyClass, baseCtors: any[]): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyMixins = exports.isObject = exports.isSet = exports.isMapLike = exports.isMap = exports.timeout = exports.compose = exports.def = void 0;
exports.applyMixins = exports.isSet = exports.isMapLike = exports.isMap = exports.timeout = exports.compose = exports.def = void 0;
/**

@@ -86,17 +86,2 @@ * Returns first, *defined* value

exports.isSet = isSet;
/**
* Check if a `thing` is just a literal object (using typeof), and not Array or anything else.
* @deprecated never used and there are probably better ways of doing that
* @param thing
*/
var isObject = function (thing) {
if (typeof thing !== "object") {
return false;
}
if (Array.isArray(thing) || (0, exports.isMap)(thing) || (0, exports.isSet)(thing)) {
return false;
}
return true;
};
exports.isObject = isObject;
function applyMixins(derivedCtor, baseCtors) {

@@ -103,0 +88,0 @@ baseCtors.forEach(function (baseCtor) {

9

package.json
{
"name": "@cardsgame/utils",
"version": "0.12.9",
"version": "0.12.17",
"description": "",

@@ -26,8 +26,9 @@ "author": "Darek Greenly (https://darekgreenly.com)",

"dependencies": {
"@cardsgame/types": "file:../types",
"chalk": "^4.1.0"
"@cardsgame/types": "^0.12.17",
"chalk": "^4.1.2"
},
"devDependencies": {
"@types/node": "^14.14.6"
}
},
"gitHead": "c0cc240dcf2f209c11a4ce0025e463519dc084a1"
}

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