Skip to content

Commit c630116

Browse files
authored
Merge branch 'main' into fix-duplicate-links
2 parents e6cf1dd + fe54c79 commit c630116

File tree

11 files changed

+2788
-1768
lines changed

11 files changed

+2788
-1768
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
node-version: ${{ env.NODE }}
3131
cache: npm
3232

33+
- name: Disable AppArmor
34+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
35+
3336
- name: Install dependencies
3437
run: npm ci
3538

.size-limit.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[
22
{
33
"path": "dist/quicklink.js",
4-
"limit": "2 kB",
4+
"limit": "2.5 kB",
55
"gzip": true
66
},
77
{
88
"path": "dist/quicklink.mjs",
9-
"limit": "2 kB",
9+
"limit": "2.5 kB",
1010
"gzip": true
1111
},
1212
{
1313
"path": "dist/quicklink.modern.mjs",
14-
"limit": "1.6 kB",
14+
"limit": "2 kB",
1515
"gzip": true
1616
},
1717
{
1818
"path": "dist/quicklink.umd.js",
19-
"limit": "2 kB",
19+
"limit": "2.5 kB",
2020
"gzip": true
2121
}
2222
]

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,7 @@ One or many URLs to be prerendered.
286286
`quicklink`:
287287

288288
- Includes a very small fallback for [requestIdleCallback](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)
289-
- Requires `IntersectionObserver` to be supported (see [Can I Use](https://caniuse.com/intersectionobserver)). We recommend conditionally polyfilling this feature with a service like Polyfill.io:
290-
291-
```html
292-
<script src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver"></script>
293-
```
294-
295-
Alternatively, see the [Intersection Observer polyfill](https://github.com/GoogleChromeLabs/intersection-observer).
289+
- Requires `IntersectionObserver` to be supported. This is [supported in all modern browsers](https://caniuse.com/intersectionobserver), however you can use the [Intersection Observer polyfill](https://github.com/GoogleChromeLabs/intersection-observer) to support legacy browsers if needed.
296290

297291
## Recipes
298292

package-lock.json

Lines changed: 1898 additions & 1344 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@
5252
"react-dom": "^16.8.0"
5353
},
5454
"devDependencies": {
55-
"@babel/cli": "^7.24.5",
56-
"@babel/core": "^7.24.5",
57-
"@babel/preset-env": "^7.24.5",
58-
"@babel/preset-react": "^7.24.1",
59-
"@size-limit/file": "^11.1.2",
60-
"conventional-changelog-cli": "^4.1.0",
55+
"@babel/cli": "^7.24.8",
56+
"@babel/core": "^7.24.9",
57+
"@babel/preset-env": "^7.24.8",
58+
"@babel/preset-react": "^7.24.7",
59+
"@size-limit/file": "^11.1.4",
60+
"conventional-changelog-cli": "^5.0.0",
6161
"cross-env": "^7.0.3",
6262
"eslint": "^8.57.0",
6363
"eslint-config-google": "^0.14.0",
64-
"eslint-plugin-react": "^7.34.1",
64+
"eslint-plugin-react": "^7.35.0",
6565
"microbundle": "0.15.1",
66-
"npm-run-all2": "^6.1.2",
67-
"puppeteer": "^22.7.1",
66+
"npm-run-all2": "^6.2.2",
67+
"puppeteer": "^22.13.1",
6868
"react": "^16.14.0",
6969
"react-dom": "^16.14.0",
7070
"sirv-cli": "^2.0.2",
71-
"size-limit": "^11.1.2",
71+
"size-limit": "^11.1.4",
7272
"uvu": "^0.5.6"
7373
}
74-
}
74+
}

0 commit comments

Comments
 (0)