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.32 to 1.0.33

2

lib/index.d.ts

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

export { append, areEqual, clone, extractAndRedact, 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, isUndefined, 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.extractAndRedact = exports.clone = exports.areEqual = exports.append = void 0;
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;
var utils_1 = require("./utils");

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

Object.defineProperty(exports, "extractAndRedact", { enumerable: true, get: function () { return utils_1.extractAndRedact; } });
Object.defineProperty(exports, "hasProperty", { enumerable: true, get: function () { return utils_1.hasProperty; } });
Object.defineProperty(exports, "isArray", { enumerable: true, get: function () { return utils_1.isArray; } });

@@ -11,0 +12,0 @@ Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return utils_1.isBoolean; } });

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

export declare function isUndefined(value: any): boolean;
export declare function hasProperty(obj: any, property: string): boolean;
export declare function append(document: any, extensionDocument: any): any;

@@ -14,0 +15,0 @@ export declare function areEqual(firstObject: any, secondObject: any): boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractAndRedact = exports.stringify = exports.clone = exports.redactUndefinedValues = exports.areEqual = exports.append = 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.isUndefined = 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');

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

exports.isUndefined = isUndefined;
function hasProperty(obj, property) {
return isDefined(obj) && isObject(obj) && Object.prototype.hasOwnProperty.call(obj, property);
}
exports.hasProperty = hasProperty;
function append(document, extensionDocument) {

@@ -52,0 +56,0 @@ const doc = document || {};

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

"license": "MIT",
"version": "1.0.32",
"version": "1.0.33",
"main": "lib/index.js",

@@ -9,0 +9,0 @@ "types": "lib/index.d.ts",

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