Socket
Socket
Sign inDemoInstall

@automatons/tools

Package Overview
Dependencies
Maintainers
1
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automatons/tools - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

dist/utils/fetch.d.ts
import { Openapi } from "../types";
export declare const fetch: <T = Openapi>(url: string, openapiPath?: string | undefined) => Promise<T>;
export declare const fetch: <T extends Object = Openapi>(url: string, openapiPath?: string | undefined) => Promise<T>;
//# sourceMappingURL=fetch.d.ts.map

@@ -32,3 +32,7 @@ "use strict";

case '.yaml':
return js_yaml_1.safeLoad(data);
const yaml = js_yaml_1.safeLoad(data);
if (typeof yaml === 'object') {
return yaml;
}
throw new Error('Unsupported file format');
default:

@@ -35,0 +39,0 @@ throw new Error('Unsupported file extension');

{
"name": "@automatons/tools",
"version": "1.0.6",
"version": "1.0.7",
"repository": "git@github.com:tanmen/openapi-automatons.git",

@@ -40,3 +40,3 @@ "author": "tanmen <yt.prog@gmail.com>",

},
"gitHead": "998515bbcb04ac04aed3487f4c388c0ac8f93dbb"
"gitHead": "f4ed72d9cf99bd2ab61d3eea19e4770e1cde0af3"
}

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