From b4dbf2ddd9df4b1a5fb201624565f3290ed6f6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Sun, 16 May 2021 15:23:26 +0200 Subject: [PATCH] refactor: bump pmap/use node>=10 --- .travis.yml | 4 +--- README.md | 2 +- package-lock.json | 28 +++++++++++++++++++++++++--- package.json | 6 +++--- 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71147b8..9ac620b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,12 +5,10 @@ cache: node_js: - "node" - "lts/*" - - "7.6" + - "10" notifications: email: false before_install: - npm i -before_script: - - npm prune script: - npm test diff --git a/README.md b/README.md index dfaf545..bdf2d41 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ An easy way to use [Pokéapi](https://pokeapi.co/) v2 with promises *(or callbac -## Install [![nodeVersion](https://img.shields.io/badge/node->=7.6-brightgreen.svg)](https://www.npmjs.com/package/pokedex-promise-v2) +## Install [![nodeVersion](https://img.shields.io/badge/node->=10-brightgreen.svg)](https://www.npmjs.com/package/pokedex-promise-v2) ```sh npm install pokedex-promise-v2 --save diff --git a/package-lock.json b/package-lock.json index d25db2f..ee64c80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,15 @@ "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", "dev": true }, + "aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, "anchor-markdown-header": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.5.7.tgz", @@ -236,6 +245,11 @@ "readdirp": "~3.5.0" } }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -570,6 +584,11 @@ "entities": "^2.0.0" } }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -820,9 +839,12 @@ } }, "p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } }, "parse-entities": { "version": "1.2.2", diff --git a/package.json b/package.json index 1a589ce..d62f196 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "pokedex-promise-v2", - "version": "3.3.1", + "version": "3.3.2", "description": "A library used to get information about Pokemons.", "engines": { - "node": ">=7.6" + "node": ">=10" }, "main": "src/index.js", "scripts": { @@ -34,7 +34,7 @@ "dependencies": { "axios": "^0.21.1", "memory-cache": "^0.2.0", - "p-map": "^2.1.0" + "p-map": "^4.0.0" }, "devDependencies": { "chai": "^4.3.4",