Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

schemaglobin

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemaglobin - npm Package Compare versions

Comparing version 5.8.1 to 5.9.0

4

dist/helpers/object.d.ts

@@ -9,2 +9,6 @@ import type { UnknownObject } from "../types";

export declare const objectFromEntries: <V>(entries: [string, V][]) => Record<string, V>;
/** Extract the key from an object entry. */
export declare const getEntryKey: ([k]: [string, unknown]) => string;
/** Extract the value from an object entry. */
export declare const getEntryValue: <V>([, p]: [string, V]) => V;
/** Symbol that allows you to filter out results during mapping. */

@@ -11,0 +15,0 @@ export declare const SKIP: unique symbol;

"use strict";
/* eslint-disable no-param-reassign */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProp = exports.updateProp = exports.setProp = exports.deleteProp = exports.resolveObject = exports.objectFromKeys = exports.mapObjectKeys = exports.mapObject = exports.SKIP = exports.objectFromEntries = exports.isObject = void 0;
exports.getProp = exports.updateProp = exports.setProp = exports.deleteProp = exports.resolveObject = exports.objectFromKeys = exports.mapObjectKeys = exports.mapObject = exports.SKIP = exports.getEntryValue = exports.getEntryKey = exports.objectFromEntries = exports.isObject = void 0;
/** Is a value an unknown object? (is a TypeScript assertion object that asserts various things). */

@@ -21,2 +21,6 @@ exports.isObject = (value) => typeof value === "object" && value !== null;

};
/** Extract the key from an object entry. */
exports.getEntryKey = ([k]) => k;
/** Extract the value from an object entry. */
exports.getEntryValue = ([, p]) => p;
/** Symbol that allows you to filter out results during mapping. */

@@ -23,0 +27,0 @@ exports.SKIP = Symbol("schemaglobin/object/SKIP");

20

package.json
{
"name": "schemaglobin",
"description": "Validate user-entered data.",
"version": "5.8.1",
"version": "5.9.0",
"repository": "https://github.com/dhoulb/schemaglobin",

@@ -30,14 +30,14 @@ "author": "Dave Houlbrooke <dave@shax.com>",

"devDependencies": {
"@types/jest": "^26.0.13",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.4.2",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
}
}
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