Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stoplight/types

Package Overview
Dependencies
Maintainers
26
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/types - npm Package Compare versions

Comparing version 12.3.0 to 13.0.0-beta.1

dist/index.ejs

73

dist/index.js

@@ -1,9 +0,64 @@

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
exports.__esModule = true;
__export(require("./http-spec"));
__export(require("./logs"));
__export(require("./diagnostics"));
__export(require("./node"));
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
exports.HttpParamStyles = void 0;
(function (HttpParamStyles) {
HttpParamStyles["Simple"] = "simple";
HttpParamStyles["Matrix"] = "matrix";
HttpParamStyles["Label"] = "label";
HttpParamStyles["Form"] = "form";
HttpParamStyles["CommaDelimited"] = "commaDelimited";
HttpParamStyles["SpaceDelimited"] = "spaceDelimited";
HttpParamStyles["PipeDelimited"] = "pipeDelimited";
HttpParamStyles["DeepObject"] = "deepObject";
})(exports.HttpParamStyles || (exports.HttpParamStyles = {}));
/**
* Represents the severity of diagnostics.
*/
exports.DiagnosticSeverity = void 0;
(function (DiagnosticSeverity) {
/**
* Something not allowed by the rules of a language or other means.
*/
DiagnosticSeverity[DiagnosticSeverity["Error"] = 0] = "Error";
/**
* Something suspicious but allowed.
*/
DiagnosticSeverity[DiagnosticSeverity["Warning"] = 1] = "Warning";
/**
* Something to inform about but not a problem.
*/
DiagnosticSeverity[DiagnosticSeverity["Information"] = 2] = "Information";
/**
* Something to hint to a better way of doing it, like proposing
* a refactoring.
*/
DiagnosticSeverity[DiagnosticSeverity["Hint"] = 3] = "Hint";
})(exports.DiagnosticSeverity || (exports.DiagnosticSeverity = {}));
/**
* Stoplight node types
*/
exports.NodeType = void 0;
(function (NodeType) {
NodeType["Article"] = "article";
NodeType["HttpService"] = "http_service";
NodeType["HttpServer"] = "http_server";
NodeType["HttpOperation"] = "http_operation";
NodeType["Model"] = "model";
NodeType["Generic"] = "generic";
NodeType["Unknown"] = "unknown";
NodeType["TableOfContents"] = "table_of_contents";
NodeType["SpectralRuleset"] = "spectral_ruleset";
})(exports.NodeType || (exports.NodeType = {}));
/**
* Node data formats
*/
exports.NodeFormat = void 0;
(function (NodeFormat) {
NodeFormat["Json"] = "json";
NodeFormat["Markdown"] = "markdown";
NodeFormat["Yaml"] = "yaml";
})(exports.NodeFormat || (exports.NodeFormat = {}));
{
"name": "@stoplight/types",
"version": "12.3.0",
"version": "13.0.0-beta.1",
"description": "Common typings for the Stoplight ecosystem.",

@@ -14,3 +14,9 @@ "keywords": [],

},
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/index.ejs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"license": "Apache-2.0",

@@ -24,3 +30,4 @@ "files": [

"scripts": {
"build": "tsc -p ./tsconfig.json -d",
"build": "rollup -c && tsc --emitDeclarationOnly",
"postbuild": "cp ./dist/index.mjs ./dist/index.ejs",
"commit": "git-cz",

@@ -40,2 +47,3 @@ "lint": "tslint -c tslint.json 'src/**/*.ts?'",

"devDependencies": {
"@rollup/plugin-typescript": "^8.2.1",
"@types/jest": "^25.1.4",

@@ -45,2 +53,3 @@ "@types/node": "^13.9.1",

"lodash": "^4.17.15",
"rollup": "^2.47.0",
"semantic-release": "^17.0.4",

@@ -47,0 +56,0 @@ "ts-jest": "^25.2.1",

dist/basic.js
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