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

@balena/abstract-sql-to-typescript

Package Overview
Dependencies
Maintainers
4
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/abstract-sql-to-typescript - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1-fix-pick-helpers-ab7a898e7d55c50f0702560d4df1f2b29a775b90

4

CHANGELOG.md

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

## 1.1.1 - 2021-01-04
* Fix PickExpanded/PickDeferred type helpers [Pagan Gazzard]
## 1.1.0 - 2020-12-30

@@ -9,0 +13,0 @@

4

out/index.js

@@ -10,7 +10,7 @@ "use strict";

export type Expanded<T> = Extract<T, any[]>;
export type PickExpanded<T, U extends keyof T> = {
export type PickExpanded<T, K extends keyof T> = {
[P in K]: Expanded<T[P]>;
};
export type Deferred<T> = Exclude<T, any[]>;
export type PickDeferred<T, U extends keyof T> = {
export type PickDeferred<T, K extends keyof T> = {
[P in K]: Deferred<T[P]>;

@@ -17,0 +17,0 @@ };

{
"name": "@balena/abstract-sql-to-typescript",
"version": "1.1.0",
"version": "1.1.1-fix-pick-helpers-ab7a898e7d55c50f0702560d4df1f2b29a775b90",
"description": "A translator for abstract sql into typescript types.",

@@ -5,0 +5,0 @@ "main": "out/index.js",

@@ -14,7 +14,7 @@ import {

export type Expanded<T> = Extract<T, any[]>;
export type PickExpanded<T, U extends keyof T> = {
export type PickExpanded<T, K extends keyof T> = {
[P in K]: Expanded<T[P]>;
};
export type Deferred<T> = Exclude<T, any[]>;
export type PickDeferred<T, U extends keyof T> = {
export type PickDeferred<T, K extends keyof T> = {
[P in K]: Deferred<T[P]>;

@@ -21,0 +21,0 @@ };

@@ -27,7 +27,7 @@ import { AbstractSqlModel } from '@balena/abstract-sql-compiler';

export type Expanded<T> = Extract<T, any[]>;
export type PickExpanded<T, U extends keyof T> = {
export type PickExpanded<T, K extends keyof T> = {
[P in K]: Expanded<T[P]>;
};
export type Deferred<T> = Exclude<T, any[]>;
export type PickDeferred<T, U extends keyof T> = {
export type PickDeferred<T, K extends keyof T> = {
[P in K]: Deferred<T[P]>;

@@ -34,0 +34,0 @@ };

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