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

swagger-methods

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-methods - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

CHANGELOG.md

35

package.json
{
"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) {

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