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

api-typescript-generator

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-typescript-generator - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

2

lib/schema-to-typescript/common/models.js

@@ -199,3 +199,3 @@ "use strict";

const registerFunctionName = generateRegisterValidationSchemasFunctionName(depInfo.scope);
(0, dependencies_1.addDependencyImport)(dependencyImports, depPath, depInfo.modelName, {
(0, dependencies_1.addDependencyImport)(dependencyImports, depPath, registerFunctionName, {
kind: 'value',

@@ -202,0 +202,0 @@ entity: { name: registerFunctionName }

{
"name": "api-typescript-generator",
"version": "2.1.6",
"version": "2.1.7",
"description": "Generates OpenAPI TypeScript client. Extremely fast and flexible.",

@@ -42,3 +42,3 @@ "license": "MIT",

"precheck": "tsc --noEmit && jest && ",
"build": "rimraf lib && tsc -p tsconfig.build.json && cp -R src/schema-to-typescript/common/core lib/schema-to-typescript/common/core && cp -R src/schema-to-typescript/common/validation-providers/zod-validation-provider/{format-error-message,make-extensible}.ts lib/schema-to-typescript/common/validation-providers/zod-validation-provider",
"build": "rimraf lib && tsc -p tsconfig.build.json && cp -R src/schema-to-typescript/common/core lib/schema-to-typescript/common/core && cp -R src/schema-to-typescript/common/validation-providers/zod-validation-provider/*-*.ts lib/schema-to-typescript/common/validation-providers/zod-validation-provider",
"build:docs": "rm -Rf docs && typedoc --exclude test --excludeInternal --excludeExternals --disableSources --plugin typedoc-plugin-markdown --entryDocument ../README.md --out docs src/index.ts src/openapi.ts src/openapi-client.ts && ts-node tools/cleanup-docs.ts",

@@ -45,0 +45,0 @@ "prepublishOnly": "npm run build && npm run build:docs",

@@ -305,3 +305,3 @@ import path from 'path';

const registerFunctionName = generateRegisterValidationSchemasFunctionName(depInfo.scope);
addDependencyImport(dependencyImports, depPath, depInfo.modelName, {
addDependencyImport(dependencyImports, depPath, registerFunctionName, {
kind: 'value',

@@ -308,0 +308,0 @@ entity: {name: registerFunctionName}

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