HanAssist - Utilities to ease Chinese variant handling in user scripts and gadgets.

Overview

HanAssist Linter

代码文档

HanAssist 是帮助中文维基百科及其他 MediaWiki 网站上的用户脚本和小工具更优雅地处理中文变体消息的实用程序。

本程序的目标是取代wgULS()wgUVS()小工具。

HanAssist.localize( { hans: '一天一苹果,医生远离我。', hant: '一天一蘋果,醫生遠離我。' } );
// => 界面语言为简中:“一天一苹果,医生远离我。”;繁中:“一天一蘋果,醫生遠離我。”

HanAssist.vary( { hans: '一天一苹果,医生远离我。', hant: '一天一蘋果,醫生遠離我。' } );
// => 页面变体为简中:“一天一苹果,医生远离我。”;繁中:“一天一蘋果,醫生遠離我。”

为什么使用 HanAssist?

wgULS()wgUVS()几乎是中文维基百科每个用户脚本和小工具都要使用到的功能。它们极大方便了中文变体消息的处理,但随着 JavaScript 的发展,它们的问题也逐渐显现:

  1. 仍然使用旧式的wgXXX类名称,污染全局空间。现今 MediaWiki 中的此类变量全部通过mw.config.get()获取,但这两个函数并未也无法跟进。
  2. 使用意义不明的缩写,影响代码可读性。
  3. 参数列表过长,影响阅读。设计良好的 JavaScript 函数最多仅应包含两个参数。 设想一下,如果像这样调用wgULS()
    wgULS( undefined, undefined, '显示%s的用户日志', '顯示%s的使用者日誌', '顯示%s的用戶日誌' );
    难道不会使代码非常难以阅读及维护?
  4. 并非类型安全。wgULS()wgUVS()允许任何类型的参数传入,这可能会导致非预期的行为发生,并且使得代码难以维护。
  5. 没有代码文档。这使得不了解这些函数的人必须通过直接阅读代码来确定它们的用法。

为了解决这些问题,我们制作了 HanAssist。它具有如下优点:

  1. 仅占用HanAssist一个全局名称,提供原小工具的全部功能;
  2. 采用命名参数语法,显著提升代码可读性;
  3. 兼容旧版wgULSwgUVS语法,方便迁移;
  4. 完善的代码文档及类型定义;
  5. 支持批量转译消息,在代码大量依赖中文变体消息时可极大减少代码复杂程度。

用法

HanAssist.localize()HanAssist.vary()接受一种称作“候选消息列表”的对象,其原型如下所示:

interface Candidates {
	zh?: string, // 中文(不转换)消息
	hans?: string, // 简体中文消息
	hant?: string, // 繁體中文消息
	cn?: string, // 大陆简体消息
	tw?: string, // 台灣正體消息
	hk?: string, // 香港繁體消息
	mo?: string, // 澳門繁體消息
	my?: string, // 大马简体消息
	sg?: string, // 新加坡简体消息
	other?: string // 非中文语言(如英语)消息
}

两者的用法:

// 等同于 wgULS( '一天一苹果,医生远离我。', '一天一蘋果,醫生遠離我。' );
HanAssist.localize( '一天一苹果,医生远离我。', '一天一蘋果,醫生遠離我。' );
HanAssist.localize( { hans: '一天一苹果,医生远离我。', hant: '一天一蘋果,醫生遠離我。' } );

// 等同于 wgULS( undefined, undefined, 'IP用户', 'IP使用者', 'IP用戶' );
HanAssist.localize( { cn: 'IP用户', tw: 'IP使用者', hk: 'IP用戶' } );

// 等同于 wgUVS( '一天一苹果,医生远离我。', '一天一蘋果,醫生遠離我。' );
HanAssist.vary( '一天一苹果,医生远离我。', '一天一蘋果,醫生遠離我。' );
HanAssist.vary( { hans: '一天一苹果,医生远离我。', hant: '一天一蘋果,醫生遠離我。' } );

// 配合占位符号使用
mw.format(
    HanAssist.localize( { hans: '页面$2的修订版本$1', hant: '頁面$2的修訂版本$1' } ),
    '123456',
    'Apple'
); // => 界面语言为简中:“页面Apple的修订版本123456”;繁中:“頁面Apple的修訂版本123456”

批量转译消息:

HanAssist.parse( {
	'article': { hans: '条目', hant: '條目' },
	'category': { hans: '分类', hant: '分類' },
	'categories': { hans: '分类', hant: '分類' },
	'image': { hans: '文件', hant: '檔案' },
	'images': { hans: '文件', hant: '檔案' },
	'minute': '分',
	'minutes': '分',
	'second': '秒',
	'seconds': '秒',
	'week': '周',
	'weeks': '周',
	'search': { hans: '搜索', hant: '搜尋' },
	'SearchHint': { hans: '搜索包含$1的页面', hant: '搜尋包含$1的頁面' },
	'web': { hans: '站点', hant: '站點' },
} ); // => { 'article': '条目', 'category': '分类', 'categories': '分类', ... }

// 推荐配合 mw.messages 使用
mw.messages.set( HanAssist.parse( {
	'article': { hans: '条目', hant: '條目' },
	'category': { hans: '分类', hant: '分類' },
	'categories': { hans: '分类', hant: '分類' },
	'image': { hans: '文件', hant: '檔案' },
	'images': { hans: '文件', hant: '檔案' },
	'minute': '分',
	'minutes': '分',
	'second': '秒',
	'seconds': '秒',
	'week': '周',
	'weeks': '周',
	'search': { hans: '搜索', hant: '搜尋' },
	'SearchHint': { hans: '搜索包含$1的页面', hant: '搜尋包含$1的頁面' },
	'web': { hans: '站点', hant: '站點' },
} ) );

mw.msg( 'categories' ); // => 界面语言为简中:“分类”;繁中:“分類”
mw.msg( 'SearchHint', 'Apple' ); // => 界面语言为简中:“搜索包含Apple的页面”;繁中:“搜尋包含Apple的頁面”
// 其他用法详见 MediaWiki 文档

局限

在软件领域,没有银弹,因此 HanAssist 也并非完美。在一些使用场景下,您应该使用其他更合适的工具而非 HanAssist。

如果您的小工具或用户脚本需要多国语言支持,而非仅限于中文(汉语)一种,请考虑使用其他支持多语言处理的库,如 jQuery.i18n

授权 & 致谢

本程序由 Diskdance 等制作,采用 3-Clause BSD License 授权协议。

特别感谢中文维基百科用户 Роу Уилсон Фредериск ХолмSunAfterRain 在制作过程中给予的支持,尤其是关于 TypeScript 方面问题的解答。

Comments
  • tests: Don't rely on values that vary from backend to backend

    tests: Don't rely on values that vary from backend to backend

    Safey toString test is broken when using special backends or changing the typescript compiler target to es6 or higher, so it's better to rely on more trusted values.

    opened by sunafterrainwm 1
  • Bump @typescript-eslint/parser from 5.30.6 to 5.30.7

    Bump @typescript-eslint/parser from 5.30.6 to 5.30.7

    Bumps @typescript-eslint/parser from 5.30.6 to 5.30.7.

    Release notes

    Sourced from @​typescript-eslint/parser's releases.

    v5.30.7

    5.30.7 (2022-07-18)

    Bug Fixes

    • eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
    • eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
    • expose types supporting old versions of typescript (#5339) (4ba9bdb)
    • scope-manager: allow visiting of constraint in infer type (#5331) (b2846a1)
    Changelog

    Sourced from @​typescript-eslint/parser's changelog.

    5.30.7 (2022-07-18)

    Bug Fixes

    • expose types supporting old versions of typescript (#5339) (4ba9bdb)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump typedoc from 0.23.8 to 0.23.9

    Bump typedoc from 0.23.8 to 0.23.9

    Bumps typedoc from 0.23.8 to 0.23.9.

    Release notes

    Sourced from typedoc's releases.

    v0.23.9

    Bug Fixes

    • TypeDoc will no longer skip entry points which have no exports, #2007. If using "entryPointStrategy": "expand", this change may result in new pages being added to your documentation. If this is not desired, you can use the exclude option to filter them out.
    • Fixed missing comments on callable variable-functions constructed indirectly, #2008.
    • Packages mode will now respect the --includeVersion flag, #2010.
    • Fixed multiple reflections mapping to the same file name on case insensitive file systems, #2012.
    Changelog

    Sourced from typedoc's changelog.

    v0.23.9 (2022-07-24)

    Bug Fixes

    • TypeDoc will no longer skip entry points which have no exports, #2007. If using "entryPointStrategy": "expand", this change may result in new pages being added to your documentation. If this is not desired, you can use the exclude option to filter them out.
    • Fixed missing comments on callable variable-functions constructed indirectly, #2008.
    • Packages mode will now respect the --includeVersion flag, #2010.
    • Fixed multiple reflections mapping to the same file name on case insensitive file systems, #2012.
    Commits
    • e50cd27 Update changelog for release
    • 20ea81a Bump version to 0.23.9
    • ba9c5be Only set version if includeVersion is specified
    • d4d3b8f Do not skip empty entry points
    • 4f2a12f Fix missing comments on indirectly created var-fns
    • 3e5a1a2 Fix multiple reflections mapping to the same file name
    • 55b72aa Fix example links
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7

    Bump @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7

    Bumps @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7.

    Release notes

    Sourced from @​typescript-eslint/eslint-plugin's releases.

    v5.30.7

    5.30.7 (2022-07-18)

    Bug Fixes

    • eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
    • eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
    • expose types supporting old versions of typescript (#5339) (4ba9bdb)
    • scope-manager: allow visiting of constraint in infer type (#5331) (b2846a1)
    Changelog

    Sourced from @​typescript-eslint/eslint-plugin's changelog.

    5.30.7 (2022-07-18)

    Bug Fixes

    • eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
    • eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
    Commits
    • 557ce04 chore: publish v5.30.7
    • 98f6d5e fix(eslint-plugin): [no-inferrable] fix optional param to valid code (#5342)
    • 9ed8fe3 docs(eslint-plugin): [comma-dangle] fix incorrect section heading (#5320)
    • c3f199a fix(eslint-plugin): [no-unused-vars] highlight last write reference (#5267)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/parser from 5.27.1 to 5.30.5

    Bump @typescript-eslint/parser from 5.27.1 to 5.30.5

    Bumps @typescript-eslint/parser from 5.27.1 to 5.30.5.

    Release notes

    Sourced from @​typescript-eslint/parser's releases.

    v5.30.5

    5.30.5 (2022-07-04)

    Bug Fixes

    • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#5280) (57f032c)
    • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#5270) (d320174)

    v5.30.0

    5.30.0 (2022-06-27)

    Features

    • eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
    • treat this in typeof this as a ThisExpression (#4382) (b04b2ce)

    v5.29.0

    Note: Version bump only for weekly release.

    Unfortunately we marked a website change as a feat, hence this wasn't just a patch-level bump.

    v5.28.0

    5.28.0 (2022-06-13)

    Bug Fixes

    • [TS4.7] allow visiting of typeParameters in TSTypeQuery (#5166) (dc1f930)
    • eslint-plugin: [space-infix-ops] support for optional property without type (#5155) (1f25daf)

    Features

    • ast-spec: extract AssignmentOperatorToText (#3570) (45f75e6)
    • eslint-plugin: [consistent-generic-constructors] add rule (#4924) (921cdf1)
    Changelog

    Sourced from @​typescript-eslint/parser's changelog.

    5.30.5 (2022-07-04)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.4 (2022-07-03)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.3 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.2 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.1 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.0 (2022-06-27)

    Note: Version bump only for package @​typescript-eslint/parser

    5.29.0 (2022-06-20)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump typedoc from 0.22.17 to 0.23.7

    Bump typedoc from 0.22.17 to 0.23.7

    Bumps typedoc from 0.22.17 to 0.23.7.

    Release notes

    Sourced from typedoc's releases.

    v0.23.7

    Bug Fixes

    • Tags must now contain whitespace after the tag name to be parsed as a tag, @jest/globals in a comment will no longer be parsed as a tag #1990.
    • The private member visibility option will now be respected in generated sites, #1992.
    • Overload rendering will no longer be broken if JavaScript is disabled, #453.
    • All overloads are now shown at once rather than requiring clicks to see the documentation for each signature, #1100.

    v0.23.6

    Features

    • Improved support for --entryPointStrategy Packages. TypeDoc will now load package-specific configurations from package.json typedoc field. This configuration allows configuring a custom display name (typedoc.displayName) field, entry point (typedoc.entryPoint - this is equivalent and will override typedocMain), and path to a readme file to be rendered at the top of the package page (typedoc.readmeFile), #1658.
    • The --includeVersion option will now be respected by --entryPointStrategy Packages. Also, for this combination, missing version field in the root package.json will not issue a warning.
    • The navigation partial will now call the new settings, primaryNavigation, and secondaryNavigation partials, #1987.

    Bug Fixes

    • All warnings will be reported instead of only the first warning of a given type, #1981.
    • Include references will no longer be incorrectly parsed as links, #1986.
    • The generated schema.json on the website will now use enum values rather than enum names if possible.

    Thanks!

    v0.23.5

    Features

    • The DEBUG_SEARCH_WEIGHTS global variable can now be set on window to add search scoring information in the search results.
    • TypeDoc's icons are now available on DefaultThemeRenderContext.icons for use/modification by themes.

    v0.23.4

    Bug Fixes

    • TypeDoc no longer ignores project references if --entryPointStrategy Packages is set, #1976.
    • Boost computations are now done when creating the search index, resulting in a smaller search.js generated file.

    Features

    • The --exclude option will now be respected by --entryPointStrategy Packages and can be used to exclude package directories, #1959.
    • TypeDoc now emits an IndexEvent on the Renderer when preparing the search index, #1953.
    • Added new --searchInComments option to include comment text in the search index, #1553. Turning this option on will increase the size of your search index, potentially by an order of magnitude.

    v0.23.3

    ... (truncated)

    Changelog

    Sourced from typedoc's changelog.

    v0.23.7 (2022-07-09)

    Bug Fixes

    • Tags must now contain whitespace after the tag name to be parsed as a tag, @jest/globals in a comment will no longer be parsed as a tag #1990.
    • The private member visibility option will now be respected in generated sites, #1992.
    • Overload rendering will no longer be broken if JavaScript is disabled, #453.
    • All overloads are now shown at once rather than requiring clicks to see the documentation for each signature, #1100.

    v0.23.6 (2022-07-08)

    Features

    • Improved support for --entryPointStrategy Packages. TypeDoc will now load package-specific configurations from package.json typedoc field. This configuration allows configuring a custom display name (typedoc.displayName) field, entry point (typedoc.entryPoint - this is equivalent and will override typedocMain), and path to a readme file to be rendered at the top of the package page (typedoc.readmeFile), #1658.
    • The --includeVersion option will now be respected by --entryPointStrategy Packages. Also, for this combination, missing version field in the root package.json will not issue a warning.
    • The navigation partial will now call the new settings, primaryNavigation, and secondaryNavigation partials, #1987.

    Bug Fixes

    • All warnings will be reported instead of only the first warning of a given type, #1981.
    • Include references will no longer be incorrectly parsed as links, #1986.
    • The generated schema.json on the website will now use enum values rather than enum names if possible.

    Thanks!

    v0.23.5 (2022-07-02)

    Features

    • The DEBUG_SEARCH_WEIGHTS global variable can now be set on window to add search scoring information in the search results.
    • TypeDoc's icons are now available on DefaultThemeRenderContext.icons for use/modification by themes.

    v0.23.4 (2022-07-02)

    Bug Fixes

    • TypeDoc no longer ignores project references if --entryPointStrategy Packages is set, #1976.
    • Boost computations are now done when creating the search index, resulting in a smaller search.js generated file.

    Features

    • The --exclude option will now be respected by --entryPointStrategy Packages and can be used to exclude package directories, #1959.
    • TypeDoc now emits an IndexEvent on the Renderer when preparing the search index, #1953.
    • Added new --searchInComments option to include comment text in the search index, #1553. Turning this option on will increase the size of your search index, potentially by an order of magnitude.

    v0.23.3 (2022-07-01)

    ... (truncated)

    Commits
    • dd15e08 Update changelog for release
    • 809e207 Bump version to 0.23.7
    • 7ceda7b Require whitespace after a tag name
    • c6e9bf9 Fix overload rendering
    • e4fbb1c Fix private filter
    • 5060fe2 Update changelog for release
    • c09ff78 Bump version to 0.23.6
    • 59a33de Partials: settings, primaryNavigation, secondaryNavigation
    • d9de9f7 Update changelog
    • 3dfb539 Do not attempt to resolve includes as links
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/parser from 5.27.1 to 5.30.4

    Bump @typescript-eslint/parser from 5.27.1 to 5.30.4

    Bumps @typescript-eslint/parser from 5.27.1 to 5.30.4.

    Release notes

    Sourced from @​typescript-eslint/parser's releases.

    v5.30.4

    5.30.4 (2022-07-03)

    Note: Version bump only for package @​typescript-eslint/typescript-eslint

    v5.30.3

    5.30.3 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/typescript-eslint

    v5.30.2

    5.30.2 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/typescript-eslint

    v5.30.1

    5.30.1 (2022-07-01)

    Bug Fixes

    • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#5270) (d320174)

    v5.30.0

    5.30.0 (2022-06-27)

    Features

    • eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
    • treat this in typeof this as a ThisExpression (#4382) (b04b2ce)

    v5.29.0

    Note: Version bump only for weekly release.

    Unfortunately we marked a website change as a feat, hence this wasn't just a patch-level bump.

    v5.28.0

    5.28.0 (2022-06-13)

    Bug Fixes

    • [TS4.7] allow visiting of typeParameters in TSTypeQuery (#5166) (dc1f930)
    • eslint-plugin: [space-infix-ops] support for optional property without type (#5155) (1f25daf)

    Features

    • ast-spec: extract AssignmentOperatorToText (#3570) (45f75e6)

    ... (truncated)

    Changelog

    Sourced from @​typescript-eslint/parser's changelog.

    5.30.4 (2022-07-03)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.3 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.2 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.1 (2022-07-01)

    Note: Version bump only for package @​typescript-eslint/parser

    5.30.0 (2022-06-27)

    Note: Version bump only for package @​typescript-eslint/parser

    5.29.0 (2022-06-20)

    Note: Version bump only for package @​typescript-eslint/parser

    5.28.0 (2022-06-13)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump typedoc from 0.22.17 to 0.23.5

    Bump typedoc from 0.22.17 to 0.23.5

    Bumps typedoc from 0.22.17 to 0.23.5.

    Release notes

    Sourced from typedoc's releases.

    v0.23.5

    Features

    • The DEBUG_SEARCH_WEIGHTS global variable can now be set on window to add search scoring information in the search results.
    • TypeDoc's icons are now available on DefaultThemeRenderContext.icons for use/modification by themes.

    v0.23.4

    Bug Fixes

    • TypeDoc no longer ignores project references if --entryPointStrategy Packages is set, #1976.
    • Boost computations are now done when creating the search index, resulting in a smaller search.js generated file.

    Features

    • The --exclude option will now be respected by --entryPointStrategy Packages and can be used to exclude package directories, #1959.
    • TypeDoc now emits an IndexEvent on the Renderer when preparing the search index, #1953.
    • Added new --searchInComments option to include comment text in the search index, #1553. Turning this option on will increase the size of your search index, potentially by an order of magnitude.

    v0.23.3

    Bug Fixes

    • Function properties in type space will no longer be interpreted as methods, #1637.
    • TypeDoc will no longer crash if a comment contains an empty @example tag, #1967.
    • TypeDoc will now detect attempted inheritance from accessors and inherit from the getter or setter, #1968.
    • intentionallyNotExported will now properly respect qualified names, #1972.
    • Fixed missing namespace comments on export * as NS declarations, #1973.
    • Fixed missing comments on export const x = () => 123 function variables, #1973.
    • Exported variable functions with properties will now be converted as a function+namespace instead of a variable+namespace, #1651.
    • Validation warnings caused by missing documentation will now be formatted like other warnings which reference a declaration.
    • TypeDoc will no longer warn if both the get and set signatures of an accessor have a comment.

    Features

    • Added --htmlLang option to set the lang attribute in the generated HTML. Defaults to en, #1951.
    • Added --basePath option to override TypeDoc's detected root directory, #1924.
    • Added support for TypeDoc specific :getter and :setter meaning keywords in declaration references.
    • Warnings caused by comment contents will now do a better job of including the location of the text that caused the warning.

    v0.23.2

    Bug Fixes

    • Module comments will no longer be inappropriately attached to signatures, #1962.
    • Projects with a single entry point will now parse @module comments in the entry point, #1963.
    • Removed duplicate "in comment" warning when parsing comments, #1964.
    • Reflections with a boost of <= 0 due to searchCategoryBoosts or searchGroupBoosts will be excluded from search.

    ... (truncated)

    Changelog

    Sourced from typedoc's changelog.

    v0.23.5 (2022-07-02)

    Features

    • The DEBUG_SEARCH_WEIGHTS global variable can now be set on window to add search scoring information in the search results.
    • TypeDoc's icons are now available on DefaultThemeRenderContext.icons for use/modification by themes.

    v0.23.4 (2022-07-02)

    Bug Fixes

    • TypeDoc no longer ignores project references if --entryPointStrategy Packages is set, #1976.
    • Boost computations are now done when creating the search index, resulting in a smaller search.js generated file.

    Features

    • The --exclude option will now be respected by --entryPointStrategy Packages and can be used to exclude package directories, #1959.
    • TypeDoc now emits an IndexEvent on the Renderer when preparing the search index, #1953.
    • Added new --searchInComments option to include comment text in the search index, #1553. Turning this option on will increase the size of your search index, potentially by an order of magnitude.

    v0.23.3 (2022-07-01)

    Bug Fixes

    • Function properties in type space will no longer be interpreted as methods, #1637.
    • TypeDoc will no longer crash if a comment contains an empty @example tag, #1967.
    • TypeDoc will now detect attempted inheritance from accessors and inherit from the getter or setter, #1968.
    • intentionallyNotExported will now properly respect qualified names, #1972.
    • Fixed missing namespace comments on export * as NS declarations, #1973.
    • Fixed missing comments on export const x = () => 123 function variables, #1973.
    • Exported variable functions with properties will now be converted as a function+namespace instead of a variable+namespace, #1651.
    • Validation warnings caused by missing documentation will now be formatted like other warnings which reference a declaration.
    • TypeDoc will no longer warn if both the get and set signatures of an accessor have a comment.

    Features

    • Added --htmlLang option to set the lang attribute in the generated HTML. Defaults to en, #1951.
    • Added --basePath option to override TypeDoc's detected root directory, #1924.
    • Added support for TypeDoc specific :getter and :setter meaning keywords in declaration references.
    • Warnings caused by comment contents will now do a better job of including the location of the text that caused the warning.

    v0.23.2 (2022-06-28)

    Bug Fixes

    • Module comments will no longer be inappropriately attached to signatures, #1962.
    • Projects with a single entry point will now parse @module comments in the entry point, #1963.
    • Removed duplicate "in comment" warning when parsing comments, #1964.
    • Reflections with a boost of <= 0 due to searchCategoryBoosts or searchGroupBoosts will be excluded from search.

    ... (truncated)

    Commits
    • 9750e2e Update changelog for release
    • b90fab4 Bump version to 0.23.5
    • ed17338 Expose TypeDoc's icons for use by themes
    • 9cf85e8 Add support for DEBUG_SEARCH_WEIGHTS
    • 7993ce7 Rebuild specs to remove info dependent on git repo
    • ecb6e00 Update changelog for release
    • 40ad5a1 Release 0.23.4
    • cad213c Make visual regression a manual job
    • f172a24 Make search functionality more customizable
    • f66dbd5 Add support for filtering packages with --exclude
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump typedoc from 0.22.17 to 0.23.2

    Bump typedoc from 0.22.17 to 0.23.2

    Bumps typedoc from 0.22.17 to 0.23.2.

    Release notes

    Sourced from typedoc's releases.

    v0.23.2

    Bug Fixes

    • Module comments will no longer be inappropriately attached to signatures, #1962.
    • Projects with a single entry point will now parse @module comments in the entry point, #1963.
    • Removed duplicate "in comment" warning when parsing comments, #1964.
    • Reflections with a boost of <= 0 due to searchCategoryBoosts or searchGroupBoosts will be excluded from search.

    v0.23.1

    Bug Fixes

    • If a declaration has multiple comments associated with it, the last one should be used, #1961.

    v0.23.0

    Breaking Changes

    • Node 12 is no longer officially supported as it has gone end of life as of 2022-04-30. It might still work, but may stop working at any time.
    • Dropped support for TypeScript before 4.6.
    • {@link} tags in comments will now be resolved as declaration references similar to TSDoc's declaration references. For most cases, this will just work. See the documentation for details on how link resolution works.
    • TypeDoc will now produce warnings for bracketed links ([[ target ]]). Use {@link target} instead. The {@link} syntax will be recognized by TypeScript 4.3 and later and used to provide better intellisense. TypeDoc version 0.24.0 will remove support for [[ target ]] style links.
    • extends in typedoc.json is now resolved using NodeJS module resolution, so a local path must begin with ./.
    • In the JSON output for DeclarationReflections, getSignature is no longer a one-tuple.
    • In the JSON output for DeclarationReflections, setSignature is no longer a one-tuple.
    • In the JSON output for DeclarationReflections, typeParameter has been renamed to typeParameters
    • The searchGroupBoosts option must now be given the rendered group name rather than reflection kind names, and can be given custom group names.
    • @inheritDoc now follows the behavior specified by TSDoc when copying comments with a reference.
    • The hideLegend option has been removed as the default theme no longer contains a legend.
    • The gaSite option has been removed since Google Analytics now infers the site automatically, updated Google Analytics script to latest version, #1846.
    • Comments on export declarations will only overrides comments for references and namespaces, #1901.
    • The deprecated listInvalidSymbolLinks option has been removed. Use validation.invalidLink instead.
    • The deprecated true and false values have been removed from --emit, to migrate replace true with "both" and false with "docs" (the default).
    • Links are no longer be resolved against a global list of all symbols. See the documentation for details on link resolution.
    • The validation.invalidLink option is now on by default.
    • reflection.decorates, reflection.decorators, and their corresponding interfaces have been removed as no code in TypeDoc used them.
    • The shape of the Comment class has changed significantly to support multiple tag kinds.
    • Listeners to Converter.EVENT_CREATE_TYPE_PARAMETER and Converter.EVENT_CREATE_DECLARATION will now never be passed a ts.Node as their third argument.
    • Constant variables which are interpreted as functions will no longer have the ReflectionFlag.Const flag set.
    • reflection.defaultValue is no longer set for enum members. The same information is available on reflection.type with more precision.
    • Removed deprecated removeReaderByName, addDeclarations and removeDeclarationByName methods on Options.
    • Removed ProjectReflection.directory, it was unused by TypeDoc and not properly tested.
    • Removed ProjectReflection.files, this was an internal cache that should not have been exposed, and shouldn't have existed in the first place, since removing it made TypeDoc faster.
    • Removed ReflectionGroup.kind since groups can now be created with the @group tag.
    • Removed ReflectionKind.Event, the @event tag is now an alias for @group Events. Note: This changes the value of ReflectionKind.Reference from 16777216 to 8388608.
    • Themes are now set on the document element rather than on body, #1706.

    Features

    ... (truncated)

    Changelog

    Sourced from typedoc's changelog.

    v0.23.2 (2022-06-28)

    Bug Fixes

    • Module comments will no longer be inappropriately attached to signatures, #1962.
    • Projects with a single entry point will now parse @module comments in the entry point, #1963.
    • Removed duplicate "in comment" warning when parsing comments, #1964.
    • Reflections with a boost of <= 0 due to searchCategoryBoosts or searchGroupBoosts will be excluded from search.

    v0.23.1 (2022-06-26)

    Bug Fixes

    • If a declaration has multiple comments associated with it, the last one should be used, #1961.

    v0.23.0 (2022-06-26)

    Breaking Changes

    • Node 12 is no longer officially supported as it has gone end of life as of 2022-04-30. It might still work, but may stop working at any time.
    • Dropped support for TypeScript before 4.6.
    • {@link} tags in comments will now be resolved as declaration references similar to TSDoc's declaration references. For most cases, this will just work. See the documentation for details on how link resolution works.
    • TypeDoc will now produce warnings for bracketed links ([[ target ]]). Use {@link target} instead. The {@link} syntax will be recognized by TypeScript 4.3 and later and used to provide better intellisense. TypeDoc version 0.24.0 will remove support for [[ target ]] style links.
    • extends in typedoc.json is now resolved using NodeJS module resolution, so a local path must begin with ./.
    • In the JSON output for DeclarationReflections, getSignature is no longer a one-tuple.
    • In the JSON output for DeclarationReflections, setSignature is no longer a one-tuple.
    • In the JSON output for DeclarationReflections, typeParameter has been renamed to typeParameters
    • The searchGroupBoosts option must now be given the rendered group name rather than reflection kind names, and can be given custom group names.
    • @inheritDoc now follows the behavior specified by TSDoc when copying comments with a reference.
    • The gaSite option has been removed since Google Analytics now infers the site automatically, updated Google Analytics script to latest version, #1846.
    • The hideLegend option has been removed as the default theme no longer contains a legend.
    • Comments on export declarations will only overrides comments for references and namespaces, #1901.
    • The deprecated listInvalidSymbolLinks option has been removed. Use validation.invalidLink instead.
    • The deprecated true and false values have been removed from --emit, to migrate replace true with "both" and false with "docs" (the default).
    • Links are no longer be resolved against a global list of all symbols. See the documentation for details on link resolution.
    • The validation.invalidLink option is now on by default.
    • reflection.decorates, reflection.decorators, and their corresponding interfaces have been removed as no code in TypeDoc used them.
    • The shape of the Comment class has changed significantly to support multiple tag kinds.
    • Listeners to Converter.EVENT_CREATE_TYPE_PARAMETER and Converter.EVENT_CREATE_DECLARATION will now never be passed a ts.Node as their third argument.
    • Constant variables which are interpreted as functions will no longer have the ReflectionFlag.Const flag set.
    • reflection.defaultValue is no longer set for enum members. The same information is available on reflection.type with more precision.
    • Removed deprecated removeReaderByName, addDeclarations and removeDeclarationByName methods on Options.
    • Removed ProjectReflection.directory, it was unused by TypeDoc and not properly tested.
    • Removed ProjectReflection.files, this was an internal cache that should not have been exposed, and shouldn't have existed in the first place, since removing it made TypeDoc faster.
    • Removed ReflectionGroup.kind since groups can now be created with the @group tag.
    • Removed ReflectionKind.Event, the @event tag is now an alias for @group Events. Note: This changes the value of ReflectionKind.Reference from 16777216 to 8388608.
    • Themes are now set on the document element rather than on body, #1706.

    Features

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump jest and @types/jest

    Bump jest and @types/jest

    Bumps jest and @types/jest. These dependencies needed to be updated together. Updates jest from 28.1.1 to 28.1.2

    Release notes

    Sourced from jest's releases.

    v28.1.2

    Fixes

    • [jest-runtime] Avoid star type import from @jest/globals (#12949)

    Chore & Maintenance

    • [docs] Mention that jest-codemods now supports Sinon (#12898)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v28.1.1...v28.1.2

    Changelog

    Sourced from jest's changelog.

    28.1.2

    Fixes

    -[jest-runtime] Avoid star type import from @jest/globals (#12949)

    Chore & Maintenance

    • [docs] Mention that jest-codemods now supports Sinon (#12898)
    Commits

    Updates @types/jest from 28.1.2 to 28.1.3

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump jest-environment-jsdom from 28.1.1 to 28.1.2

    Bump jest-environment-jsdom from 28.1.1 to 28.1.2

    Bumps jest-environment-jsdom from 28.1.1 to 28.1.2.

    Release notes

    Sourced from jest-environment-jsdom's releases.

    v28.1.2

    Fixes

    • [jest-runtime] Avoid star type import from @jest/globals (#12949)

    Chore & Maintenance

    • [docs] Mention that jest-codemods now supports Sinon (#12898)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v28.1.1...v28.1.2

    Changelog

    Sourced from jest-environment-jsdom's changelog.

    28.1.2

    Fixes

    -[jest-runtime] Avoid star type import from @jest/globals (#12949)

    Chore & Maintenance

    • [docs] Mention that jest-codemods now supports Sinon (#12898)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
Owner
Diskdance
Wikimedian. en-1/zh-N/cmn-N
Diskdance
A high-speed download mirror list of common software for Chinese users.

cdMir mir.ug0.ltd 介绍 这是一个软件镜像站,旨在通过搜集或搭建镜像的方式,为处于中国大陆的用户提供高速下载服务。 如果您需要软件并未被 cdMir 收录,请联系我们(包括但不限于 发布Issues、社交媒体联系、邮箱联系),我们会考虑并添加。 如果您认为我们值得支持,请 star

Had 14 Dec 29, 2022
This is for homework submission of Filecoin Chinese Education Series - Coding with Filecoin.

Coding-with-Filecoin-Homework 课程简介 随着互联网和大数据技术的发展,我们正愈发依赖中心化的服务来存储和处理相关数据。但这背后有两个潜在的问题:用户不能完全控制自身数据的使用与传播,且很难验证公开数据的完整性与可靠性。为了解决这两个问题,新一代的协议和点对点网络已经问世

IPFS & Filecoin 15 Jul 14, 2022
A Chinese unofficial documents site.

Grasscutter Documention | 割草机文档 This website is built using Docusaurus 2, a modern static website generator. 此网页使用Docusaurus 2创建,这是一个现代化网页生成器 English

GenKitCN 29 Dec 3, 2022
A TailwindCSS variant for class-based dark mode with CSS Modules.

A TailwindCSS variant for class-based dark mode with Svelte's scoped stylesheets and CSS modules. If you've ever tried to use TailwindCSS dark mode wi

Bryan Lee 13 Dec 1, 2022
Variant types in Roblox TypeScript - Ported from Vanilla TypeScript

Variant (for Roblox) This is a roblox typescript variant (heh, pun) of Variant. See the Variant documentation on how to use Variant. A variant type is

Australis 2 Jun 3, 2022
🌀 The gamma variant of Pastebin

snip ?? The gamma variant of Pastebin Supabase Hackathon · Demo ✨ Team Harsh Singh • Frontend (TypeScript) • GitHub • Twitter Ibrahim Hisham • Backend

Harsh Singh 51 Dec 28, 2022
They stole our free learn feature, so it's now time for an open source variant

Quizletbutfree This project was generated using Nx. ?? Smart, Fast and Extensible Build System Quick Start & Documentation Nx Documentation 10-minute

zerxal 2 Nov 13, 2022
A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕

oak commons A set of APIs that are common to HTTP/HTTPS servers. HTTP Methods (/method.ts) A set of APIs for dealing with HTTP methods. Content Negoti

oak 7 May 23, 2022
A desktop app handling image uploading and text transfering.

Transmitter Introduction 一款利用Github repository实现图床+文本传输的桌面应用 框架:Vite+React+Electron Tutorial release 创建Github token:https://docs.github.com/en/authent

Wenhao Zhang 3 Mar 24, 2022
GraphErr is an open-source error handling library for GraphQL implementations in Deno. It's a lightweight solution that provides developers with descriptive error messages, reducing ambiguity and improving debugging.

GraphErr Descriptive GraphQL error handling for Deno/Oak servers. Features Provides additional context to GraphQL's native error messaging for faster

OSLabs Beta 35 Nov 1, 2022
Pressure is a JavaScript library for handling both Force Touch and 3D Touch on the web

Pressure is a JavaScript library for handling both Force Touch and 3D Touch on the web, bundled under one library with a simple API that makes working with them painless.

Stuart Yamartino 2.9k Dec 29, 2022
Provides event handling and an HTMLElement mixin for Declarative Shadow DOM in Hotwire Turbo.

Turbo Shadow Provides event handling and an HTMLElement mixin for Declarative Shadow DOM support in Hotwire Turbo. Requires Turbo 7.2 or higher. Quick

Whitefusion 17 Sep 28, 2022
A simple library for handling keyboard shortcuts with Alpine.js.

✨ Help support the maintenance of this package by sponsoring me. Alpine.js Mousetrap A simple library for handling keyboard shortcuts with Alpine.js.

Dan Harrin 102 Nov 14, 2022
Wrapper for NextJS image handling, optimised for Lambda w/ ApiGw integration.

NextJS Lambda Utils This is a project allowing to deploy Next applications (standalone options turned on) to AWS Lambda without hassle. This is an alt

Jan 65 Dec 28, 2022
Dead-simple CORS handling for any itty-router API (test with Cloudflare Workers, but works anywhere)!

Simple CORS-handling for any itty-router API. Designed on Cloudflare Workers, but works anywhere. Features Tiny. Currently ~600 bytes, with zero-depen

Kevin R. Whitley 6 Dec 16, 2022
To Do List Application Organize your tasks with simple add and delete functionality. Organize your items with ease.

TODO-LIST To Do List Application Organize your tasks with simple add and delete functionality. Organize your items with ease. Additional description a

Steve 12 Jul 22, 2022
pokedev.js is a tool make to help developers get info about a pokemon and use it in any project with ease.

pokedev.js pokedev.js is a tool make to help developers get info about a pokemon and use it in any project with ease. Quick Links pokedev.js Quick Lin

pokedev.js 4 Apr 4, 2022
A Technical Blogging Website that utilizes Notion as a CMS for ease of modification with the help of the notion-API & whose content has been rendered with next-js and react-notion-x

GDSC MCE Blogs This repo is what GDSC MCE uses to power their blogging website gdsc-mce-blogs. It uses Notion as a CMS, fetching content from Notion a

null 7 Dec 16, 2022