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
3
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 8.4.1 to 8.4.2

build/helpers/default-ignore-rules.d.ts

1

build/index.d.ts

@@ -106,2 +106,3 @@ import { parseRule, parseIgnore, IIgnoreRunnable } from './helpers/ignore-parser';

gitignorePath: string;
opticIgnorePath: string;
capturesPath: string;

@@ -108,0 +109,0 @@ exampleRequestsPath: string;

@@ -36,2 +36,3 @@ "use strict";

const deprecations_1 = __importStar(require("./deprecations"));
const default_ignore_rules_1 = require("./helpers/default-ignore-rules");
var deprecations_2 = require("./deprecations");

@@ -154,2 +155,3 @@ Object.defineProperty(exports, "deprecationLogger", { enumerable: true, get: function () { return deprecations_2.deprecationLogger; } });

const gitignorePath = path_1.default.join(basePath, '.gitignore');
const opticIgnorePath = path_1.default.join(basePath, 'ignore');
const specStorePath = path_1.default.join(basePath, 'api', 'specification.json');

@@ -164,2 +166,3 @@ const exampleRequestsPath = path_1.default.join(basePath, 'api', 'example-requests');

gitignorePath,
opticIgnorePath,
specStorePath,

@@ -180,3 +183,3 @@ exampleRequestsPath,

async function createFileTree(config, basePath) {
const { specStorePath, configPath, gitignorePath, capturesPath, } = await getPathsRelativeToCwd(basePath);
const { specStorePath, configPath, gitignorePath, opticIgnorePath, capturesPath, } = await getPathsRelativeToCwd(basePath);
const files = [

@@ -190,2 +193,6 @@ {

{
path: opticIgnorePath,
contents: default_ignore_rules_1.defaultIgnoreFile,
},
{
path: specStorePath,

@@ -192,0 +199,0 @@ contents: JSON.stringify([]),

9

package.json
{
"name": "@useoptic/cli-config",
"version": "8.4.1",
"version": "8.4.2",
"scripts": {
"ws:test": "echo config",
"ws:test": "jest",
"ws:build": "yarn run tsc -b --verbose",

@@ -25,3 +25,6 @@ "ws:clean": "rm -rf build/*"

"@types/find-up": "^4.0.0",
"@types/js-yaml": "^3.12.1"
"@types/js-yaml": "^3.12.1",
"@types/jest": "^26.0.9",
"jest": "^26.4.0",
"ts-jest": "^26.2.0"
},

@@ -28,0 +31,0 @@ "files": [

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