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.15.0 to 0.15.1

4

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

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

"dependencies": {
"@compas/stdlib": "0.15.0"
"@compas/stdlib": "0.15.1"
},

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

@@ -418,3 +418,7 @@ import { AnyType } from "../builders/index.js";

fileWrite(file, `await ${group}Handlers.${route.name}(ctx as any);`);
if (file.relativePath.endsWith(".ts")) {
fileWrite(file, `await ${group}Handlers.${route.name}(ctx as any);`);
} else {
fileWrite(file, `await ${group}Handlers.${route.name}(ctx);`);
}

@@ -421,0 +425,0 @@ if (route.response) {

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