
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.
@stackmeister/json-ref
Advanced tools
Typing and utilities for working with JSON-Schema Refs ({ $ref: '' })
// Yarn
yarn add @stackmeister/json-ref
// NPM
npm i @stackmeister/json-ref
TypeScript typings are included (No @types/ package needed)
The most important key function of this library is dereferencing.
It takes any value and will recursively resolve any JSON-refs found in it.
It supports all common operations regarding $id and $anchor in the JSON-schema standard.
Notice the input value doesn't have to be a JSON-Schema! Dereferencing can be used on any JavaScript value freely.
import type { deref } from '@stackmeister/json-ref'
const user = {
properties: {
email: { $ref: '#/$defs/email' },
password: { type: 'string', minLength: 5 },
},
$defs: {
email: { type: 'string' }
}
}
const resolvedUser = await deref(user)
Resolving external URLs, handling internal ID/Base-URLs via $id, internal anchors etc. are all fully supported.
It also comes with proper typing which allows you to cleanly remove refs from a type-definition once resolved.
FAQs
@stackmeister/json-ref ==========================
We found that @stackmeister/json-ref demonstrated a not healthy version release cadence and project activity because the last version was released 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.