Socket
Socket
Sign inDemoInstall

@aws-amplify/data-schema-types

Package Overview
Dependencies
Maintainers
10
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/data-schema-types - npm Package Compare versions

Comparing version 0.6.8 to 0.6.9

1

lib-esm/util.d.ts

@@ -51,2 +51,3 @@ /**

export type ObjectIsNonEmpty<T extends object> = keyof T extends never ? false : true;
export type HasKey<Obj extends Record<string, any>, Key extends string> = Key extends keyof Obj ? true : false;
/**

@@ -53,0 +54,0 @@ * @returns element type for arrays; otherwise returns passed-in type as is

2

package.json
{
"name": "@aws-amplify/data-schema-types",
"version": "0.6.8",
"version": "0.6.9",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./lib-esm/index.d.ts",

@@ -19,4 +19,4 @@ /**

: T extends object
? { [P in keyof T]: Prettify<T[P]> }
: T;
? { [P in keyof T]: Prettify<T[P]> }
: T;

@@ -59,3 +59,2 @@ declare const brand: unique symbol;

export type IsFalse<T extends false> = T;
export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <

@@ -76,2 +75,7 @@ T,

export type HasKey<
Obj extends Record<string, any>,
Key extends string,
> = Key extends keyof Obj ? true : false;
/**

@@ -85,3 +89,3 @@ * @returns element type for arrays; otherwise returns passed-in type as is

: T extends Record<any, any>
? { readonly [k in keyof T]: DeepReadOnlyObject<T[k]> }
: T;
? { readonly [k in keyof T]: DeepReadOnlyObject<T[k]> }
: T;
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