Skip to content

Commit

Permalink
Use new dependencies for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed May 28, 2024
1 parent 630594e commit 6094c44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-spec-on-push.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Run Specifications
name: Build and Test

on: [push]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ _A wrapper around Fetch just for JSON_

[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/fetch-json/blob/main/LICENSE.txt)
[![npm](https://img.shields.io/npm/v/fetch-json.svg)](https://www.npmjs.com/package/fetch-json)
[![Size](https://badgen.net/bundlephobia/minzip/fetch-json)](https://bundlephobia.com/package/fetch-json)
[![Build](https://github.com/center-key/fetch-json/actions/workflows/run-spec-on-push.yaml/badge.svg)](https://github.com/center-key/fetch-json/actions/workflows/run-spec-on-push.yaml)

Why would you fetch anything but json? ;)

## A) Make REST Easy
**fetch-json** is a lightweight JavaScript library to reduce the boilerplate code needed to make
HTTP calls to JSON endpoints.
The minified JS file is under 4 KB.

**fetch-json** automatically: <!-- sync with docs/index.html -->
1. Adds the HTTP header `Content-Type: application/json` to ensure the correct data type
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/fetch-json.git"
Expand Down Expand Up @@ -94,10 +91,9 @@
"interactive": "http-server -o spec/fixtures/"
},
"devDependencies": {
"@eslint/js": "~9.3",
"@fortawesome/fontawesome-free": "~6.5",
"@types/node": "~20.12",
"@typescript-eslint/eslint-plugin": "~7.9",
"@typescript-eslint/parser": "~7.9",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
Expand All @@ -106,15 +102,16 @@
"eslint": "8.57.0",
"esm-to-plain-js": "~1.1",
"http-server": "~14.1",
"jsdom": "~24.0",
"jsdom": "~24.1",
"jshint": "~2.13",
"mocha": "~10.4",
"puppeteer": "~22.8",
"puppeteer": "~22.10",
"puppeteer-browser-ready": "~1.3",
"replacer-util": "~1.3",
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"typescript": "~5.4",
"typescript-eslint": "~7.11",
"uglify-js": "~3.17",
"w3c-html-validator": "~1.8",
"web-ignition": "~2.1",
Expand Down

0 comments on commit 6094c44

Please sign in to comment.