From ef7bf6c2982e7ad9caca09ce63e9bfe9abf18070 Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Sun, 13 Nov 2022 12:19:07 +0700 Subject: [PATCH] v3.1.4 - Update dependencies - Sync to last provider list - Add ci test with node 19 - Update security policy --- .github/workflows/ci-test.yml | 3 +-- SECURITY.md | 19 +++++++------------ dist/cjs/oembed-parser.js | 2 +- dist/cjs/package.json | 2 +- dist/oembed-parser.esm.js | 2 +- package.json | 6 +++--- src/utils/providers.latest.js | 2 +- src/utils/providers.prev.js | 10 ++++++++-- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index f818a93..f57527c 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node_version: [14.x, 15.x, 16.x, 17.x, 18.x] + node_version: [14.x, 15.x, 16.x, 17.x, 18.x, 19.x] steps: - uses: actions/checkout@v2 @@ -27,7 +27,6 @@ jobs: FACEBOOK_APP_ID: ${{ secrets.FACEBOOK_APP_ID }} FACEBOOK_CLIENT_TOKEN: ${{ secrets.FACEBOOK_CLIENT_TOKEN }} run: | - npm i -g standard npm install npm run lint npm run build --if-present diff --git a/SECURITY.md b/SECURITY.md index ca1fd29..1452136 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,21 +2,16 @@ ## Supported Versions -The following versions are being supported with security updates. +Due to resource limitations, only the latest stable minor release is getting bugfixes (including security ones). -| Version | Supported | -| ------- | ------------------ | -| 1.4.x | :white_check_mark: | -| 1.3.x | :white_check_mark: | -| 1.2.x | :white_check_mark: | -| 1.1.x | :white_check_mark: | -| 1.0.x | :white_check_mark: | -| 0.x.x | :x: | +So e.g. if the latest stable version is 3.1.4, then 3.1.x line will still get security fixes but older versions (like 3.0.x) won't get any fixes. + +Description above is a general rule and may be altered on case by case basis. ## Reporting a Vulnerability -If you discover a security issue, please bring it to their attention right away! +You can report low severity vulnerabilities as GitHub issues. -Please **DO NOT** file a public issue, instead send your report privately to `security-report@pwshub.com`. +More severe vulnerabilities should be reported to the my email ndaidong@gmail.com or Twitter [@ndaidong](https://twitter.com/ndaidong). -Security reports are greatly appreciated and we will publicly thank you for it, although we keep your name confidential if you request it. +--- diff --git a/dist/cjs/oembed-parser.js b/dist/cjs/oembed-parser.js index a15cd7a..332b243 100644 --- a/dist/cjs/oembed-parser.js +++ b/dist/cjs/oembed-parser.js @@ -1,4 +1,4 @@ -// oembed-parser@3.1.3, by @ndaidong - built with esbuild at 2022-10-26T05:04:53.355Z - published under MIT license +// oembed-parser@3.1.4, by @ndaidong - built with esbuild at 2022-11-13T05:18:59.638Z - published under MIT license var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; diff --git a/dist/cjs/package.json b/dist/cjs/package.json index b523ce1..8db62eb 100644 --- a/dist/cjs/package.json +++ b/dist/cjs/package.json @@ -1,5 +1,5 @@ { "name": "oembed-parser", - "version": "3.1.3", + "version": "3.1.4", "main": "./oembed-parser.js" } \ No newline at end of file diff --git a/dist/oembed-parser.esm.js b/dist/oembed-parser.esm.js index 7b38709..475329a 100644 --- a/dist/oembed-parser.esm.js +++ b/dist/oembed-parser.esm.js @@ -1,4 +1,4 @@ -// oembed-parser@3.1.3, by @ndaidong - built with esbuild at 2022-10-26T05:04:53.355Z - published under MIT license +// oembed-parser@3.1.4, by @ndaidong - built with esbuild at 2022-11-13T05:18:59.638Z - published under MIT license // src/utils/linker.js var isValid = (url = "") => { diff --git a/package.json b/package.json index 3b3516b..721eaa6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "3.1.3", + "version": "3.1.4", "name": "oembed-parser", "description": "Get oEmbed data from given URL.", "homepage": "https://www.npmjs.com/package/oembed-parser", @@ -39,8 +39,8 @@ "cross-fetch": "^3.1.5" }, "devDependencies": { - "esbuild": "^0.15.12", - "jest": "^29.2.2", + "esbuild": "^0.15.13", + "jest": "^29.3.1", "nock": "^13.2.9", "standard": "^17.0.0" }, diff --git a/src/utils/providers.latest.js b/src/utils/providers.latest.js index edb91b8..49e494f 100644 --- a/src/utils/providers.latest.js +++ b/src/utils/providers.latest.js @@ -1,4 +1,4 @@ -// provider data, synchronized at 2022-10-26T05:04:37.983Z +// provider data, synchronized at 2022-11-13T05:17:54.675Z /* eslint-disable */ diff --git a/src/utils/providers.prev.js b/src/utils/providers.prev.js index 0082ee2..edb91b8 100644 --- a/src/utils/providers.prev.js +++ b/src/utils/providers.prev.js @@ -1,4 +1,4 @@ -// provider data, synchronized at 2022-10-13T02:14:43.201Z +// provider data, synchronized at 2022-10-26T05:04:37.983Z /* eslint-disable */ @@ -974,7 +974,7 @@ export const providers = [ "s": [ "pod\\.univ-lille\\.fr/video/*" ], - "e": "pod.univ-lille.fr/oembed" + "e": "pod.univ-lille.fr/video/oembed" }, { "s": [ @@ -1281,6 +1281,12 @@ export const providers = [ ], "e": "api.picturelfy.com/service/oembed/" }, + { + "s": [ + "*\\.builder\\.pikasso\\.xyz/embed/*" + ], + "e": "builder.pikasso.xyz/api/oembed" + }, { "s": [], "e": "beta.pingvp.com.kpnis.nl/p/oembed.php"