swagger-methods
Advanced tools
Comparing version 2.0.2 to 3.0.0
{ | ||
"name": "swagger-methods", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"description": "HTTP methods that are supported by Swagger 2.0", | ||
@@ -16,31 +16,12 @@ "keywords": [ | ||
"homepage": "https://github.com/APIDevTools/swagger-methods", | ||
"main": "lib/index.js", | ||
"main": "index.js", | ||
"files": [ | ||
"lib" | ||
"index.js" | ||
], | ||
"scripts": { | ||
"lint": "eslint lib test", | ||
"test": "mocha && npm run lint", | ||
"coverage": "nyc --reporter=text --reporter=lcov node_modules/mocha/bin/mocha", | ||
"upgrade": "npm-check -u && npm audit fix", | ||
"bump": "bump --tag --push --all", | ||
"release": "npm run upgrade && npm test && npm run bump" | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/APIDevTools/swagger-methods.git" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.0.7", | ||
"eslint": "^6.5.1", | ||
"eslint-config-modular": "^7.0.1", | ||
"methods": "^1.1.2", | ||
"mocha": "^6.2.2", | ||
"npm-check": "^5.9.0", | ||
"nyc": "^14.1.1", | ||
"swagger-schema-official": "2.0.0-bab6bed", | ||
"version-bump-prompt": "^5.0.5" | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"@apidevtools/swagger-methods": "3.0.0" | ||
} | ||
} |
@@ -5,10 +5,11 @@ Swagger Methods | ||
[![Cross-Platform Compatibility](https://apitools.dev/img/os-badges.svg)](https://travis-ci.com/APIDevTools/swagger-methods) | ||
[![Build Status](https://api.travis-ci.com/APIDevTools/swagger-methods.svg)](https://travis-ci.com/APIDevTools/swagger-methods) | ||
[![Cross-Platform Compatibility](https://apitools.dev/img/badges/os-badges.svg)](https://github.com/APIDevTools/swagger-methods/blob/master/.github/workflows/CI-CD.yaml) | ||
[![Build Status](https://github.com/APIDevTools/swagger-methods/workflows/CI-CD/badge.svg)](https://github.com/APIDevTools/swagger-methods/blob/master/.github/workflows/CI-CD.yaml) | ||
[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/swagger-methods/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/swagger-methods?branch=master) | ||
[![npm](https://img.shields.io/npm/v/swagger-methods.svg?branch=master)](https://www.npmjs.com/package/swagger-methods) | ||
[![Dependencies](https://david-dm.org/APIDevTools/swagger-methods.svg)](https://david-dm.org/APIDevTools/swagger-methods) | ||
[![License](https://img.shields.io/npm/l/swagger-methods.svg)](LICENSE) | ||
[![npm](https://img.shields.io/npm/v/@apidevtools/swagger-methods.svg?branch=master)](https://www.npmjs.com/package/@apidevtools/swagger-methods) | ||
[![License](https://img.shields.io/npm/l/@apidevtools/swagger-methods.svg)](LICENSE) | ||
This is an array of lower-case HTTP method names that are supported by the [Swagger 2.0 spec](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md). | ||
@@ -24,3 +25,3 @@ | ||
```bash | ||
npm install swagger-methods | ||
npm install @apidevtools/swagger-methods | ||
``` | ||
@@ -33,3 +34,3 @@ | ||
```javascript | ||
var methods = require('swagger-methods'); | ||
var methods = require('@apidevtools/swagger-methods'); | ||
@@ -36,0 +37,0 @@ methods.forEach(function(method) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
5634
0
5
76
1
2
1
+ Added@apidevtools/swagger-methods@3.0.0(transitive)