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 1.0.47 to 1.0.48

2

lib/index.d.ts

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

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

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

Object.defineProperty(exports, "isDefined", { enumerable: true, get: function () { return utils_1.isDefined; } });
Object.defineProperty(exports, "isDefinedAndNotNull", { enumerable: true, get: function () { return utils_1.isDefinedAndNotNull; } });
Object.defineProperty(exports, "isUndefined", { enumerable: true, get: function () { return utils_1.isUndefined; } });
Object.defineProperty(exports, "isUndefinedOrNull", { enumerable: true, get: function () { return utils_1.isUndefinedOrNull; } });
Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return utils_1.stringify; } });

@@ -11,3 +11,5 @@ export declare function isArray(value: any): boolean;

export declare function isDefined(value: any): boolean;
export declare function isDefinedAndNotNull(value: any): boolean;
export declare function isUndefined(value: any): boolean;
export declare function isUndefinedOrNull(value: any): boolean;
export declare function hasProperty(obj: any, property: string): boolean;

@@ -14,0 +16,0 @@ export declare function append(document: any, extensionDocument: any): any;

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

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

exports.isDefined = isDefined;
function isDefinedAndNotNull(value) {
return (value !== undefined) && (value !== null);
}
exports.isDefinedAndNotNull = isDefinedAndNotNull;
function isUndefined(value) {

@@ -51,2 +55,6 @@ return (value === undefined);

exports.isUndefined = isUndefined;
function isUndefinedOrNull(value) {
return (value === undefined) || (value === null);
}
exports.isUndefinedOrNull = isUndefinedOrNull;
function hasProperty(obj, property) {

@@ -53,0 +61,0 @@ return isDefined(obj) && isObject(obj) && Object.prototype.hasOwnProperty.call(obj, property);

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

"license": "MIT",
"version": "1.0.47",
"version": "1.0.48",
"main": "lib/index.js",

@@ -23,20 +23,20 @@ "types": "lib/index.d.ts",

"dependencies": {
"deep-equal": "^2.0.5",
"es6-promise": "^4.2.8",
"lodash.clonedeep": "^4.5.0"
"deep-equal": "2.0.5",
"es6-promise": "4.2.8",
"lodash.clonedeep": "4.5.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^14.14.43",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
"@types/jest": "26.0.23",
"@types/node": "14.14.45",
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.23.0",
"eslint": "7.26.0",
"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.23.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-react-hooks": "4.2.0",
"jest": "26.6.3",
"ts-jest": "26.5.6",
"typescript": "4.2.4"
},

@@ -43,0 +43,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