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

@compas/code-gen

Package Overview
Dependencies
Maintainers
0
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compas/code-gen - npm Package Compare versions

Comparing version 0.16.3 to 0.16.4

4

package.json
{
"name": "@compas/code-gen",
"version": "0.16.3",
"version": "0.16.4",
"description": "Generate various boring parts of your server",

@@ -22,3 +22,3 @@ "exports": {

"dependencies": {
"@compas/stdlib": "0.16.3"
"@compas/stdlib": "0.16.4"
},

@@ -25,0 +25,0 @@ "author": {

@@ -175,4 +175,10 @@ import {

if (relation.subType === "oneToOneReverse" && relation.isOptional) {
// oneToMany's are never optional, since they then return an empty array. A oneToOne is
// only optional if the owning side says so.
joinedExpansionType.optional();
}
expansionType.keys[relationInfo.virtualKeyNameInverse] =
joinedExpansionType.optional().build();
joinedExpansionType.build();
}

@@ -434,3 +440,3 @@

>
: never;
: DefinitionType extends undefined ? undefined : never;

@@ -437,0 +443,0 @@ /// End Query builder resolver types

Sorry, the diff of this file is too big to display

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