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

oas-normalize

Package Overview
Dependencies
Maintainers
10
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas-normalize - npm Package Compare versions

Comparing version 9.0.0 to 10.0.0

4

dist/index.js

@@ -9,3 +9,2 @@ 'use strict';

var postmanToOpenAPI = require('@readme/postman-to-openapi');
var fetch = require('node-fetch');
var converter = require('swagger2openapi');

@@ -18,3 +17,2 @@

var postmanToOpenAPI__default = /*#__PURE__*/_interopDefault(postmanToOpenAPI);
var fetch__default = /*#__PURE__*/_interopDefault(fetch);
var converter__default = /*#__PURE__*/_interopDefault(converter);

@@ -58,3 +56,3 @@

case "url":
const resp = await fetch__default.default(chunkF3S2V53P_js.normalizeURL(this.file)).then((res) => res.text());
const resp = await fetch(chunkF3S2V53P_js.normalizeURL(this.file)).then((res) => res.text());
return resolve(resp);

@@ -61,0 +59,0 @@ case "path":

MIT License
Copyright (c) 2022 ReadMe
Copyright (c) 2023 ReadMe

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "oas-normalize",
"version": "9.0.0",
"version": "10.0.0",
"description": "Tooling for converting, validating, and parsing OpenAPI, Swagger, and Postman API definitions",

@@ -22,4 +22,7 @@ "exports": {

"engines": {
"node": ">=14"
"node": ">=18"
},
"files": [
"dist"
],
"keywords": [

@@ -63,3 +66,2 @@ "api",

"js-yaml": "^4.1.0",
"node-fetch": "^2.7.0",
"openapi-types": "^12.1.3",

@@ -72,6 +74,5 @@ "swagger2openapi": "^7.0.8"

"@types/js-yaml": "^4.0.5",
"@types/node-fetch": "^2.6.4",
"@vitest/coverage-v8": "^0.34.1",
"eslint": "^8.46.0",
"nock": "^13.3.2",
"fetch-mock": "^9.11.0",
"prettier": "^3.0.1",

@@ -78,0 +79,0 @@ "tsup": "^7.2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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