From 983efd726bf12e04094f76a109633c6ace06d9f0 Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Fri, 2 Dec 2022 21:37:56 +0700 Subject: [PATCH] v3.1.7 - Update dependencies - Update links & docs --- CONTRIBUTING.md | 4 +- README.md | 12 +-- dist/cjs/oembed-extractor.js | 75 +++------------ dist/cjs/package.json | 2 +- dist/oembed-extractor.esm.js | 75 +++------------ package.json | 4 +- src/utils/providers.latest.js | 75 +++------------ src/utils/providers.orginal.json | 160 ++++--------------------------- src/utils/providers.prev.js | 2 +- 9 files changed, 68 insertions(+), 341 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 060b667..214b229 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ If test coverage decreased, please check test scripts and try to improve this nu ## Documentation -If you've changed APIs, please update README and [the examples](https://github.com/extractus/oembed-extractor/tree/main/examples). +If you've changed APIs, please update README and [the examples](examples). ## Clean commit histories @@ -84,6 +84,6 @@ For people new to git, please refer the following guides: ## License -By contributing to `@extractus/oembed-extractor`, you agree that your contributions will be licensed under its [MIT license](https://github.com/extractus/oembed-extractor/blob/main/LICENSE). +By contributing to `@extractus/oembed-extractor`, you agree that your contributions will be licensed under its [MIT license](LICENSE). --- diff --git a/README.md b/README.md index 2f0b467..4a34888 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ You can use one or combination of these tools to build news sites, create automa ## Demo -- [Give it a try!](https://demos.pwshub.com/oembed-parser) -- [Example FaaS](https://oembed.deta.dev/?url=https://www.instagram.com/tv/CVlR5GFqF68/) +- [Give it a try!](https://extractor-demos.pages.dev/oembed-extractor) +- [Example FaaS](https://extractus.deno.dev/extract?apikey=rn0wbHos2e73W6ghQf705bdF&type=oembed&url=https://www.instagram.com/tv/CVlR5GFqF68/) ## Install & Usage @@ -61,12 +61,12 @@ console.log(result) ### Deno ```ts +// deno < 1.28 +import { extract } from 'https://esm.sh/@extractus/oembed-extractor' + // deno > 1.28 import { extract } from 'npm:@extractus/oembed-extractor' -// deno < 1.28 -// import { extract } from 'https://esm.sh/@extractus/oembed-extractor' - const result = await extract('https://www.youtube.com/watch?v=x2bqscVkGxk') console.log(result) ``` @@ -77,7 +77,7 @@ console.log(result) import { extract } from 'https://unpkg.com/@extractus/oembed-extractor@latest/dist/oembed-extractor.esm.js' ``` -Please check [the examples](https://github.com/extractus/oembed-extractor/tree/main/examples) for reference. +Please check [the examples](examples) for reference. ### Deta cloud diff --git a/dist/cjs/oembed-extractor.js b/dist/cjs/oembed-extractor.js index 5d22918..a8ff71a 100644 --- a/dist/cjs/oembed-extractor.js +++ b/dist/cjs/oembed-extractor.js @@ -1,4 +1,4 @@ -// @extractus/oembed-extractor@3.1.6, by @extractus - built with esbuild at 2022-11-30T09:21:00.562Z - published under MIT license +// @extractus/oembed-extractor@3.1.7, by @extractus - built with esbuild at 2022-12-02T14:35:39.216Z - published under MIT license var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; @@ -3014,12 +3014,6 @@ var providers = [ ], "e": "adilo.bigcommand.com/web/oembed" }, - { - "s": [ - "play\\.adpaths\\.com/experience/*" - ], - "e": "play.adpaths.com/oembed/*" - }, { "s": [ "v\\.afree\\.ca/ST/", @@ -3075,12 +3069,6 @@ var providers = [ ], "e": "api.anniemusic.app/api/v1/oembed" }, - { - "s": [ - "renderer\\.apester\\.com/v2/*?preview=true&iframe_preview=true" - ], - "e": "display.apester.com/oembed" - }, { "s": [ "storymaps\\.arcgis\\.com/stories/*" @@ -3282,7 +3270,7 @@ var providers = [ "s": [ "codehs\\.com/editor/share_abacus/*" ], - "e": "codehs.com/api/sharedprogram/*/oembed/" + "e": "codehs.com/api/sharedprogram/1/oembed/" }, { "s": [ @@ -3396,12 +3384,6 @@ var providers = [ ], "e": "backend.deviantart.com/oembed" }, - { - "s": [ - "*\\.didacte\\.com/a/course/*" - ], - "e": "*.didacte.com/cards/oembed" - }, { "s": [ "www\\.ultimedia\\.com/central/video/edit/id/*/topic_id/*/", @@ -3463,10 +3445,6 @@ var providers = [ ], "e": "embedery.com/api/oembed" }, - { - "s": [], - "e": "api.embed.ly/1/oembed" - }, { "s": [ "music\\.enystre\\.com/lyrics/*" @@ -4009,17 +3987,6 @@ var providers = [ ], "e": "me.me/oembed" }, - { - "s": [ - "*\\.medialab\\.app/share/watch/*", - "*\\.medialab\\.co/share/watch/*", - "*\\.medialab\\.app/share/social/*", - "*\\.medialab\\.co/share/social/*", - "*\\.medialab\\.app/share/embed/*", - "*\\.medialab\\.co/share/embed/*" - ], - "e": "*.medialab.(co|app)/api/oembed/" - }, { "s": [ "mdstrm\\.com/embed/*", @@ -4139,10 +4106,6 @@ var providers = [ ], "e": "www.nfb.ca/remote/services/oembed/" }, - { - "s": [], - "e": "www.nftndx.io/oembed" - }, { "s": [ "nopaste\\.ml/*" @@ -4202,10 +4165,6 @@ var providers = [ ], "e": "omny.fm/oembed" }, - { - "s": [], - "e": "www.ora.tv/oembed/*?format=json" - }, { "s": [ "orbitvu\\.co/001/*/ov3601/view", @@ -4286,9 +4245,9 @@ var providers = [ }, { "s": [ - "*\\.pitchhub\\.com/en/public/player/*" + "player\\.pitchhub\\.com/en/public/player/*" ], - "e": "*.pitchhub.com.com/en/public/oembed" + "e": "player.pitchhub.com/en/public/oembed" }, { "s": [ @@ -4338,6 +4297,12 @@ var providers = [ ], "e": "prezi.com/v/oembed" }, + { + "s": [ + "qtpi\\.gg/fashion/*" + ], + "e": "qtpi.gg/fashion/oembed" + }, { "s": [ "www\\.quiz\\.biz/quizz-*\\.html" @@ -4522,12 +4487,6 @@ var providers = [ ], "e": "sketchfab.com/oembed" }, - { - "s": [ - "*\\.slateapp\\.com/work/*" - ], - "e": "*.slateapp.com/api/v2/oembed" - }, { "s": [ "www\\.slideshare\\.net/*/*", @@ -4666,12 +4625,6 @@ var providers = [ ], "e": "sway.office.com/api/v1.0/oembed" }, - { - "s": [ - "player\\.switcherstudio\\.com/*" - ], - "e": "player.switcherstudio.com/oembed" - }, { "s": [ "share\\.synthesia\\.io/*" @@ -4838,10 +4791,6 @@ var providers = [ ], "e": "api.veervr.tv/oembed" }, - { - "s": [], - "e": "verse.com/services/oembed/" - }, { "s": [ "www\\.vevo\\.com/*" @@ -4935,9 +4884,9 @@ var providers = [ }, { "s": [ - "*\\.wiredrive\\.com/*" + "whimsical\\.com/*" ], - "e": "*.wiredrive.com/present-oembed/" + "e": "whimsical.com/api/oembed" }, { "s": [ diff --git a/dist/cjs/package.json b/dist/cjs/package.json index fd0d26f..49ee149 100644 --- a/dist/cjs/package.json +++ b/dist/cjs/package.json @@ -1,5 +1,5 @@ { "name": "@extractus/oembed-extractor", - "version": "3.1.6", + "version": "3.1.7", "main": "./@extractus/oembed-extractor.js" } \ No newline at end of file diff --git a/dist/oembed-extractor.esm.js b/dist/oembed-extractor.esm.js index 6bff954..3225f43 100644 --- a/dist/oembed-extractor.esm.js +++ b/dist/oembed-extractor.esm.js @@ -1,4 +1,4 @@ -// @extractus/oembed-extractor@3.1.6, by @extractus - built with esbuild at 2022-11-30T09:21:00.562Z - published under MIT license +// @extractus/oembed-extractor@3.1.7, by @extractus - built with esbuild at 2022-12-02T14:35:39.216Z - published under MIT license // src/utils/linker.js var isValid = (url = "") => { @@ -111,12 +111,6 @@ var providers = [ ], "e": "adilo.bigcommand.com/web/oembed" }, - { - "s": [ - "play\\.adpaths\\.com/experience/*" - ], - "e": "play.adpaths.com/oembed/*" - }, { "s": [ "v\\.afree\\.ca/ST/", @@ -172,12 +166,6 @@ var providers = [ ], "e": "api.anniemusic.app/api/v1/oembed" }, - { - "s": [ - "renderer\\.apester\\.com/v2/*?preview=true&iframe_preview=true" - ], - "e": "display.apester.com/oembed" - }, { "s": [ "storymaps\\.arcgis\\.com/stories/*" @@ -379,7 +367,7 @@ var providers = [ "s": [ "codehs\\.com/editor/share_abacus/*" ], - "e": "codehs.com/api/sharedprogram/*/oembed/" + "e": "codehs.com/api/sharedprogram/1/oembed/" }, { "s": [ @@ -493,12 +481,6 @@ var providers = [ ], "e": "backend.deviantart.com/oembed" }, - { - "s": [ - "*\\.didacte\\.com/a/course/*" - ], - "e": "*.didacte.com/cards/oembed" - }, { "s": [ "www\\.ultimedia\\.com/central/video/edit/id/*/topic_id/*/", @@ -560,10 +542,6 @@ var providers = [ ], "e": "embedery.com/api/oembed" }, - { - "s": [], - "e": "api.embed.ly/1/oembed" - }, { "s": [ "music\\.enystre\\.com/lyrics/*" @@ -1106,17 +1084,6 @@ var providers = [ ], "e": "me.me/oembed" }, - { - "s": [ - "*\\.medialab\\.app/share/watch/*", - "*\\.medialab\\.co/share/watch/*", - "*\\.medialab\\.app/share/social/*", - "*\\.medialab\\.co/share/social/*", - "*\\.medialab\\.app/share/embed/*", - "*\\.medialab\\.co/share/embed/*" - ], - "e": "*.medialab.(co|app)/api/oembed/" - }, { "s": [ "mdstrm\\.com/embed/*", @@ -1236,10 +1203,6 @@ var providers = [ ], "e": "www.nfb.ca/remote/services/oembed/" }, - { - "s": [], - "e": "www.nftndx.io/oembed" - }, { "s": [ "nopaste\\.ml/*" @@ -1299,10 +1262,6 @@ var providers = [ ], "e": "omny.fm/oembed" }, - { - "s": [], - "e": "www.ora.tv/oembed/*?format=json" - }, { "s": [ "orbitvu\\.co/001/*/ov3601/view", @@ -1383,9 +1342,9 @@ var providers = [ }, { "s": [ - "*\\.pitchhub\\.com/en/public/player/*" + "player\\.pitchhub\\.com/en/public/player/*" ], - "e": "*.pitchhub.com.com/en/public/oembed" + "e": "player.pitchhub.com/en/public/oembed" }, { "s": [ @@ -1435,6 +1394,12 @@ var providers = [ ], "e": "prezi.com/v/oembed" }, + { + "s": [ + "qtpi\\.gg/fashion/*" + ], + "e": "qtpi.gg/fashion/oembed" + }, { "s": [ "www\\.quiz\\.biz/quizz-*\\.html" @@ -1619,12 +1584,6 @@ var providers = [ ], "e": "sketchfab.com/oembed" }, - { - "s": [ - "*\\.slateapp\\.com/work/*" - ], - "e": "*.slateapp.com/api/v2/oembed" - }, { "s": [ "www\\.slideshare\\.net/*/*", @@ -1763,12 +1722,6 @@ var providers = [ ], "e": "sway.office.com/api/v1.0/oembed" }, - { - "s": [ - "player\\.switcherstudio\\.com/*" - ], - "e": "player.switcherstudio.com/oembed" - }, { "s": [ "share\\.synthesia\\.io/*" @@ -1935,10 +1888,6 @@ var providers = [ ], "e": "api.veervr.tv/oembed" }, - { - "s": [], - "e": "verse.com/services/oembed/" - }, { "s": [ "www\\.vevo\\.com/*" @@ -2032,9 +1981,9 @@ var providers = [ }, { "s": [ - "*\\.wiredrive\\.com/*" + "whimsical\\.com/*" ], - "e": "*.wiredrive.com/present-oembed/" + "e": "whimsical.com/api/oembed" }, { "s": [ diff --git a/package.json b/package.json index a099515..fcf5103 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "3.1.6", + "version": "3.1.7", "name": "@extractus/oembed-extractor", "description": "Get oEmbed data from given URL.", "homepage": "https://github.com/extractus/oembed-extractor", @@ -39,7 +39,7 @@ "cross-fetch": "^3.1.5" }, "devDependencies": { - "esbuild": "^0.15.15", + "esbuild": "^0.15.16", "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 78dec5c..db78c29 100644 --- a/src/utils/providers.latest.js +++ b/src/utils/providers.latest.js @@ -1,4 +1,4 @@ -// provider data, synchronized at 2022-11-22T04:14:50.180Z +// provider data, synchronized at 2022-12-02T14:34:17.228Z /* eslint-disable */ @@ -33,12 +33,6 @@ export const providers = [ ], "e": "adilo.bigcommand.com/web/oembed" }, - { - "s": [ - "play\\.adpaths\\.com/experience/*" - ], - "e": "play.adpaths.com/oembed/*" - }, { "s": [ "v\\.afree\\.ca/ST/", @@ -94,12 +88,6 @@ export const providers = [ ], "e": "api.anniemusic.app/api/v1/oembed" }, - { - "s": [ - "renderer\\.apester\\.com/v2/*?preview=true&iframe_preview=true" - ], - "e": "display.apester.com/oembed" - }, { "s": [ "storymaps\\.arcgis\\.com/stories/*" @@ -301,7 +289,7 @@ export const providers = [ "s": [ "codehs\\.com/editor/share_abacus/*" ], - "e": "codehs.com/api/sharedprogram/*/oembed/" + "e": "codehs.com/api/sharedprogram/1/oembed/" }, { "s": [ @@ -415,12 +403,6 @@ export const providers = [ ], "e": "backend.deviantart.com/oembed" }, - { - "s": [ - "*\\.didacte\\.com/a/course/*" - ], - "e": "*.didacte.com/cards/oembed" - }, { "s": [ "www\\.ultimedia\\.com/central/video/edit/id/*/topic_id/*/", @@ -482,10 +464,6 @@ export const providers = [ ], "e": "embedery.com/api/oembed" }, - { - "s": [], - "e": "api.embed.ly/1/oembed" - }, { "s": [ "music\\.enystre\\.com/lyrics/*" @@ -1028,17 +1006,6 @@ export const providers = [ ], "e": "me.me/oembed" }, - { - "s": [ - "*\\.medialab\\.app/share/watch/*", - "*\\.medialab\\.co/share/watch/*", - "*\\.medialab\\.app/share/social/*", - "*\\.medialab\\.co/share/social/*", - "*\\.medialab\\.app/share/embed/*", - "*\\.medialab\\.co/share/embed/*" - ], - "e": "*.medialab.(co|app)/api/oembed/" - }, { "s": [ "mdstrm\\.com/embed/*", @@ -1158,10 +1125,6 @@ export const providers = [ ], "e": "www.nfb.ca/remote/services/oembed/" }, - { - "s": [], - "e": "www.nftndx.io/oembed" - }, { "s": [ "nopaste\\.ml/*" @@ -1221,10 +1184,6 @@ export const providers = [ ], "e": "omny.fm/oembed" }, - { - "s": [], - "e": "www.ora.tv/oembed/*?format=json" - }, { "s": [ "orbitvu\\.co/001/*/ov3601/view", @@ -1305,9 +1264,9 @@ export const providers = [ }, { "s": [ - "*\\.pitchhub\\.com/en/public/player/*" + "player\\.pitchhub\\.com/en/public/player/*" ], - "e": "*.pitchhub.com.com/en/public/oembed" + "e": "player.pitchhub.com/en/public/oembed" }, { "s": [ @@ -1357,6 +1316,12 @@ export const providers = [ ], "e": "prezi.com/v/oembed" }, + { + "s": [ + "qtpi\\.gg/fashion/*" + ], + "e": "qtpi.gg/fashion/oembed" + }, { "s": [ "www\\.quiz\\.biz/quizz-*\\.html" @@ -1541,12 +1506,6 @@ export const providers = [ ], "e": "sketchfab.com/oembed" }, - { - "s": [ - "*\\.slateapp\\.com/work/*" - ], - "e": "*.slateapp.com/api/v2/oembed" - }, { "s": [ "www\\.slideshare\\.net/*/*", @@ -1685,12 +1644,6 @@ export const providers = [ ], "e": "sway.office.com/api/v1.0/oembed" }, - { - "s": [ - "player\\.switcherstudio\\.com/*" - ], - "e": "player.switcherstudio.com/oembed" - }, { "s": [ "share\\.synthesia\\.io/*" @@ -1857,10 +1810,6 @@ export const providers = [ ], "e": "api.veervr.tv/oembed" }, - { - "s": [], - "e": "verse.com/services/oembed/" - }, { "s": [ "www\\.vevo\\.com/*" @@ -1954,9 +1903,9 @@ export const providers = [ }, { "s": [ - "*\\.wiredrive\\.com/*" + "whimsical\\.com/*" ], - "e": "*.wiredrive.com/present-oembed/" + "e": "whimsical.com/api/oembed" }, { "s": [ diff --git a/src/utils/providers.orginal.json b/src/utils/providers.orginal.json index ddd181f..59b25f9 100644 --- a/src/utils/providers.orginal.json +++ b/src/utils/providers.orginal.json @@ -68,18 +68,6 @@ } ] }, - { - "provider_name": "Adways", - "provider_url": "http://www.adways.com", - "endpoints": [ - { - "schemes": [ - "http://play.adpaths.com/experience/*" - ], - "url": "http://play.adpaths.com/oembed/*" - } - ] - }, { "provider_name": "afreecaTV", "provider_url": "https://www.afreecatv.com", @@ -193,19 +181,6 @@ } ] }, - { - "provider_name": "Apester", - "provider_url": "https://www.apester.com", - "endpoints": [ - { - "schemes": [ - "https://renderer.apester.com/v2/*?preview=true&iframe_preview=true" - ], - "url": "https://display.apester.com/oembed", - "discovery": true - } - ] - }, { "provider_name": "ArcGIS StoryMaps", "provider_url": "https://storymaps.arcgis.com", @@ -635,7 +610,7 @@ "schemes": [ "https://codehs.com/editor/share_abacus/*" ], - "url": "https://codehs.com/api/sharedprogram/*/oembed/", + "url": "https://codehs.com/api/sharedprogram/1/oembed/", "discovery": true } ] @@ -872,22 +847,6 @@ } ] }, - { - "provider_name": "Didacte", - "provider_url": "https://www.didacte.com/", - "endpoints": [ - { - "schemes": [ - "https://*.didacte.com/a/course/*" - ], - "url": "https://*.didacte.com/cards/oembed", - "discovery": true, - "formats": [ - "json" - ] - } - ] - }, { "provider_name": "Digiteka", "provider_url": "https://www.ultimedia.com/", @@ -1021,15 +980,6 @@ } ] }, - { - "provider_name": "Embedly", - "provider_url": "http://api.embed.ly/", - "endpoints": [ - { - "url": "http://api.embed.ly/1/oembed" - } - ] - }, { "provider_name": "Enystre Music", "provider_url": "https://music.enystre.com", @@ -2156,24 +2106,6 @@ } ] }, - { - "provider_name": "MediaLab", - "provider_url": "https://www.medialab.co/", - "endpoints": [ - { - "schemes": [ - "https://*.medialab.app/share/watch/*", - "https://*.medialab.co/share/watch/*", - "https://*.medialab.app/share/social/*", - "https://*.medialab.co/share/social/*", - "https://*.medialab.app/share/embed/*", - "https://*.medialab.co/share/embed/*" - ], - "url": "https://*.medialab.(co|app)/api/oembed/", - "discovery": true - } - ] - }, { "provider_name": "Mediastream", "provider_url": "https://mdstrm.com/", @@ -2423,18 +2355,6 @@ } ] }, - { - "provider_name": "NFTNDX.IO", - "provider_url": "https://www.nftndx.io/", - "endpoints": [ - { - "url": "https://www.nftndx.io/oembed", - "formats": [ - "json" - ] - } - ] - }, { "provider_name": "NoPaste", "provider_url": "https://nopaste.ml", @@ -2557,16 +2477,6 @@ } ] }, - { - "provider_name": "Ora TV", - "provider_url": "http://www.ora.tv/", - "endpoints": [ - { - "discovery": true, - "url": "https://www.ora.tv/oembed/*?format={format}" - } - ] - }, { "provider_name": "Orbitvu", "provider_url": "https://orbitvu.co", @@ -2752,9 +2662,9 @@ "endpoints": [ { "schemes": [ - "https://*.pitchhub.com/en/public/player/*" + "https://player.pitchhub.com/en/public/player/*" ], - "url": "https://*.pitchhub.com.com/en/public/oembed", + "url": "https://player.pitchhub.com/en/public/oembed", "discovery": true } ] @@ -2864,6 +2774,19 @@ } ] }, + { + "provider_name": "QTpi", + "provider_url": "https://qtpi.gg/", + "endpoints": [ + { + "schemes": [ + "https://qtpi.gg/fashion/*" + ], + "url": "https://qtpi.gg/fashion/oembed", + "discovery": true + } + ] + }, { "provider_name": "Quiz.biz", "provider_url": "http://www.quiz.biz/", @@ -3258,19 +3181,6 @@ } ] }, - { - "provider_name": "Slate App", - "provider_url": "https://slateapp.com", - "endpoints": [ - { - "schemes": [ - "https://*.slateapp.com/work/*" - ], - "url": "https://*.slateapp.com/api/v2/oembed", - "discovery": true - } - ] - }, { "provider_name": "SlideShare", "provider_url": "http://www.slideshare.net/", @@ -3572,24 +3482,6 @@ } ] }, - { - "provider_name": "SwitcherStudio", - "provider_url": "https://www.switcherstudio.com/", - "endpoints": [ - { - "schemes": [ - "http://player.switcherstudio.com/*", - "https://player.switcherstudio.com/*" - ], - "url": "https://player.switcherstudio.com/oembed", - "discovery": true, - "formats": [ - "json", - "xml" - ] - } - ] - }, { "provider_name": "Synthesia", "provider_url": "https://www.synthesia.io/", @@ -3938,15 +3830,6 @@ } ] }, - { - "provider_name": "Verse", - "provider_url": "http://verse.com/", - "endpoints": [ - { - "url": "http://verse.com/services/oembed/" - } - ] - }, { "provider_name": "VEVO", "provider_url": "http://www.vevo.com/", @@ -4148,17 +4031,14 @@ ] }, { - "provider_name": "Wiredrive", - "provider_url": "https://www.wiredrive.com/", + "provider_name": "Whimsical", + "provider_url": "https://www.whimsical.com", "endpoints": [ { "schemes": [ - "https://*.wiredrive.com/*" - ], - "url": "http://*.wiredrive.com/present-oembed/", - "formats": [ - "json" + "https://whimsical.com/*" ], + "url": "https://whimsical.com/api/oembed", "discovery": true } ] diff --git a/src/utils/providers.prev.js b/src/utils/providers.prev.js index 49e494f..78dec5c 100644 --- a/src/utils/providers.prev.js +++ b/src/utils/providers.prev.js @@ -1,4 +1,4 @@ -// provider data, synchronized at 2022-11-13T05:17:54.675Z +// provider data, synchronized at 2022-11-22T04:14:50.180Z /* eslint-disable */