From e048debab727c8e24abdc758151b3b7308e26dce Mon Sep 17 00:00:00 2001 From: Krzysztof Modras <1228153+chrmod@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:16:31 +0200 Subject: [PATCH] Rename to Ghostery (#673) --- LICENSE | 4 ++-- package-lock.json | 4 ++-- package.json | 6 +++--- readme.md | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/LICENSE b/LICENSE index 2c58fee..d079d31 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2017-2019 Cliqz GmbH. All rights reserved. +Copyright (c) 2017-2024 Ghostery GmbH. All rights reserved. Mozilla Public License Version 2.0 ================================== @@ -372,4 +372,4 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice --------------------------------------------------------- This Source Code Form is "Incompatible With Secondary Licenses", as - defined by the Mozilla Public License, v. 2.0. \ No newline at end of file + defined by the Mozilla Public License, v. 2.0. diff --git a/package-lock.json b/package-lock.json index ed13b92..d11fe4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@cliqz/url-parser", + "name": "@ghostery/url-parser", "version": "1.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@cliqz/url-parser", + "name": "@ghostery/url-parser", "version": "1.1.5", "license": "MPL-2.0", "dependencies": { diff --git a/package.json b/package.json index 201f613..9e647d9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@cliqz/url-parser", + "name": "@ghostery/url-parser", "version": "1.1.5", "description": "A Fast URL parser implementation", "main": "build/cjs/url-parser.js", @@ -48,8 +48,8 @@ "tldts-experimental": "^6.0.11" }, "auto": { - "name": "Sam Macbeth", - "email": "sam@cliqz.com", + "name": "Ghostery Adblocker Bot", + "email": "ghostery-adblocker-bot@users.noreply.github.com", "plugins": [ "npm" ], diff --git a/readme.md b/readme.md index fa55bbf..9228b39 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Cliqz Url Parser +# Ghostery Url Parser A Fast implementation of url parsing, mostly API-compatible with the standard URL class while being on average 2-3 times faster. Evaluation of URL components is lazy, so this implementation @@ -19,7 +19,7 @@ Known differences to standard URL: ## Install ```bash -npm install @cliqz/url-parser +npm install @ghostery/url-parser ``` ## Usage @@ -31,7 +31,7 @@ parsed.hostname // == 'www.example.com' ## Performance -We benchmark against a list of 250,000 URLs collected from popular sites, as previously used in our +We benchmark against a list of 250,000 URLs collected from popular sites, as previously used in our [adblocker benchmark](https://whotracks.me/blog/adblockers_performance_study.html). We compare two use-cases: 1. `URL` object creation: `new URL(url)` @@ -43,7 +43,7 @@ We compare to a reference implementation on each platform: * Chrome: `window.URL` * Safari: `window.URL` -| Environment | Use case | Reference: urls/s | Cliqz parser: urls/s | Speedup | +| Environment | Use case | Reference: urls/s | Ghostery parser: urls/s | Speedup | | --- | --- | --: | --: | --- | | Node 11 | `new URL()` | `149,514` | `1,577,711` | _10.5x faster_ | Node 11 | `searchParams` | `140,544` | `198,340` | _1.4x faster_