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
3
Versions
240
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 3.0.1 to 3.0.2-build-resource-typing-ba1301734f1a71dc2a920d1f378173a6bfa7c4a5-1

6

CHANGELOG.md

@@ -7,4 +7,8 @@ # Change Log

## 3.0.1 - 2024-05-03
## 3.0.2 - 2024-05-09
* Improve `Resource` typing [Pagan Gazzard]
## 3.0.1 - 2024-05-04
* Use `[A] | []` rather than `[A?]` for singular references [Pagan Gazzard]

@@ -11,0 +15,0 @@ * Fix `Resource` typing to allow for null [Pagan Gazzard]

4

out/index.d.ts

@@ -13,3 +13,5 @@ import type { Types } from '@balena/sbvr-types';

type WriteTypes = Types[keyof Types]['Write'];
export type Resource<T extends object = object> = {
export type Resource<T extends object = {
[index: string]: any;
}> = {
Read: {

@@ -16,0 +18,0 @@ [key in keyof T]: ReadTypes | {

{
"name": "@balena/abstract-sql-to-typescript",
"version": "3.0.1",
"version": "3.0.2-build-resource-typing-ba1301734f1a71dc2a920d1f378173a6bfa7c4a5-1",
"description": "A translator for abstract sql into typescript types.",

@@ -53,4 +53,4 @@ "main": "out/index.js",

"versionist": {
"publishedAt": "2024-05-03T16:59:03.119Z"
"publishedAt": "2024-05-09T18:58:22.046Z"
}
}

@@ -16,3 +16,7 @@ import type { Types } from '@balena/sbvr-types';

export type Resource<T extends object = object> = {
export type Resource<
T extends object = {
[index: string]: any;
},
> = {
Read: {

@@ -19,0 +23,0 @@ [key in keyof T]:

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