UNPKG

@scalar/oas-utils

Version:

Open API spec and Yaml handling utilities

128 lines 4.03 kB
{ "name": "@scalar/oas-utils", "description": "Open API spec and Yaml handling utilities", "license": "MIT", "author": "Scalar (https://github.com/scalar)", "homepage": "https://github.com/scalar/scalar", "bugs": "https://github.com/scalar/scalar/issues/new/choose", "repository": { "type": "git", "url": "git+https://github.com/scalar/scalar.git", "directory": "packages/oas-utils" }, "keywords": [ "oas", "fetching", "specification", "yaml" ], "version": "0.4.18", "engines": { "node": ">=20" }, "type": "module", "main": "dist/index.js", "exports": { "./entities/cookie": { "import": "./dist/entities/cookie/index.js", "types": "./dist/entities/cookie/index.d.ts", "default": "./dist/entities/cookie/index.js" }, "./entities/environment": { "import": "./dist/entities/environment/index.js", "types": "./dist/entities/environment/index.d.ts", "default": "./dist/entities/environment/index.js" }, "./entities/hotkeys": { "import": "./dist/entities/hotkeys/index.js", "types": "./dist/entities/hotkeys/index.d.ts", "default": "./dist/entities/hotkeys/index.js" }, "./entities/shared": { "import": "./dist/entities/shared/index.js", "types": "./dist/entities/shared/index.d.ts", "default": "./dist/entities/shared/index.js" }, "./entities/spec": { "import": "./dist/entities/spec/index.js", "types": "./dist/entities/spec/index.d.ts", "default": "./dist/entities/spec/index.js" }, "./entities/workspace": { "import": "./dist/entities/workspace/index.js", "types": "./dist/entities/workspace/index.d.ts", "default": "./dist/entities/workspace/index.js" }, "./helpers": { "import": "./dist/helpers/index.js", "types": "./dist/helpers/index.d.ts", "default": "./dist/helpers/index.js" }, "./helpers/operation-to-har": { "import": "./dist/helpers/operation-to-har/index.js", "types": "./dist/helpers/operation-to-har/index.d.ts", "default": "./dist/helpers/operation-to-har/index.js" }, "./helpers/security": { "import": "./dist/helpers/security/index.js", "types": "./dist/helpers/security/index.d.ts", "default": "./dist/helpers/security/index.js" }, "./migrations": { "import": "./dist/migrations/index.js", "types": "./dist/migrations/index.d.ts", "default": "./dist/migrations/index.js" }, "./spec-getters": { "import": "./dist/spec-getters/index.js", "types": "./dist/spec-getters/index.d.ts", "default": "./dist/spec-getters/index.js" }, "./transforms": { "import": "./dist/transforms/index.js", "types": "./dist/transforms/index.d.ts", "default": "./dist/transforms/index.js" } }, "files": [ "dist", "CHANGELOG.md" ], "module": "dist/index.js", "dependencies": { "@hyperjump/browser": "^1.1.0", "@hyperjump/json-schema": "^1.9.6", "@types/har-format": "^1.2.15", "flatted": "^3.3.3", "microdiff": "^1.5.0", "nanoid": "5.1.5", "type-fest": "4.41.0", "yaml": "2.8.0", "zod": "3.24.1", "@scalar/helpers": "0.0.7", "@scalar/openapi-types": "0.3.7", "@scalar/object-utils": "1.2.3", "@scalar/themes": "0.13.12", "@scalar/types": "0.2.11", "@scalar/workspace-store": "0.12.0" }, "devDependencies": { "@types/node": "^22.9.0", "type-fest": "^4.20.0", "vite": "6.1.6", "vitest": "^3.2.4", "zod-to-ts": "github:amritk/zod-to-ts#build", "@scalar/build-tooling": "0.2.4", "@scalar/openapi-types": "0.3.7", "@scalar/openapi-parser": "0.19.0" }, "scripts": { "build": "scalar-build-esbuild", "lint:check": "eslint .", "lint:fix": "eslint . --fix", "test": "vitest", "typegen:migration": "vite-node ./src/migrations/generate-types.ts", "types:build": "scalar-types-build", "types:check": "scalar-types-check" } }