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

@apigames/json

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apigames/json - npm Package Compare versions

Comparing version 21.1.0 to 21.1.2

2

lib/index.d.ts

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

export { append, areEqual, clone, extractAndRedact, hasProperty, isArray, isBoolean, isDate, isDefined, isDefinedAndNotNull, isEmpty, isError, isFalse, isNumber, isObject, isRegExp, isString, isTrue, isUndefined, isUndefinedOrNull, redactUndefinedValues, stringify, } from './utils';
export { append, areEqual, clone, extractAndRedact, hasProperty, isArray, isBoolean, isDate, isDefined, isDefinedAndNotNull, isEmpty, isError, isFalse, isInteger, isNumber, isObject, isRegExp, isString, isTrue, isUndefined, isUndefinedOrNull, redactUndefinedValues, stringify, } from './utils';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stringify = exports.redactUndefinedValues = exports.isUndefinedOrNull = exports.isUndefined = exports.isTrue = exports.isString = exports.isRegExp = exports.isObject = exports.isNumber = exports.isFalse = exports.isError = exports.isEmpty = exports.isDefinedAndNotNull = exports.isDefined = exports.isDate = exports.isBoolean = exports.isArray = exports.hasProperty = exports.extractAndRedact = exports.clone = exports.areEqual = exports.append = void 0;
exports.stringify = exports.redactUndefinedValues = exports.isUndefinedOrNull = exports.isUndefined = exports.isTrue = exports.isString = exports.isRegExp = exports.isObject = exports.isNumber = exports.isInteger = exports.isFalse = exports.isError = exports.isEmpty = exports.isDefinedAndNotNull = exports.isDefined = exports.isDate = exports.isBoolean = exports.isArray = exports.hasProperty = exports.extractAndRedact = exports.clone = exports.areEqual = exports.append = void 0;
var utils_1 = require("./utils");

@@ -18,2 +18,3 @@ Object.defineProperty(exports, "append", { enumerable: true, get: function () { return utils_1.append; } });

Object.defineProperty(exports, "isFalse", { enumerable: true, get: function () { return utils_1.isFalse; } });
Object.defineProperty(exports, "isInteger", { enumerable: true, get: function () { return utils_1.isInteger; } });
Object.defineProperty(exports, "isNumber", { enumerable: true, get: function () { return utils_1.isNumber; } });

@@ -20,0 +21,0 @@ Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return utils_1.isObject; } });

@@ -9,2 +9,3 @@ export declare function isArray(value: any): value is Array<any>;

export declare function isNumber(value: any): value is number;
export declare function isInteger(value: any): value is number;
export declare function isObject(value: any): value is Object;

@@ -11,0 +12,0 @@ export declare function isEmpty(document: any): boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractAndRedact = exports.stringify = exports.clone = exports.redactUndefinedValues = exports.areEqual = exports.append = exports.hasProperty = exports.isUndefinedOrNull = exports.isUndefined = exports.isTrue = exports.isString = exports.isRegExp = exports.isEmpty = exports.isObject = exports.isNumber = exports.isFalse = exports.isError = exports.isDefinedAndNotNull = exports.isDefined = exports.isDate = exports.isBoolean = exports.isArray = void 0;
exports.extractAndRedact = exports.stringify = exports.clone = exports.redactUndefinedValues = exports.areEqual = exports.append = exports.hasProperty = exports.isUndefinedOrNull = exports.isUndefined = exports.isTrue = exports.isString = exports.isRegExp = exports.isEmpty = exports.isObject = exports.isInteger = exports.isNumber = exports.isFalse = exports.isError = exports.isDefinedAndNotNull = exports.isDefined = exports.isDate = exports.isBoolean = exports.isArray = void 0;
const deepEqual = require('deep-equal');

@@ -39,2 +39,6 @@ const clonedeep = require('lodash.clonedeep');

exports.isNumber = isNumber;
function isInteger(value) {
return isNumber(value) && (value % 1 === 0);
}
exports.isInteger = isInteger;
function isObject(value) {

@@ -41,0 +45,0 @@ return ((value !== null) && ((value !== undefined))) && (typeof value === 'object')

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "21.1.0",
"version": "21.1.2",
"main": "lib/index.js",

@@ -29,3 +29,3 @@ "types": "lib/index.d.ts",

"@types/jest": "26.0.24",
"@types/node": "14.17.21",
"@types/node": "14.17.33",
"@typescript-eslint/eslint-plugin": "4.33.0",

@@ -35,9 +35,9 @@ "@typescript-eslint/parser": "4.33.0",

"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.27.0",
"eslint-plugin-react-hooks": "4.3.0",
"jest": "27.0.6",
"ts-jest": "27.0.4",
"typescript": "4.4.3"
"typescript": "4.4.4"
},

@@ -44,0 +44,0 @@ "eslintConfig": {},

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