feat: use the latest release opposans 4.0 font

This commit is contained in:
Yufan Sheng 2024-10-23 15:25:44 +08:00
parent 29ccf6b169
commit 1cce00e971
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B
11 changed files with 229 additions and 291 deletions

View File

@ -216,12 +216,13 @@ and [Iroha Mochi](https://modi.jpn.org/font_iroha-mochi.php) with [license](lice
They are the fonts that can be used in business without any charge. They are the fonts that can be used in business without any charge.
### Open Graph Font License ### Open Graph Font & Web Font License
The [Noto Sans Simplified Chinese](https://fonts.google.com/noto/specimen/Noto+Sans+SC) The [OPPOSans 4.0](https://open.oppomobile.com/new/developmentDoc/info?id=13223)
is used for rendering the open graph image in my weblog. is used for rendering the open graph image in my weblog.
We also use it as the main web font for articles.
It can be used in business scenarios without any modification. It can be used in business scenarios without any modification.
The license file is [here](licenses/LICENSE.noto-sans-sc.txt) The license file is [here](licenses/LICENSE.opposans.txt)
### Third Party Codes License ### Third Party Codes License

View File

@ -1,93 +0,0 @@
Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -0,0 +1,34 @@
License Notice
Copyright 2024 Guangdong OPPO Mobile Telecommunications Corp., Ltd.
OPPO Sans Fonts Software is licensed under OPPO Sans Fonts License Agreement.
--------------------------------------------------------------------------------
OPPO Sans Fonts License Agreement
THIS OPPO SANS FONTS LICENSE AGREEMENT ("AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND GUANGDONG OPPO MOBILE TELECOMMUNICATION CORP.,LTD. ( "LICENSOR") FOR THE USE OF THE OPPO SANS FONTS ACCOMPANYING THIS AGREEMENT. BY DOWNLOADING, COPYING OR OTHERWISE USING OPPO SANS FONTS YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU MAY NOT DOWNLOAD, COPY OR OTHERWISE USE THE OPPO SANS FONTS, AND YOU SHALL PROMPTLY DESTROY AND DELETE ALL THE OPPO SANS FONTS.
1.Definition
"OPPO Sans Fonts" shall mean the collection of fonts software components provided by Licensor under this Agreement and clearly marked as "OPPO Sans".
"YOU" shall mean an individual or legal entity exercising permissions granted by this Agreement.
2.GRANT OF LICENSE
Subject to the terms and conditions of this Agreement, Licensor hereby grant YOU a non-transferable, non-exclusive, royalty-free, revocable, worldwide copyright license to use, copy, merge, embed, bundle, redistribute and/or sell unmodified copies of OPPO Sans Fonts with any software except for fonts softwaresubject to the following conditions:
1)YOU shall make a prominent notice in the software to state that OPPO Sans Fonts are used.
2)YOU may not make any modifications to OPPO Sans Fonts or any of their individual components.
3)Neither OPPO Sans Fonts nor any of their individual components may be redistributed or sold in a stand-alone base. This limitation does not apply to any work created by using OPPO Sans Fonts. You can freely distribute or sell your work, such as materials, logos, application software etc. created by using OPPO Sans Fonts.
4)YOU shall retain the copyright notice and this Agreement in any copies of OPPO Sans Fonts.
3.Termination
This Agreement will be automatically terminated if YOU breach any of this Agreement.
4.NO WARRANTY
YOU AGREE THAT THE OPPO SANS FONTS ARE PROVIDED BY LICENSOR ON AN "AS IS" BASIS. LICENSOR MAKES NO WARRANTY, EXPRESSED OR IMPLIED OR STATUTORY, WITH RESPECT TO ANY OF THE OPPO SANS FONTS, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
5.NO LIABILITY
IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DIRECT OR INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE OF OR INABILITY TO USE OPPO SANS FONTS, WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHER LEGAL THEORY, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
YOU EXPRESSLY ASSUME ALL LIABILITIES AND RISKS FOR USE OF OPPO SANS FONTS. SHOULD THE OPPO SANS FONTS PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

310
package-lock.json generated
View File

@ -28,7 +28,7 @@
"@napi-rs/canvas": "^0.1.58", "@napi-rs/canvas": "^0.1.58",
"@types/lodash": "^4.17.12", "@types/lodash": "^4.17.12",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"@types/node": "^22.7.8", "@types/node": "^22.7.9",
"@types/pg": "^8.11.10", "@types/pg": "^8.11.10",
"@types/qrcode-svg": "^1.1.5", "@types/qrcode-svg": "^1.1.5",
"@types/unist": "^3.0.3", "@types/unist": "^3.0.3",
@ -243,12 +243,12 @@
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.9.tgz",
"integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", "integrity": "sha512-z88xeGxnzehn2sqZ8UdGQEvYErF1odv2CftxInpSYJt6uHuPe9YjahKZITGs3l5LeI9d2ROG+obuDAoSlqbNfQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/highlight": "^7.25.7", "@babel/highlight": "^7.25.9",
"picocolors": "^1.0.0" "picocolors": "^1.0.0"
}, },
"engines": { "engines": {
@ -256,30 +256,30 @@
} }
}, },
"node_modules/@babel/compat-data": { "node_modules/@babel/compat-data": {
"version": "7.25.8", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.9.tgz",
"integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", "integrity": "sha512-yD+hEuJ/+wAJ4Ox2/rpNv5HIuPG82x3ZlQvYVn8iYCprdxzE7P1udpGF1jyjQVBU4dgznN+k2h103vxZ7NdPyw==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/core": { "node_modules/@babel/core": {
"version": "7.25.8", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.9.tgz",
"integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", "integrity": "sha512-WYvQviPw+Qyib0v92AwNIrdLISTp7RfDkM7bPqBvpbnhY4wq8HvHBZREVdYDXk98C8BkOIVnHAY3yvj7AVISxQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@ampproject/remapping": "^2.2.0", "@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.25.7", "@babel/code-frame": "^7.25.9",
"@babel/generator": "^7.25.7", "@babel/generator": "^7.25.9",
"@babel/helper-compilation-targets": "^7.25.7", "@babel/helper-compilation-targets": "^7.25.9",
"@babel/helper-module-transforms": "^7.25.7", "@babel/helper-module-transforms": "^7.25.9",
"@babel/helpers": "^7.25.7", "@babel/helpers": "^7.25.9",
"@babel/parser": "^7.25.8", "@babel/parser": "^7.25.9",
"@babel/template": "^7.25.7", "@babel/template": "^7.25.9",
"@babel/traverse": "^7.25.7", "@babel/traverse": "^7.25.9",
"@babel/types": "^7.25.8", "@babel/types": "^7.25.9",
"convert-source-map": "^2.0.0", "convert-source-map": "^2.0.0",
"debug": "^4.1.0", "debug": "^4.1.0",
"gensync": "^1.0.0-beta.2", "gensync": "^1.0.0-beta.2",
@ -304,12 +304,12 @@
} }
}, },
"node_modules/@babel/generator": { "node_modules/@babel/generator": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.9.tgz",
"integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", "integrity": "sha512-omlUGkr5EaoIJrhLf9CJ0TvjBRpd9+AXRG//0GEQ9THSo8wPiTlbpy1/Ow8ZTrbXpjd9FHXfbFQx32I04ht0FA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/types": "^7.25.7", "@babel/types": "^7.25.9",
"@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/gen-mapping": "^0.3.5",
"@jridgewell/trace-mapping": "^0.3.25", "@jridgewell/trace-mapping": "^0.3.25",
"jsesc": "^3.0.2" "jsesc": "^3.0.2"
@ -319,25 +319,25 @@
} }
}, },
"node_modules/@babel/helper-annotate-as-pure": { "node_modules/@babel/helper-annotate-as-pure": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz",
"integrity": "sha512-4xwU8StnqnlIhhioZf1tqnVWeQ9pvH/ujS8hRfw/WOza+/a+1qv69BWNy+oY231maTCWgKWhfBU7kDpsds6zAA==", "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-compilation-targets": { "node_modules/@babel/helper-compilation-targets": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz",
"integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/compat-data": "^7.25.7", "@babel/compat-data": "^7.25.9",
"@babel/helper-validator-option": "^7.25.7", "@babel/helper-validator-option": "^7.25.9",
"browserslist": "^4.24.0", "browserslist": "^4.24.0",
"lru-cache": "^5.1.1", "lru-cache": "^5.1.1",
"semver": "^6.3.1" "semver": "^6.3.1"
@ -356,28 +356,28 @@
} }
}, },
"node_modules/@babel/helper-module-imports": { "node_modules/@babel/helper-module-imports": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
"integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/traverse": "^7.25.7", "@babel/traverse": "^7.25.9",
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-module-transforms": { "node_modules/@babel/helper-module-transforms": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.9.tgz",
"integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", "integrity": "sha512-TvLZY/F3+GvdRYFZFyxMvnsKi+4oJdgZzU3BoGN9Uc2d9C6zfNwJcKKhjqLAhK8i46mv93jsO74fDh3ih6rpHA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-module-imports": "^7.25.7", "@babel/helper-module-imports": "^7.25.9",
"@babel/helper-simple-access": "^7.25.7", "@babel/helper-simple-access": "^7.25.9",
"@babel/helper-validator-identifier": "^7.25.7", "@babel/helper-validator-identifier": "^7.25.9",
"@babel/traverse": "^7.25.7" "@babel/traverse": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
@ -387,74 +387,74 @@
} }
}, },
"node_modules/@babel/helper-plugin-utils": { "node_modules/@babel/helper-plugin-utils": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz",
"integrity": "sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==", "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-simple-access": { "node_modules/@babel/helper-simple-access": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.9.tgz",
"integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", "integrity": "sha512-c6WHXuiaRsJTyHYLJV75t9IqsmTbItYfdj99PnzYGQZkYKvan5/2jKJ7gu31J3/BJ/A18grImSPModuyG/Eo0Q==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/traverse": "^7.25.7", "@babel/traverse": "^7.25.9",
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-string-parser": { "node_modules/@babel/helper-string-parser": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
"integrity": "sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==", "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-validator-identifier": { "node_modules/@babel/helper-validator-identifier": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
"integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==", "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helper-validator-option": { "node_modules/@babel/helper-validator-option": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz",
"integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/helpers": { "node_modules/@babel/helpers": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.9.tgz",
"integrity": "sha512-Sv6pASx7Esm38KQpF/U/OXLwPPrdGHNKoeblRxgZRLXnAtnkEe4ptJPDtAZM7fBLadbc1Q07kQpSiGQ0Jg6tRA==", "integrity": "sha512-oKWp3+usOJSzDZOucZUAMayhPz/xVjzymyDzUN8dk0Wd3RWMlGLXi07UCQ/CgQVb8LvXx3XBajJH4XGgkt7H7g==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/template": "^7.25.7", "@babel/template": "^7.25.9",
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/highlight": { "node_modules/@babel/highlight": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz",
"integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-validator-identifier": "^7.25.7", "@babel/helper-validator-identifier": "^7.25.9",
"chalk": "^2.4.2", "chalk": "^2.4.2",
"js-tokens": "^4.0.0", "js-tokens": "^4.0.0",
"picocolors": "^1.0.0" "picocolors": "^1.0.0"
@ -464,12 +464,12 @@
} }
}, },
"node_modules/@babel/parser": { "node_modules/@babel/parser": {
"version": "7.25.8", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.8.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.9.tgz",
"integrity": "sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==", "integrity": "sha512-aI3jjAAO1fh7vY/pBGsn1i9LDbRP43+asrRlkPuTXW5yHXtd1NgTEMudbBoDDxrf1daEEfPJqR+JBMakzrR4Dg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/types": "^7.25.8" "@babel/types": "^7.25.9"
}, },
"bin": { "bin": {
"parser": "bin/babel-parser.js" "parser": "bin/babel-parser.js"
@ -479,12 +479,12 @@
} }
}, },
"node_modules/@babel/plugin-syntax-jsx": { "node_modules/@babel/plugin-syntax-jsx": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz",
"integrity": "sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw==", "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-plugin-utils": "^7.25.7" "@babel/helper-plugin-utils": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
@ -494,16 +494,16 @@
} }
}, },
"node_modules/@babel/plugin-transform-react-jsx": { "node_modules/@babel/plugin-transform-react-jsx": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.25.9.tgz",
"integrity": "sha512-vILAg5nwGlR9EXE8JIOX4NHXd49lrYbN8hnjffDtoULwpL9hUx/N55nqh2qd0q6FyNDfjl9V79ecKGvFbcSA0Q==", "integrity": "sha512-s5XwpQYCqGerXl+Pu6VDL3x0j2d82eiV77UJ8a2mDHAW7j9SWRqQ2y1fNo1Z74CdcYipl5Z41zvjj4Nfzq36rw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-annotate-as-pure": "^7.25.7", "@babel/helper-annotate-as-pure": "^7.25.9",
"@babel/helper-module-imports": "^7.25.7", "@babel/helper-module-imports": "^7.25.9",
"@babel/helper-plugin-utils": "^7.25.7", "@babel/helper-plugin-utils": "^7.25.9",
"@babel/plugin-syntax-jsx": "^7.25.7", "@babel/plugin-syntax-jsx": "^7.25.9",
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
@ -513,30 +513,30 @@
} }
}, },
"node_modules/@babel/template": { "node_modules/@babel/template": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz",
"integrity": "sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==", "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/code-frame": "^7.25.7", "@babel/code-frame": "^7.25.9",
"@babel/parser": "^7.25.7", "@babel/parser": "^7.25.9",
"@babel/types": "^7.25.7" "@babel/types": "^7.25.9"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@babel/traverse": { "node_modules/@babel/traverse": {
"version": "7.25.7", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz",
"integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/code-frame": "^7.25.7", "@babel/code-frame": "^7.25.9",
"@babel/generator": "^7.25.7", "@babel/generator": "^7.25.9",
"@babel/parser": "^7.25.7", "@babel/parser": "^7.25.9",
"@babel/template": "^7.25.7", "@babel/template": "^7.25.9",
"@babel/types": "^7.25.7", "@babel/types": "^7.25.9",
"debug": "^4.3.1", "debug": "^4.3.1",
"globals": "^11.1.0" "globals": "^11.1.0"
}, },
@ -545,14 +545,13 @@
} }
}, },
"node_modules/@babel/types": { "node_modules/@babel/types": {
"version": "7.25.8", "version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.8.tgz", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.9.tgz",
"integrity": "sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==", "integrity": "sha512-OwS2CM5KocvQ/k7dFJa8i5bNGJP0hXWfVCfDkqRFP1IreH1JDC7wG6eCYCi0+McbfT8OR/kNqsI0UU0xP9H6PQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-string-parser": "^7.25.7", "@babel/helper-string-parser": "^7.25.9",
"@babel/helper-validator-identifier": "^7.25.7", "@babel/helper-validator-identifier": "^7.25.9"
"to-fast-properties": "^2.0.0"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
@ -2010,9 +2009,9 @@
} }
}, },
"node_modules/@opendal/lib-darwin-arm64": { "node_modules/@opendal/lib-darwin-arm64": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-darwin-arm64/-/lib-darwin-arm64-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-darwin-arm64/-/lib-darwin-arm64-0.47.6.tgz",
"integrity": "sha512-AC5L50t3cYT49WHU6/YLrCyr39/Bjatr0FwySqW9KushH+MyZFTz29aKLugTUJUrsfsoubS0D97VtNfTfjjfuQ==", "integrity": "sha512-uFWHKYtyYDh98B4as1+Cna/IHhelZUaVhc3mSRW+D4KJmwXgh44QERimt99UiJ8HXuJ//QIqr2SH2P6p4+i9ew==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@ -2027,9 +2026,9 @@
} }
}, },
"node_modules/@opendal/lib-darwin-x64": { "node_modules/@opendal/lib-darwin-x64": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-darwin-x64/-/lib-darwin-x64-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-darwin-x64/-/lib-darwin-x64-0.47.6.tgz",
"integrity": "sha512-QrRQdbjzpNeC2LKuWBfMLgDD7uWweIzYK0mqANtv/0zzrWcWBohGBHSaGX1/ErJUsOMgO8iSdOk2zlKViTtjHA==", "integrity": "sha512-DKBjU3+flTNVpZouiI5YCBenpzeRQJkBNJyORvNHbDWFGs1l8UjkoLIkwkzHyDyrv7h2MMtZ2DP3sMgr6MQxUg==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@ -2044,9 +2043,9 @@
} }
}, },
"node_modules/@opendal/lib-linux-arm64-gnu": { "node_modules/@opendal/lib-linux-arm64-gnu": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-linux-arm64-gnu/-/lib-linux-arm64-gnu-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-linux-arm64-gnu/-/lib-linux-arm64-gnu-0.47.6.tgz",
"integrity": "sha512-DnKDSKiMPTNolUiqsyNWLDuyQ7OdhwMI/wAJQZeemiMyFbHU/cZQdHB/Veq0zZHx5A75otYAdJvhkfZ/JoD6bQ==", "integrity": "sha512-NHb/GXWOeE+B+ymtsEbwJNrm1f+YoDEtkpVnZhN0LpA1wzHA8jYlEnWpjZfhn/AYOzXhfBYbNjGu9P83vUgsJQ==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@ -2061,9 +2060,9 @@
} }
}, },
"node_modules/@opendal/lib-linux-arm64-musl": { "node_modules/@opendal/lib-linux-arm64-musl": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-linux-arm64-musl/-/lib-linux-arm64-musl-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-linux-arm64-musl/-/lib-linux-arm64-musl-0.47.6.tgz",
"integrity": "sha512-BZKk8+wrSDadCP9MwtgMjlUzFFAd8RNNZ5OQgoDPCOk+Y72QSqpot+njRLG+Ln2ehcV87Fc2CJHgkpvWGSRU1g==", "integrity": "sha512-I+G24lJczrODCiElTS84By227aGB2OmFsT3bBKK+K4vwD5TgZMAN2+UPbjfjdspXd0mf1JYCvG8IlWz2I8qk5A==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@ -2078,9 +2077,9 @@
} }
}, },
"node_modules/@opendal/lib-linux-x64-gnu": { "node_modules/@opendal/lib-linux-x64-gnu": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-linux-x64-gnu/-/lib-linux-x64-gnu-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-linux-x64-gnu/-/lib-linux-x64-gnu-0.47.6.tgz",
"integrity": "sha512-VQHZiZMvpnlYSjdhuxcVZxaA+iPahkHUzqUqU/unTHnzYH/MvqRUCRuEtNqnrC8w+W02QdVNOjdAYFSXu8ng6A==", "integrity": "sha512-i47klDtqT6h7cITvULNgPSa66fmvQbqFNxr219kJrOJREpRUgQt2/5eqnppivJRmB0Ji7YlBSGYkmVgctqqi7w==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@ -2095,9 +2094,9 @@
} }
}, },
"node_modules/@opendal/lib-win32-arm64-msvc": { "node_modules/@opendal/lib-win32-arm64-msvc": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-win32-arm64-msvc/-/lib-win32-arm64-msvc-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-win32-arm64-msvc/-/lib-win32-arm64-msvc-0.47.6.tgz",
"integrity": "sha512-bv63YxzRsZSjW861QpZyDfN1UNDAqDbQY+CaAT9kC+nA79ZcjCOx32ha3Pq+bgOKYw4tYdgpvXT79pFb0QQhGA==", "integrity": "sha512-YrwklApOgjvXq2QG2G+V4WvBc+w2hXFDsnnJNQS3aOfpUY8GO6SB9ROon9PQ3U8SQmzgJ4C04mQJok7vwSxfOQ==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@ -2112,9 +2111,9 @@
} }
}, },
"node_modules/@opendal/lib-win32-x64-msvc": { "node_modules/@opendal/lib-win32-x64-msvc": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/@opendal/lib-win32-x64-msvc/-/lib-win32-x64-msvc-0.47.5.tgz", "resolved": "https://registry.npmjs.org/@opendal/lib-win32-x64-msvc/-/lib-win32-x64-msvc-0.47.6.tgz",
"integrity": "sha512-lbvX2/s0AB85qSLo3tbp/yHl3cMwI55wOCi4MmjSzMk2t7EfwZQt6Yd6YwKH/LcvGEWLUPn01zz9JoSYKOYh+Q==", "integrity": "sha512-QlTvmIqSL8tqUyg4Tb89oV7LzDrkacVV/d9IEFi1qlXWTq9yxvBRd5VMG6VYmqhHqccLB2p128jVO2uiWGpnrQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@ -2569,9 +2568,9 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.7.8", "version": "22.7.9",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.8.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.9.tgz",
"integrity": "sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==", "integrity": "sha512-jrTfRC7FM6nChvU7X2KqcrgquofrWLFDeYC1hKfwNWomVvrn7JIksqf344WN2X/y8xrgqBd2dJATZV4GbatBfg==",
"devOptional": true, "devOptional": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -2610,9 +2609,9 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/@vercel/nft": { "node_modules/@vercel/nft": {
"version": "0.27.4", "version": "0.27.5",
"resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.27.4.tgz", "resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.27.5.tgz",
"integrity": "sha512-Rioz3LJkEKicKCi9BSyc1RXZ5R6GmXosFMeBSThh6msWSOiArKhb7c75MiWwZEgPL7x0/l3TAfH/l0cxKNuUFA==", "integrity": "sha512-b2A7M+4yMHdWKY7xCC+kBEcnMrpaSE84CnuauTjhKKoCEeej0byJMAB8h/RBVnw/HdZOAFVcxR0Izr3LL24FwA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@mapbox/node-pre-gyp": "^1.0.5", "@mapbox/node-pre-gyp": "^1.0.5",
@ -2624,7 +2623,7 @@
"estree-walker": "2.0.2", "estree-walker": "2.0.2",
"glob": "^7.1.3", "glob": "^7.1.3",
"graceful-fs": "^4.2.9", "graceful-fs": "^4.2.9",
"micromatch": "^4.0.2", "micromatch": "^4.0.8",
"node-gyp-build": "^4.2.2", "node-gyp-build": "^4.2.2",
"resolve-from": "^5.0.0" "resolve-from": "^5.0.0"
}, },
@ -3986,9 +3985,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.42", "version": "1.5.43",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.42.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.43.tgz",
"integrity": "sha512-gIfKavKDw1mhvic9nbzA5lZw8QSHpdMwLwXc0cWidQz9B15pDoDdDH4boIatuFfeoCatb3a/NGL6CYRVFxGZ9g==", "integrity": "sha512-NxnmFBHDl5Sachd2P46O7UJiMaMHMLSofoIWVJq3mj8NJgG0umiSeljAVP9lGzjI0UDLJJ5jjoGjcrB8RSbjLQ==",
"license": "ISC" "license": "ISC"
}, },
"node_modules/emmet": { "node_modules/emmet": {
@ -6821,22 +6820,22 @@
} }
}, },
"node_modules/opendal": { "node_modules/opendal": {
"version": "0.47.5", "version": "0.47.6",
"resolved": "https://registry.npmjs.org/opendal/-/opendal-0.47.5.tgz", "resolved": "https://registry.npmjs.org/opendal/-/opendal-0.47.6.tgz",
"integrity": "sha512-4gLYLdGdBHUO+9s1bNDGM3aSkrRG4neigjcSPLUi294j8D0xPzqK3pq8YAxTjksig9ICjkW7Y7SM+TCEscNVUg==", "integrity": "sha512-xJNUClxB+qk/jHCjuLJUq2R5hOSxb8XDUbFae2ySCEKiP6higpE5Lt2iP958u8qVDJ4IcdBksJJZSTVMnlkwxQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
"node": ">= 10" "node": ">= 10"
}, },
"optionalDependencies": { "optionalDependencies": {
"@opendal/lib-darwin-arm64": "0.47.5", "@opendal/lib-darwin-arm64": "0.47.6",
"@opendal/lib-darwin-x64": "0.47.5", "@opendal/lib-darwin-x64": "0.47.6",
"@opendal/lib-linux-arm64-gnu": "0.47.5", "@opendal/lib-linux-arm64-gnu": "0.47.6",
"@opendal/lib-linux-arm64-musl": "0.47.5", "@opendal/lib-linux-arm64-musl": "0.47.6",
"@opendal/lib-linux-x64-gnu": "0.47.5", "@opendal/lib-linux-x64-gnu": "0.47.6",
"@opendal/lib-win32-arm64-msvc": "0.47.5", "@opendal/lib-win32-arm64-msvc": "0.47.6",
"@opendal/lib-win32-x64-msvc": "0.47.5" "@opendal/lib-win32-x64-msvc": "0.47.6"
} }
}, },
"node_modules/ora": { "node_modules/ora": {
@ -8621,15 +8620,6 @@
"integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
"integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
"license": "MIT",
"engines": {
"node": ">=4"
}
},
"node_modules/to-regex-range": { "node_modules/to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@ -9003,9 +8993,9 @@
} }
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "5.4.9", "version": "5.4.10",
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.9.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz",
"integrity": "sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==", "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"esbuild": "^0.21.3", "esbuild": "^0.21.3",

View File

@ -61,7 +61,7 @@
"@napi-rs/canvas": "^0.1.58", "@napi-rs/canvas": "^0.1.58",
"@types/lodash": "^4.17.12", "@types/lodash": "^4.17.12",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"@types/node": "^22.7.8", "@types/node": "^22.7.9",
"@types/pg": "^8.11.10", "@types/pg": "^8.11.10",
"@types/qrcode-svg": "^1.1.5", "@types/qrcode-svg": "^1.1.5",
"@types/unist": "^3.0.3", "@types/unist": "^3.0.3",

Binary file not shown.

View File

@ -1,27 +0,0 @@
/**
* OPPO Sans Fonts
*/
@font-face {
font-family: 'OPPOSans';
src:
url(https://cdn.yufan.me/opposans/OPPOSans-Regular.woff2) format('woff2'),
url(https://cdn.yufan.me/opposans/OPPOSans-Regular.ttf) format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'OPPOSans';
src:
url(https://cdn.yufan.me/opposans/OPPOSans-Medium.woff2) format('woff2'),
url(https://cdn.yufan.me/opposans/OPPOSans-Medium.ttf) format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'OPPOSans';
src:
url(https://cdn.yufan.me/opposans/OPPOSans-Bold.woff2) format('woff2'),
url(https://cdn.yufan.me/opposans/OPPOSans-Bold.ttf) format('truetype');
font-weight: 800;
font-style: normal;
}

View File

@ -0,0 +1,33 @@
/**
* OPPO Sans Fonts
*/
@font-face {
font-family: 'OPPOSans';
src: url(opposans.ttf) format('truetype');
font-style: normal;
font-weight: 300;
}
@font-face {
font-family: 'OPPOSans';
src: url(opposans.ttf) format('truetype');
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'OPPOSans';
src: url(opposans.ttf) format('truetype');
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: 'OPPOSans';
src: url(opposans.ttf) format('truetype');
font-style: normal;
font-weight: 600;
}
@font-face {
font-family: 'OPPOSans';
src: url(opposans.ttf) format('truetype');
font-style: normal;
font-weight: 700;
}

Binary file not shown.

View File

@ -141,9 +141,9 @@ export const defaultOpenGraph = async (): Promise<Buffer> => {
}; };
// Register the font if it doesn't exist // Register the font if it doesn't exist
if (!GlobalFonts.has('NotoSansSC-Bold')) { if (!GlobalFonts.has('OPPOSans')) {
const fontBuffer = await readFile(join(process.cwd(), '/src/assets/og/NotoSansSC-Bold.ttf')); const fontBuffer = await readFile(join(process.cwd(), '/src/assets/styles/opposans/opposans.ttf'));
GlobalFonts.register(fontBuffer, 'NotoSansSC-Bold'); GlobalFonts.register(fontBuffer, 'OPPOSans');
} }
export const drawOpenGraph = async ({ title, summary, cover }: OpenGraphProps): Promise<Buffer> => { export const drawOpenGraph = async ({ title, summary, cover }: OpenGraphProps): Promise<Buffer> => {
@ -169,7 +169,7 @@ export const drawOpenGraph = async ({ title, summary, cover }: OpenGraphProps):
// Add website title // Add website title
ctx.fillStyle = '#e0c2bb'; ctx.fillStyle = '#e0c2bb';
ctx.font = '800 64px NotoSansSC-Bold'; ctx.font = '800 64px OPPOSans';
printAt(ctx, options.title, 96, 180, 96, openGraphWidth, 64); printAt(ctx, options.title, 96, 180, 96, openGraphWidth, 64);
// Add website logo // Add website logo
@ -177,11 +177,11 @@ export const drawOpenGraph = async ({ title, summary, cover }: OpenGraphProps):
// Add article title // Add article title
ctx.fillStyle = '#fff'; ctx.fillStyle = '#fff';
ctx.font = '800 48px NotoSansSC-Bold'; ctx.font = '800 48px OPPOSans';
printAt(ctx, title, 96, openGraphHeight / 2 - 64, 96, openGraphWidth - 192, 64); printAt(ctx, title, 96, openGraphHeight / 2 - 64, 96, openGraphWidth - 192, 64);
// Add article summary // Add article summary
ctx.font = '800 36px NotoSansSC-Bold'; ctx.font = '800 36px OPPOSans';
ctx.fillStyle = 'rgba(255,255,255,0.5)'; ctx.fillStyle = 'rgba(255,255,255,0.5)';
printAt(ctx, description, 96, openGraphHeight - 200, 48, openGraphWidth - 192, 36); printAt(ctx, description, 96, openGraphHeight - 200, 48, openGraphWidth - 192, 36);

View File

@ -5,7 +5,7 @@ import '@/assets/styles/iconfont/iconfont.css';
import 'aplayer/dist/APlayer.min.css'; import 'aplayer/dist/APlayer.min.css';
import '@/assets/styles/reset.css'; import '@/assets/styles/reset.css';
import '@/assets/styles/globals.css'; import '@/assets/styles/globals.css';
import '@/assets/styles/opposans.css'; import '@/assets/styles/opposans/opposans.css';
import Footer from '@/components/footer/Footer.astro'; import Footer from '@/components/footer/Footer.astro';
import Header from '@/components/header/Header.astro'; import Header from '@/components/header/Header.astro';