🎥 Make videos programmatically with React
docs: update twoslash-preset's version
Frenco31c6d7b682a4
diff --git a/packages/docs/package-lock.json b/packages/docs/package-lock.jsonindex 7813496ed4..380ece10f6 100644--- a/packages/docs/package-lock.json+++ b/packages/docs/package-lock.json@@ -19,7 +19,7 @@"clipboard": "^2.0.8","clsx": "^1.1.1","color-namer": "1.4.0",- "docusaurus-preset-shiki-twoslash": "^1.1.5",+ "docusaurus-preset-shiki-twoslash": "^1.1.16","hls.js": "^0.14.17","jest": "^27.0.4","polished": "4.1.2",@@ -3390,9 +3390,9 @@"integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw=="},"node_modules/@typescript/twoslash": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/@typescript/twoslash/-/twoslash-2.0.1.tgz",- "integrity": "sha512-+TgjZp0d331A2A9nBBjX/EFax3LnR9MtziICqgo2l23hXV9JY4EiNPdcBSEDBRzaWQIMvSa5YvBENnE6uZ33EA==",+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/@typescript/twoslash/-/twoslash-2.1.0.tgz",+ "integrity": "sha512-J72HH+zAMPA9udOuOgAxTXnzeRyz0t33Ww1jQ6CgNfjP3HtrOS4lNgG+m3u1H497U366zbcUOjNkIgNGqefd/A==","dependencies": {"@typescript/vfs": "1.3.4","debug": "^4.1.1",@@ -6020,12 +6020,12 @@}},"node_modules/docusaurus-preset-shiki-twoslash": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/docusaurus-preset-shiki-twoslash/-/docusaurus-preset-shiki-twoslash-1.1.5.tgz",- "integrity": "sha512-HUf514cEJFOlUOoL9DBkA0D+kIKjQERG6DZ+1yGWw1c4vICkbkLCaN6d/AD1KTXPpQPXtM+zh2n9uuQ1RqxhnQ==",+ "version": "1.1.16",+ "resolved": "https://registry.npmjs.org/docusaurus-preset-shiki-twoslash/-/docusaurus-preset-shiki-twoslash-1.1.16.tgz",+ "integrity": "sha512-tvwCOw6Xnvu9Id8AsWIASm5Asbqa9yExeo8v6Zt7tbbVxwiEnuWkuN9bjMBnNQecUZPJYWMaq7m2jzLk6u7irA==","dependencies": {"copy-text-to-clipboard": "^3.0.1",- "remark-shiki-twoslash": "1.5.1",+ "remark-shiki-twoslash": "2.0.1","typescript": ">3"}},@@ -6867,6 +6867,14 @@"node": ">=0.4.0"}},+ "node_modules/fenceparser": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/fenceparser/-/fenceparser-1.1.0.tgz",+ "integrity": "sha512-2/48W+LjGeYLYc7Z2WodoPv4xP4Bd9e2CsnnFZuzzoNkv+w8NyJKDD/EUhcwv9VkmXsnGtnDzZz6DNykD9JrlA==",+ "engines": {+ "node": ">=12"+ }+ },"node_modules/figures": {"version": "3.2.0","resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",@@ -13229,15 +13237,16 @@}},"node_modules/remark-shiki-twoslash": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/remark-shiki-twoslash/-/remark-shiki-twoslash-1.5.1.tgz",- "integrity": "sha512-J4OiPxGiti2+wB30yfOqJJ4dEkR+j02CspH8/ifFb3fVKx190NUhBdaAgGQbepDAuEP8jZCU50mZrIOaY8JHyw==",+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/remark-shiki-twoslash/-/remark-shiki-twoslash-2.0.1.tgz",+ "integrity": "sha512-Xj2pMArldasY6WvqjaVR/G7HJnqIGYGIQlpNCpeq2kGTaABU80nJ5lF7AiELUGbg1f5aK4tosE24zo2ChWi9Zg==","dependencies": {- "@typescript/twoslash": "2.0.1",+ "@typescript/twoslash": "2.1.0","@typescript/vfs": "1.3.4",+ "fenceparser": "^1.1.0","regenerator-runtime": "^0.13.7","shiki": "0.9.3",- "shiki-twoslash": "1.6.0",+ "shiki-twoslash": "2.0.3","tslib": "2.1.0","typescript": ">3","unist-util-visit": "^2.0.0"@@ -14050,11 +14059,11 @@}},"node_modules/shiki-twoslash": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/shiki-twoslash/-/shiki-twoslash-1.6.0.tgz",- "integrity": "sha512-kM/5YbMg3gWK8T/uUtveS4MA91Ag0/T0NjxwkDpLpEPBzV5VDkVwX5qNYx5amYNkwvrtGRFmyca2uCmcHygSrQ==",+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/shiki-twoslash/-/shiki-twoslash-2.0.3.tgz",+ "integrity": "sha512-tUeoek4e0pShUp0AnkfLXl4DCnvcC3iI1pDspPfdWKaBYY8hPW7J4iWxf9VXkdCA7wxwmT1bsiZ6e9h9Tndehg==","dependencies": {- "@typescript/twoslash": "2.0.1",+ "@typescript/twoslash": "2.1.0","@typescript/vfs": "1.3.4","shiki": "0.9.3","typescript": ">3"@@ -19817,9 +19826,9 @@"integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw=="},"@typescript/twoslash": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/@typescript/twoslash/-/twoslash-2.0.1.tgz",- "integrity": "sha512-+TgjZp0d331A2A9nBBjX/EFax3LnR9MtziICqgo2l23hXV9JY4EiNPdcBSEDBRzaWQIMvSa5YvBENnE6uZ33EA==",+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/@typescript/twoslash/-/twoslash-2.1.0.tgz",+ "integrity": "sha512-J72HH+zAMPA9udOuOgAxTXnzeRyz0t33Ww1jQ6CgNfjP3HtrOS4lNgG+m3u1H497U366zbcUOjNkIgNGqefd/A==","requires": {"@typescript/vfs": "1.3.4","debug": "^4.1.1",@@ -21843,12 +21852,12 @@}},"docusaurus-preset-shiki-twoslash": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/docusaurus-preset-shiki-twoslash/-/docusaurus-preset-shiki-twoslash-1.1.5.tgz",- "integrity": "sha512-HUf514cEJFOlUOoL9DBkA0D+kIKjQERG6DZ+1yGWw1c4vICkbkLCaN6d/AD1KTXPpQPXtM+zh2n9uuQ1RqxhnQ==",+ "version": "1.1.16",+ "resolved": "https://registry.npmjs.org/docusaurus-preset-shiki-twoslash/-/docusaurus-preset-shiki-twoslash-1.1.16.tgz",+ "integrity": "sha512-tvwCOw6Xnvu9Id8AsWIASm5Asbqa9yExeo8v6Zt7tbbVxwiEnuWkuN9bjMBnNQecUZPJYWMaq7m2jzLk6u7irA==","requires": {"copy-text-to-clipboard": "^3.0.1",- "remark-shiki-twoslash": "1.5.1",+ "remark-shiki-twoslash": "2.0.1","typescript": ">3"}},@@ -22539,6 +22548,11 @@"xml-js": "^1.6.11"}},+ "fenceparser": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/fenceparser/-/fenceparser-1.1.0.tgz",+ "integrity": "sha512-2/48W+LjGeYLYc7Z2WodoPv4xP4Bd9e2CsnnFZuzzoNkv+w8NyJKDD/EUhcwv9VkmXsnGtnDzZz6DNykD9JrlA=="+ },"figures": {"version": "3.2.0","resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",@@ -27258,15 +27272,16 @@}},"remark-shiki-twoslash": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/remark-shiki-twoslash/-/remark-shiki-twoslash-1.5.1.tgz",- "integrity": "sha512-J4OiPxGiti2+wB30yfOqJJ4dEkR+j02CspH8/ifFb3fVKx190NUhBdaAgGQbepDAuEP8jZCU50mZrIOaY8JHyw==",+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/remark-shiki-twoslash/-/remark-shiki-twoslash-2.0.1.tgz",+ "integrity": "sha512-Xj2pMArldasY6WvqjaVR/G7HJnqIGYGIQlpNCpeq2kGTaABU80nJ5lF7AiELUGbg1f5aK4tosE24zo2ChWi9Zg==","requires": {- "@typescript/twoslash": "2.0.1",+ "@typescript/twoslash": "2.1.0","@typescript/vfs": "1.3.4",+ "fenceparser": "^1.1.0","regenerator-runtime": "^0.13.7","shiki": "0.9.3",- "shiki-twoslash": "1.6.0",+ "shiki-twoslash": "2.0.3","tslib": "2.1.0","typescript": ">3","unist-util-visit": "^2.0.0"@@ -27891,11 +27906,11 @@}},"shiki-twoslash": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/shiki-twoslash/-/shiki-twoslash-1.6.0.tgz",- "integrity": "sha512-kM/5YbMg3gWK8T/uUtveS4MA91Ag0/T0NjxwkDpLpEPBzV5VDkVwX5qNYx5amYNkwvrtGRFmyca2uCmcHygSrQ==",+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/shiki-twoslash/-/shiki-twoslash-2.0.3.tgz",+ "integrity": "sha512-tUeoek4e0pShUp0AnkfLXl4DCnvcC3iI1pDspPfdWKaBYY8hPW7J4iWxf9VXkdCA7wxwmT1bsiZ6e9h9Tndehg==","requires": {- "@typescript/twoslash": "2.0.1",+ "@typescript/twoslash": "2.1.0","@typescript/vfs": "1.3.4","shiki": "0.9.3","typescript": ">3"diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex 2e7d670adf..9355642e3b 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -28,7 +28,7 @@"clipboard": "^2.0.8","clsx": "^1.1.1","color-namer": "1.4.0",- "docusaurus-preset-shiki-twoslash": "^1.1.5",+ "docusaurus-preset-shiki-twoslash": "^1.1.16","hls.js": "^0.14.17","jest": "^27.0.4","polished": "4.1.2",