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

amplify-util-headless-input

Package Overview
Dependencies
Maintainers
3
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-util-headless-input - npm Package Compare versions

Comparing version 1.9.9 to 1.9.10-rc.4affb9331.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.9.10-rc.4affb9331.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-util-headless-input@1.9.9...amplify-util-headless-input@1.9.10-rc.4affb9331.0) (2023-02-06)
**Note:** Version bump only for package amplify-util-headless-input
## [1.9.9](https://github.com/aws-amplify/amplify-cli/compare/amplify-util-headless-input@1.9.8...amplify-util-headless-input@1.9.9) (2023-02-02)

@@ -8,0 +16,0 @@

4

lib/HeadlessInputValidator.d.ts

@@ -10,7 +10,7 @@ import { JSONSchema7 } from 'json-schema';

}
export declare type VersionedSchemaSupplier = (version: number) => Promise<{
export type VersionedSchemaSupplier = (version: number) => Promise<{
readonly rootSchema: JSONSchema7;
readonly dependencySchemas?: JSONSchema7[];
} | void>;
export declare type VersionUpgradePipeline = (version: number) => ((...args: unknown[]) => unknown)[];
export type VersionUpgradePipeline = (version: number) => ((...args: unknown[]) => unknown)[];
//# sourceMappingURL=HeadlessInputValidator.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -68,5 +72,6 @@ if (k2 === undefined) k2 = k;

const getSchema = async (type, category, version) => {
var _a;
try {
return {
rootSchema: await Promise.resolve().then(() => __importStar(require(`amplify-headless-interface/schemas/${category}/${version}/${type}.schema.json`))),
rootSchema: await (_a = `amplify-headless-interface/schemas/${category}/${version}/${type}.schema.json`, Promise.resolve().then(() => __importStar(require(_a)))),
};

@@ -73,0 +78,0 @@ }

{
"name": "amplify-util-headless-input",
"version": "1.9.9",
"version": "1.9.10-rc.4affb9331.0",
"description": "Logic for validating objects against JSON-schema specs and performing version upgrades when necessary / possible",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

"ajv": "^6.12.6",
"amplify-headless-interface": "1.17.0"
"amplify-headless-interface": "1.17.1-rc.4affb9331.0"
},

@@ -28,2 +28,6 @@ "devDependencies": {

"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx}",
"!src/__tests__/"
],
"clearMocks": true,

@@ -36,3 +40,3 @@ "coverageDirectory": "coverage",

},
"gitHead": "5370e8badb701f018ddc7459b3bf0ee7c80a7444"
"gitHead": "806f12146014f44a08909f9196aaff13079c27ba"
}

Sorry, the diff of this file is not supported yet

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