
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@devup-api/zod
Advanced tools
Zod schema generation for devup-api. This package provides runtime validation schemas generated from your OpenAPI specification.
npm install @devup-api/zod zod
This package works in conjunction with devup-api bundler plugins. The Zod schemas are provided as virtual files by the bundler plugins.
// vite.config.ts
import { defineConfig } from 'vite'
import devupApi from '@devup-api/vite-plugin'
export default defineConfig({
plugins: [devupApi()],
})
import { schemas } from '@devup-api/zod'
// Access generated Zod schemas
const userSchema = schemas.response.User
const createUserSchema = schemas.request.CreateUserRequest
const errorSchema = schemas.error.ApiError
// Validate data
const result = userSchema.safeParse(data)
if (result.success) {
console.log('Valid user:', result.data)
} else {
console.error('Validation errors:', result.error)
}
import { schemas, type SchemaTypes } from '@devup-api/zod'
import { z } from 'zod'
// Infer types from schemas
type User = z.infer<typeof schemas.response.User>
type CreateUserRequest = z.infer<typeof schemas.request.CreateUserRequest>
// Or use the pre-defined types
type User = SchemaTypes['response']['User']
@devup-api/zod, the bundler provides the generated schemas as a virtual fileSimilar to @devup-api/fetch, this package uses a two-phase typing system:
any to prevent type errorsApache 2.0
FAQs
Unknown package
We found that @devup-api/zod demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.