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

rest-api-handler

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-api-handler - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

17

package.json
{
"name": "rest-api-handler",
"version": "1.5.0",
"version": "1.5.1",
"description": "Handler for REST APIs",

@@ -10,8 +10,10 @@ "main": "dist/index.js",

"js-lint": "node node_modules/eslint/bin/eslint.js --ext .js ./src ./test",
"js-lint-export": "npm run js-lint -- -o ./test_results/checkstyle/js-checkstyle.xml -f checkstyle",
"js-lint-export": "npm run js-lint -- -o ./tests_results/checkstyle/js-checkstyle.xml -f checkstyle",
"flow": "node node_modules/flow-bin/vendor/flow",
"flow-coverage": "node node_modules/flow-coverage-report/bin/flow-coverage-report.js -f \"node node_modules/flow-bin/vendor/flow\" -i ./src/**/*.js* -t html -t text -t json -o test_results/coverage/flow",
"flow-coverage": "node node_modules/flow-coverage-report/bin/flow-coverage-report.js -f \"node node_modules/flow-bin/vendor/flow\" -i ./src/**/*.js* -t html -t text -t json -o tests_results/coverage/flow",
"flow-init": "node node_modules/flow-typed/dist/cli.js install jest@22.x",
"test": "node ./node_modules/jest/bin/jest.js",
"build": "rm -rf ./dist && node node_modules/rollup/bin/rollup --config ./rollup.config.js",
"precommit": "npm run js-lint && npm run flow && npm run test && npm run build"
"prepr": "npm run js-lint && npm run flow && npm run flow-coverage && npm run test",
"prepublishOnly": "npm run build"
},

@@ -26,5 +28,6 @@ "repository": {

"cross-fetch": "^2.1.0",
"eslint-config-socifi": "1.x",
"flow-bin": "0.68.0",
"flow-coverage-report": "^0.3.0",
"eslint-config-socifi": "^1.5.0",
"flow-bin": "0.69.0",
"flow-coverage-report": "^0.5.0",
"flow-typed": "^2.4.0",
"socifi-jest-config": "^1.4.0",

@@ -31,0 +34,0 @@ "socifi-rollup-config": "^1.6.0"

# REST API Handler
[![codecov](https://img.shields.io/npm/v/rest-api-handler.svg)](https://www.npmjs.com/package/rest-api-handler) [![codecov](https://codecov.io/gh/fabulator/rest-api-handler/branch/master/graph/badge.svg)](https://codecov.io/gh/fabulator/rest-api-handler) [![codecov](https://travis-ci.org/fabulator/rest-api-handler.svg?branch=master)](https://travis-ci.org/fabulator/rest-api-handler)
[![npm version](https://badge.fury.io/js/rest-api-handler.svg)](https://badge.fury.io/js/rest-api-handler)
[![renovate-app](https://img.shields.io/badge/renovate-app-blue.svg)](https://renovateapp.com/)
[![Known Vulnerabilities](https://snyk.io/test/github/fabulator/rest-api-handler/badge.svg)](https://snyk.io/test/github/fabulator/rest-api-handler)
[![codecov](https://codecov.io/gh/fabulator/rest-api-handler/branch/master/graph/badge.svg)](https://codecov.io/gh/fabulator/rest-api-handler)
[![travis](https://travis-ci.org/fabulator/rest-api-handler.svg?branch=master)](https://travis-ci.org/fabulator/rest-api-handler)
This library will help you with requests to REST APIs. It uses [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which isn't supported by node and some [older browsers](https://caniuse.com/#feat=fetch) and Node. Remember to include polyfill if need it.

@@ -5,0 +10,0 @@

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