From a12c96699bd3cab822b21317e1dcc8f0feccb9d8 Mon Sep 17 00:00:00 2001 From: Sylvain Gougouzian Date: Tue, 7 May 2024 13:59:31 +0200 Subject: [PATCH 1/2] Remove console.log --- src/utils/retrieve.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/retrieve.js b/src/utils/retrieve.js index 2eee201..4de4d12 100755 --- a/src/utils/retrieve.js +++ b/src/utils/retrieve.js @@ -50,7 +50,6 @@ export default async (url, options = {}) => { const buffer = await res.arrayBuffer() const text = buffer ? Buffer.from(buffer).toString().trim() : '' - console.log(contentType) if (/(\+|\/)(xml|html)/.test(contentType)) { const arr = contentType.split('charset=') let charset = arr.length === 2 ? arr[1].trim() : getCharsetFromText(text) From 8e5173f9fc279e8fcd26988e607c1f3e6764a62d Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Tue, 7 May 2024 20:59:59 +0700 Subject: [PATCH 2/2] v7.1.3 - Update dependencies - Remove accident console.log --- README.md | 4 ---- deno.json | 8 -------- package.json | 10 +++++----- 3 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 deno.json diff --git a/README.md b/README.md index 9e51a30..903676e 100755 --- a/README.md +++ b/README.md @@ -33,10 +33,6 @@ console.log(result) ### Deno ```ts -// deno < 1.28 -import { extract } from 'https://esm.sh/@extractus/feed-extractor' - -// deno > 1.28 import { extract } from 'npm:@extractus/feed-extractor' ``` diff --git a/deno.json b/deno.json deleted file mode 100644 index 5632c61..0000000 --- a/deno.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "imports": { - "cross-fetch": "./src/deno/cross-fetch.js", - "html-entities": "https://esm.sh/html-entities@2.5.2", - "fast-xml-parser": "https://esm.sh/fast-xml-parser@4.3.6", - "bellajs": "https://esm.sh/bellajs@11.1.3" - } -} diff --git a/package.json b/package.json index a0ad1db..c89ff0d 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "7.1.2", + "version": "7.1.3", "name": "@extractus/feed-extractor", "description": "To read and normalize RSS/ATOM/JSON feed data", "homepage": "https://extractor-demos.pages.dev", @@ -26,7 +26,7 @@ }, "types": "./index.d.ts", "engines": { - "node": ">= 16" + "node": ">= 18" }, "scripts": { "lint": "eslint .", @@ -45,9 +45,9 @@ "html-entities": "^2.5.2" }, "devDependencies": { - "esbuild": "^0.20.2", - "eslint": "^9.1.1", - "globals": "^15.0.0", + "esbuild": "^0.21.0", + "eslint": "^9.2.0", + "globals": "^15.1.0", "https-proxy-agent": "^7.0.4", "jest": "^29.7.0", "nock": "^13.5.4"