
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
openapi-utils-defaults
Advanced tools
Defaults api parts into an openapi definition.
npm install -g openapi-utils-defaults
Given the example files displayed below (api.yaml and x-a127.yaml), the following command
openapi-utils-defaults -s x-a127.yaml -t api.yaml > api.json
Will result in the api.json, also displayed below :)
swagger: "2.0"
info:
version: 1.0.0
title: openapi example
basePath: /v1
paths:
/pets:
x-a127-services:
- name: add-cors
provider: x-cors
options:
displayName: Add CORS
includeInErrorResponse: true
headers:
Access-Control-Allow-Methods:
type: array
collectionFormat: csv
default: GET
x-a127-services:
- name: add-cors
provider: x-cors
options:
displayName: Add CORS
includeInErrorResponse: true
headers:
Access-Control-Allow-Origin:
type: string
default: "*"
Access-Control-Allow-Methods:
type: array
collectionFormat: csv
default: GET, PUT, POST, DELETE
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "openapi example"
},
"basePath": "/v1",
"paths": {
"/pets": null
},
"x-a127-services": [
{
"name": "add-cors",
"provider": "x-cors",
"options": {
"displayName": "Add CORS",
"includeInErrorResponse": true,
"headers": {
"Access-Control-Allow-Origin": {
"type": "string",
"default": "*"
},
"Access-Control-Allow-Methods": {
"type": "array",
"collectionFormat": "csv",
"default": "GET"
}
}
}
}
]
}
FAQs
Defaults api parts into an openapi definition
The npm package openapi-utils-defaults receives a total of 3 weekly downloads. As such, openapi-utils-defaults popularity was classified as not popular.
We found that openapi-utils-defaults 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
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.