Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(data): update with october dataset #234

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,141 changes: 578 additions & 563 deletions README.md

Large diffs are not rendered by default.

Binary file modified by-category.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,051 changes: 1,051 additions & 0 deletions data/2024-10-01-entity-scripting.json

Large diffs are not rendered by default.

47,791 changes: 47,791 additions & 0 deletions data/2024-10-01-observed-domains.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions lib/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('getEntity', () => {
it('works for direct domain usage', () => {
expect(getEntity('https://js.connect.facebook.net/lib.js')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 379.7486743267565,
"averageExecutionTime": 347.4278160199557,
"categories": Array [
"social",
],
Expand Down Expand Up @@ -103,16 +103,16 @@ describe('getEntity', () => {
],
},
],
"totalExecutionTime": 1178628239,
"totalOccurrences": 3103706,
"totalExecutionTime": 1097107210,
"totalOccurrences": 3157799,
}
`)
})

it('works for inferred domain usage', () => {
expect(getEntity('https://unknown.typekit.net/fonts.css')).toMatchInlineSnapshot(`
Object {
"averageExecutionTime": 345.32094234999545,
"averageExecutionTime": 660.2645605704683,
"categories": Array [
"cdn",
],
Expand All @@ -129,8 +129,8 @@ describe('getEntity', () => {
"homepage": "https://fonts.adobe.com/",
"name": "Adobe TypeKit",
"products": Array [],
"totalExecutionTime": 34064875,
"totalOccurrences": 98647,
"totalExecutionTime": 78981507,
"totalOccurrences": 119621,
}
`)
})
Expand Down
File renamed without changes.