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

@useoptic/cli-config

Package Overview
Dependencies
Maintainers
2
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useoptic/cli-config - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

13

build/index.js

@@ -137,14 +137,13 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const hasVersion6SpecStore = yield find_up_1.default('.api/spec-store.json', { type: 'file' });
const hasVersion6SpecStore = yield find_up_1.default('.api', { type: 'directory' });
const hasVersion7Config = yield find_up_1.default('optic.yml', { type: 'file' });
console.log({
hasVersion6SpecStore,
hasVersion7Config
});
if (!hasVersion6SpecStore) {
if (hasVersion6SpecStore) {
return true;
}
else if (hasVersion7Config) {
return false;
}
return !hasVersion7Config;
return false;
});
}
exports.shouldWarnAboutVersion7Compatibility = shouldWarnAboutVersion7Compatibility;
{
"name": "@useoptic/cli-config",
"version": "0.1.0",
"version": "0.1.1",
"scripts": {

@@ -5,0 +5,0 @@ "ws:test": "echo config",

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