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

@stoplight/spectral-formatters

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/spectral-formatters - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

dist/code-climate.d.ts

2

dist/index.d.ts

@@ -7,2 +7,3 @@ export * from './json';

export * from './teamcity';
export * from './markdown';
import type { Formatter } from './types';

@@ -13,1 +14,2 @@ export type { Formatter, FormatterOptions } from './types';

export declare const sarif: Formatter;
export declare const codeClimate: Formatter;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sarif = exports.githubActions = exports.pretty = void 0;
exports.codeClimate = exports.sarif = exports.githubActions = exports.pretty = void 0;
const tslib_1 = require("tslib");

@@ -11,2 +11,3 @@ (0, tslib_1.__exportStar)(require("./json"), exports);

(0, tslib_1.__exportStar)(require("./teamcity"), exports);
(0, tslib_1.__exportStar)(require("./markdown"), exports);
const pretty = () => {

@@ -24,2 +25,6 @@ throw Error('pretty formatter is available only in Node.js');

exports.sarif = sarif;
const codeClimate = () => {
throw Error('sarif formatter is available only in Node.js');
};
exports.codeClimate = codeClimate;
//# sourceMappingURL=index.js.map

3

dist/index.node.d.ts

@@ -1,2 +0,2 @@

export { html, json, junit, text, stylish, teamcity } from './index';
export { html, json, junit, text, stylish, teamcity, markdown } from './index';
export type { Formatter, FormatterOptions } from './index';

@@ -6,1 +6,2 @@ export { pretty } from './pretty';

export { sarif } from './sarif';
export { codeClimate } from './code-climate';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sarif = exports.githubActions = exports.pretty = exports.teamcity = exports.stylish = exports.text = exports.junit = exports.json = exports.html = void 0;
exports.codeClimate = exports.sarif = exports.githubActions = exports.pretty = exports.markdown = exports.teamcity = exports.stylish = exports.text = exports.junit = exports.json = exports.html = void 0;
var index_1 = require("./index");

@@ -11,2 +11,3 @@ Object.defineProperty(exports, "html", { enumerable: true, get: function () { return index_1.html; } });

Object.defineProperty(exports, "teamcity", { enumerable: true, get: function () { return index_1.teamcity; } });
Object.defineProperty(exports, "markdown", { enumerable: true, get: function () { return index_1.markdown; } });
var pretty_1 = require("./pretty");

@@ -18,2 +19,4 @@ Object.defineProperty(exports, "pretty", { enumerable: true, get: function () { return pretty_1.pretty; } });

Object.defineProperty(exports, "sarif", { enumerable: true, get: function () { return sarif_1.sarif; } });
var code_climate_1 = require("./code-climate");
Object.defineProperty(exports, "codeClimate", { enumerable: true, get: function () { return code_climate_1.codeClimate; } });
//# sourceMappingURL=index.node.js.map
{
"name": "@stoplight/spectral-formatters",
"version": "1.3.0",
"version": "1.4.0",
"homepage": "https://github.com/stoplightio/spectral",

@@ -41,5 +41,7 @@ "bugs": "https://github.com/stoplightio/spectral/issues",

"@stoplight/types": "^13.15.0",
"@types/markdown-escape": "^1.1.3",
"chalk": "4.1.2",
"cliui": "7.0.4",
"lodash": "^4.17.21",
"markdown-escape": "^2.0.0",
"node-sarif-builder": "^2.0.3",

@@ -46,0 +48,0 @@ "strip-ansi": "6.0",

@@ -31,2 +31,3 @@ # @stoplight/spectral-formatters

- teamcity
- markdown (example: [markdown_example.md](markdown_example.md))

@@ -38,1 +39,3 @@ ### Node.js only

- sarif
- gitlab
- code-climate

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