switch Alternate Style Sheets

Overview

alternate-stylesheets.js

Actions Status: test npm version Try alternate-stylesheets on RunKit Renovate enabled

switch Alternate Style Sheets

Installation

npm

$ npm install alternate-stylesheets

yarn

$ yarn add alternate-stylesheets

Usage

ES Modules

import * as alternateStylesheets from 'alternate-stylesheets';

CommonJS

const alternateStylesheets = require('alternate-stylesheets');

browser

<script src="alternate-stylesheets.min.js"></script>

Example

// <link rel="stylesheet" title="cafe" href="cafe.css">
// <link rel="alternate stylesheet" title="orange" href="orange.css">
// <link rel="alternate stylesheet" title="chocolate" href="chocolate.css">

// get alternate stylesheets
const stylesheets = alternateStyleSheets.getAlternateStylesheets();

// enable orange stylesheet
alternateStyleSheets.setAlternateStylesheet('orange');

// enable chocolate stylesheet
alternateStyleSheets.setAlternateStylesheet('chocolate');

Functions

see documents

License

The MIT License.

Comments
  • Bump object-path from 0.11.5 to 0.11.8

    Bump object-path from 0.11.5 to 0.11.8

    Bumps object-path from 0.11.5 to 0.11.8.

    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)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump object-path from 0.11.5 to 0.11.7

    Bump object-path from 0.11.5 to 0.11.7

    Bumps object-path from 0.11.5 to 0.11.7.

    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)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Update dependency @wessberg/rollup-plugin-ts to v2

    Update dependency @wessberg/rollup-plugin-ts to v2

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @wessberg/rollup-plugin-ts | ^1.3.10 -> ^2.0.0 | age | adoption | passing | confidence |


    Release Notes

    wessberg/rollup-plugin-ts

    v2.0.4

    Compare Source

    Bug Fixes
    • regression in v2.0.3 on TypeScript <= 3.7 where ExportDeclarations could be dropped (f56c91c)

    v1.3.14

    Compare Source

    Bug Fixes
    • declarations: fix TypeScript backwards compatibility (4f09009)

    v1.3.13

    Compare Source

    Bug Fixes
    • logging: don't console log ModuleDeclarations (a513caa)

    v1.3.12

    Compare Source

    Bug Fixes
    • deconflicting: add support for CallSignatures in deconflicting logic (3699a4e)
    • deconflicting: fix issue where ModuleDeclarations could sometimes not be traced back to an original SourceFile, leading to invalid deconflicting. Closes #​129 (064b0c7)
    • namespace-exports: fix problem where ExportDeclarations- and/or ImportDeclarations are sometimes lost when inlining ModuleDeclarations. Closes #​130 (deec007)
    • namespace: same import in multiple namespaces (9f69855)
    • tree-shaking: Correctly deconflict ExportDeclaration inside module wrappers and add support for deconflicting QualifiedNames. Closes #​136 (6623ca2)

    v1.3.11

    Compare Source


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency lint-staged to v12

    Update dependency lint-staged to v12

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | lint-staged | ^11.0.0 -> ^12.0.0 | age | adoption | passing | confidence |


    Release Notes

    okonet/lint-staged

    v12.0.0

    Compare Source

    Features
    BREAKING CHANGES
    • lint-staged is now a pure ESM module, and thus requires Node.js version ^12.20.0 || ^14.13.1 || >=16.0.0.

    To update your Node.js integration, please use:

    // const lintStaged = require('lint-staged')
    import lintStaged from 'lint-staged'
    

    v11.2.6

    Compare Source

    Bug Fixes

    v11.2.5

    Compare Source

    Bug Fixes

    v11.2.4

    Compare Source

    Performance Improvements

    v11.2.3

    Compare Source

    Bug Fixes

    v11.2.2

    Compare Source

    Bug Fixes

    v11.2.1

    Compare Source

    Bug Fixes

    v11.2.0

    Compare Source

    Features

    v11.1.4

    Compare Source

    v11.1.3

    Compare Source

    v11.1.2

    Compare Source

    Bug Fixes
    • try to automatically fix and warn about invalid brace patterns (#​992) (b3d97cf)

    v11.1.1

    Compare Source

    Bug Fixes

    v11.1.0

    Compare Source

    Features
    • allow a path to be supplied to the --shell option (#​994) (fea8033)

    v11.0.1

    Compare Source

    Bug Fixes
    • do not swallow already detected deprecated usage by last task (#​991) (7734156)

    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency serve to v13

    Update dependency serve to v13

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | serve | ^12.0.0 -> ^13.0.0 | age | adoption | passing | confidence |


    Release Notes

    vercel/serve

    v13.0.0

    Compare Source

    Major Changes
    • Change default port from 5000 to 3000: #​680
    Credits

    Huge thanks to @​kud for helping!

    v12.0.1

    Compare Source

    Changes
    • HTTPS: Adding Ability to Send Passphrase to createServer: #​655
    • Fix network not being shown anymore: #​661
    Credits

    Huge thanks to @​wilbert-abreu and @​marcofugaro for helping!


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update linters (major)

    Update linters (major)

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @typescript-eslint/eslint-plugin | ^4.18.0 -> ^5.0.0 | age | adoption | passing | confidence | | @typescript-eslint/parser | ^4.18.0 -> ^5.0.0 | age | adoption | passing | confidence | | eslint (source) | ^7.22.0 -> ^8.0.0 | age | adoption | passing | confidence |


    Release Notes

    typescript-eslint/typescript-eslint

    v5.0.0

    Compare Source

    Features

    v4.33.0

    Compare Source

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

    v4.32.0

    Compare Source

    Features

    4.31.2 (2021-09-20)

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

    4.31.1 (2021-09-13)

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

    v4.31.2

    Compare Source

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

    v4.31.1

    Compare Source

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

    v4.31.0

    Compare Source

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

    v4.30.0

    Compare Source

    Features
    • typescript-estree: add support for class static blocks (#​3730) (f81831b)

    4.29.3 (2021-08-23)

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

    4.29.2 (2021-08-16)

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

    4.29.1 (2021-08-09)

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

    v4.29.3

    Compare Source

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

    v4.29.2

    Compare Source

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

    v4.29.1

    Compare Source

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

    v4.29.0

    Compare Source

    Features
    • eslint-plugin: Catch unused React import with new JSX transform (#​3577) (02998ea)
    • typescript-estree: add support for custom module resolution (#​3516) (d48429d)

    4.28.5 (2021-07-26)

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

    4.28.4 (2021-07-19)

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

    4.28.3 (2021-07-12)

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

    4.28.2 (2021-07-05)

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

    4.28.1 (2021-06-28)

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

    v4.28.5

    Compare Source

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

    v4.28.4

    Compare Source

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

    v4.28.3

    Compare Source

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

    v4.28.2

    Compare Source

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

    v4.28.1

    Compare Source

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

    v4.28.0

    Compare Source

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

    v4.27.0

    Compare Source

    Bug Fixes
    • eslint-plugin: allow explicit any for no-unsafe-return (#​3498) (b15a2b2)
    Features
    • eslint-plugin: [prefer-literal-enum-member] add allowBitwiseExpressions option (#​3515) (288092a)

    4.26.1 (2021-06-07)

    Bug Fixes

    v4.26.1

    Compare Source

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

    v4.26.0

    Compare Source

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

    v4.25.0

    Compare Source

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

    v4.24.0

    Compare Source

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

    v4.23.0

    Compare Source

    Features
    • refactor to split AST specification out as its own module (#​2911) (25ea953)

    4.22.1 (2021-05-04)

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

    v4.22.1

    Compare Source

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

    v4.22.0

    Compare Source

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

    v4.21.0

    Compare Source

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

    v4.20.0

    Compare Source

    Features
    • eslint-plugin: [space-infix-ops] support for class properties and type aliases (#​3231) (5414bf2)
    • eslint-plugin: [type-annotation-spacing] handle space between ? and : (#​3138) (40bdb0b)

    v4.19.0

    Compare Source

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

    eslint/eslint

    v8.0.0

    Compare Source

    v7.32.0

    Compare Source

    v7.31.0

    Compare Source

    v7.30.0

    Compare Source

    v7.29.0

    Compare Source


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency typedoc to ^0.22.0

    Update dependency typedoc to ^0.22.0

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | typedoc (source) | ^0.21.0 -> ^0.22.0 | age | adoption | passing | confidence |


    Release Notes

    TypeStrong/TypeDoc

    v0.22.0

    Compare Source

    Breaking Changes
    • The packages and entryPoints options have been combined. To migrate configurations which used packages, replace packages with entryPoints and set entryPointStrategy to packages.
    • Renamed disableOutputCheck to cleanOutputDir to more clearly reflect its behavior.
    • The highlightTheme option has been split into lightHighlightTheme and darkHighlightTheme.
    • Removed poorly documented / poorly behaved toc option.
    • HTML output is now rendered with JSX instead of Handlebars, closes #​1631. This change provides major performance benefits, reducing rendering time by up to 10x for several benchmarked projects. It also allows themes to be easily type checked, preventing mistakes when creating custom themes. Removing Handlebars also fixed memory leaks when --watch was specified due to Handlebar's caching mechanism. This change breaks all existing custom themes, so a theme created for v0.21 or earlier will not work in v0.22. See internal-docs/custom-themes.md for documentation on how to create a custom theme in v0.22.
    • Removed the minimal theme that has been mostly broken for a long time.
    Features
    • Added support for light/dark mode to the default theme, closes #​1641.
    • Added support for custom CSS with the new customCss option, closes #​1060.
    • Added support for linking to third party documentation sites, closes #​131. See internal-docs/third-party-symbols.md for documentation on how to create a plugin which enables this. Support for linking to MDN for global types is provided by typedoc-plugin-mdn-links.
    • Added entryPointStrategy to reduce confusion from new TypeDoc users on handling of entry points. There are three possible options: | Option | Behavior | | --- | --- | | resolve (default) | Expects all entry points to be contained within the root level tsconfig project. If a directory is given, includes <directory>/index as the entry point. | | expand | Expects all entry points to be contained within the root level tsconfig project. If a directory is given, files within it are recursively expanded. This was the default behavior in v0.21. | | packages | Corresponds to --packages in v0.21, behaves as documented in the Monorepo section in the readme. |
    • Added support for typedocMain in package.json when using the packages strategy for resolving entry points.
    • Produce warnings when documentation is missing exports, closes #​1653. If using TypeDoc's API, this behavior is available through calling application.validate(project).
    • Added support for detecting "as const enums", closes #​1675.
    • Added hideLegend option, closes #​1108.
    • Added performance measurements to debug logging (--logLevel Verbose)
    • String literal indexed access types will create links to their referencing member if possible, closes #​1226.
    Bug Fixes
    • Support inclusion patterns when expanding input files, closes #​1399.
    • Arrow keys can no longer select hidden search results.
    • The Legend header will no longer be included if there is nothing in the legend.
    • If a non-function uses @param, the name will not be dropped when rendering, closes #​1410.
    API Breaking Changes
    • TypeDoc now specifies the "export" key in package.json, preventing plugins from importing internal paths. TypeDoc should now export all necessary structures (potentially marked with @internal if likely to change) from the root export.
    • The ReflectionKind values for Project, Module, Namespace, and Enum have changed.
    • Removed deprecated logger functions.
    • Dropped support for legacy plugins which use export=. Plugins are now required to export a load function.
    • Remove TypeParameterType, references to type parameters have produced a ReferenceType since v0.20.0.
    • Types no longer have a clone method. It inconsistently performed deep or shallow clones, and was not used by TypeDoc.
    • Types no longer contain an equals method. It was occasionally correct for medium-complexity types, and always incorrect for more complicated types.
    Thanks!

    v0.21.9 (2021-07-29)

    Bug Fixes
    Thanks!

    v0.21.8 (2021-07-28)

    Features
    • Upgrade Shiki to 0.9.8, adds support for several new highlighting languages
    Thanks!

    v0.21.7 (2021-07-27)

    Features
    • Support for TypeScript 4.4, closes #​1664

    v0.21.6 (2021-07-19)

    Features
    • Add support for NO_COLOR environment variable (#​1650)
    Bug Fixes
    • Handle undefined symbols in query types, closes #​1660
    Thanks!

    v0.21.5 (2021-06-31)

    Features
    Bug Fixes
    • Implicitly set noEmit unless --emit is provided, closes #​1639
    Thanks!

    v0.21.4 (2021-06-12)

    Bug Fixes
    • Constructors did not have source information set, closes #​1626

    v0.21.3 (2021-06-10)

    Breaking Changes
    • Options may not be set once conversion starts. Enables a small perf improvement.
    Bug Fixes
    • Improve detection for "property methods" to convert as methods, closes #​1624
    • Two members differing only by case produced broken links, closes #​1585
    • Resolve some memory leaks
    Thanks!

    v0.21.2 (2021-05-27)

    Bug Fixes
    • Postpone resolution of inherited classes until their parents have been resolved, closes #​1580

    v0.21.1 (2021-05-25)

    Bug Fixes
    • Exclude empty modules from documentation, closes #​1607
    • readme could not be set to none in a config file, closes #​1608
    • Correctly handle minimatch excludes on Windows, closes #​1610

    v0.21.9

    Compare Source

    Bug Fixes
    Thanks!
    • John Haugeland

    v0.21.8

    Compare Source

    Features
    • Upgrade Shiki to 0.9.8, adds support for several new highlighting languages
    Thanks!
    • John Haugeland

    v0.21.7

    Compare Source

    Features

    v0.21.6

    Compare Source

    Features
    Bug Fixes
    Thanks!
    • Krisztián Balla

    v0.21.5

    Compare Source

    Features
    Bug Fixes
    • Implicitly set noEmit unless --emit is provided (71ceaaa), closes #​1639
    Thanks!
    • Jacques Favreau

    v0.21.4

    Compare Source

    Bug Fixes
    • Constructors did not have source information set (5dfe9de), closes #​1626

    v0.21.3

    Compare Source

    Breaking Changes
    • The bug fix to correct #​1585 may created file names. Files are now created with the same case as your exported member names. This could cause broken links for external links to doc pages. See #​1633 for more details.
    Bug Fixes
    • Improve detection for "property methods" to convert as methods (98331b5), closes #​1624
    • Two members differing only by case produced broken links (f909281), closes #​1585
    • Resolve some memory leaks (9be9e36)
    API Breaking Changes
    • Options may not be set once conversion starts. Enables a small perf improvement. (f3294cd)
    Thanks!
    • Andrew Bradley

    v0.21.2

    Compare Source

    Bug Fixes
    • Postpone resolution of inherited classes until their parents have been resolved (fc920bd), closes #​1580

    v0.21.1

    Compare Source

    Bug Fixes

    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency @types/mocha to v9

    Update dependency @types/mocha to v9

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @types/mocha | ^8.2.1 -> ^9.0.0 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency husky to v7

    Update dependency husky to v7

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | husky (source) | ^6.0.0 -> ^7.0.0 | age | adoption | passing | confidence |


    Release Notes

    typicode/husky

    v7.0.0

    Compare Source

    • Improve .husky/ directory structure. .husky/.gitignore is now unnecessary and can be removed.
    • Improve error output (shorter)
    • Update husky-init CLI
    • Update husky-4-to-7 CLI
    • Drop Node 10 support

    Please help me develop and release OSS projects :heart: on GitHub Sponsors or Open Collective. Thank you for the support!


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency typedoc to ^0.21.0

    Update dependency typedoc to ^0.21.0

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | typedoc (source) | ^0.20.32 -> ^0.21.0 | age | adoption | passing | confidence |


    Release Notes

    TypeStrong/TypeDoc

    v0.21.0

    Compare Source

    Breaking Changes
    • Drop support for Node v10 (dc8416a)
    • Drop support for TypeScript 3.9 (5d45539)
    • Remove disableAliases option introduced in 0.20.37 (ec18bb0)
    • Paths in config files will now be resolved relative to the config file's directory (3f39508)
    • Plugins are now passed Application directly (22df574), closes #​1598
    Features
    • Improve monorepos by adding support for TS entry points via --packages (#​1596) (6d215df)
    • Support for monorepos (15c0552)
    • Support for TypeScript 4.3 (432008c)
    • Add support for sorting reflections based on user criteria (e125484), closes #​112
    • Add the --treatWarningsAsErrors option (58f1bac), closes #​1568
    • The --exclude option will now remove symbols re-exported from excluded files (bb5a5ae), closes #​1578
    Bug Fixes
    • Correctly handle comments on function type aliases (1b1cd14), closes #​799
    • Setters should always have a void return type (1dc5659), closes #​1215
    • Pick up doc comments for properties declared within a class's constructor when documenting JavaScript (700d413), closes #​1255
    • Inherit comments from parent methods (d5bb930), closes #​1580
    • Correct handling for intentionally broken references (5d581b0)
    • Inheritance from multiple Partial<T> types was incorrectly converted (4aad444), closes #​1579
    Thanks!

    The support for monorepos was made possible by @​efokschaner and @​Lhoerion. It wouldn't have happened without their contributions. Thank you!

    v0.20.37

    Compare Source

    Features
    • Add disableAliases option (#​1576) (a446431), closes #​1571 Note: This option will be removed in v0.21. It has been discovered to cause some problems.
    Bug Fixes
    Thanks!
    • Nick
    • Martin

    v0.20.36

    Compare Source

    Features
    • use 'pretty' option when generating json (d5930e0)
    • create 'pretty' option (b3c856e)
    Bug Fixes
    • Always write to stdout, even if redirected (dcbda43), closes #​1566
    • Create directories when writing JSON output (4817db4)
    Thanks!

    v0.20.35

    Compare Source

    Features
    • Include debugging information in highlighting error messages (#​1561) (a90deee)
    Bug Fixes
    Thanks!
    • Masato Makino

    v0.20.34

    Compare Source

    Bug Fixes

    v0.20.33

    Compare Source

    Bug Fixes

    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Update dependency serve to v12

    Update dependency serve to v12

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | serve | ^11.3.2 -> ^12.0.0 | age | adoption | passing | confidence |


    Release Notes

    vercel/serve

    v12.0.0

    Compare Source

    Major Changes
    Minor Changes
    • Add -p port flag to the help command output.: #​607
    • Add flag for disabling port switching: #​579
    Patches
    • Bump lodash from 4.17.15 to 4.17.19: #​619
    • Bump ini from 1.3.5 to 1.3.7: #​638
    • Fix: Bump ajv to 6.12.6: #​635
    • Update repo location in package.json to be vercel/serve: #​641
    • Fix spacing for CORS documentation: #​610
    • Fix undefined local network address: #​572
    • Bump lodash from 4.17.19 to 4.17.21: #​654
    Credits

    Huge thanks to @​hail2u, @​Oscar-21, @​jespertheend, @​rajivshah3, @​z-svoboda-mob, @​IvanSanchez, and @​wabscale for helping!


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue provides visibility into Renovate updates and their statuses. Learn more

    This repository currently has no open or pending branches.


    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Bump path-parse from 1.0.6 to 1.0.7

    Bump path-parse from 1.0.6 to 1.0.7

    Bumps path-parse from 1.0.6 to 1.0.7.

    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)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump ws from 7.4.4 to 7.4.6

    Bump ws from 7.4.4 to 7.4.6

    Bumps ws from 7.4.4 to 7.4.6.

    Release notes

    Sourced from ws's releases.

    7.4.6

    Bug fixes

    • Fixed a ReDoS vulnerability (00c425ec).

    A specially crafted value of the Sec-Websocket-Protocol header could be used to significantly slow down a ws server.

    for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) {
      const value = 'b' + ' '.repeat(length) + 'x';
      const start = process.hrtime.bigint();
    

    value.trim().split(/ *, */);

    const end = process.hrtime.bigint();

    console.log('length = %d, time = %f ns', length, end - start); }

    The vulnerability was responsibly disclosed along with a fix in private by Robert McLaughlin from University of California, Santa Barbara.

    In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options.

    7.4.5

    Bug fixes

    • UTF-8 validation is now done even if utf-8-validate is not installed (23ba6b29).
    • Fixed an edge case where websocket.close() and websocket.terminate() did not close the connection (67e25ff5).
    Commits
    • f5297f7 [dist] 7.4.6
    • 00c425e [security] Fix ReDoS vulnerability
    • 990306d [lint] Fix prettier error
    • 32e3a84 [security] Remove reference to Node Security Project
    • 8c914d1 [minor] Fix nits
    • fc7e27d [ci] Test on node 16
    • 587c201 [ci] Do not test on node 15
    • f672710 [dist] 7.4.5
    • 67e25ff [fix] Fix case where abortHandshake() does not close the connection
    • 23ba6b2 [fix] Make UTF-8 validation work even if utf-8-validate is not installed
    • 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)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump hosted-git-info from 2.8.8 to 2.8.9

    Bump hosted-git-info from 2.8.8 to 2.8.9

    Bumps hosted-git-info from 2.8.8 to 2.8.9.

    Changelog

    Sourced from hosted-git-info's changelog.

    2.8.9 (2021-04-07)

    Bug Fixes

    Commits
    Maintainer changes

    This version was pushed to npm by nlf, a new releaser for hosted-git-info since your current version.


    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)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Owner
sasaplus1
Takafumi Sasage / JavaScript, Bash, Vim, Git, Build mechanical keyboard, etc. sandbox: @sasaplus1-prototype
sasaplus1
Lightweight basic CSS style sheets.

Styled CSS Base Lightweight basic CSS style sheets. If you get tired of setting up a comprehensive styling scaffold, you may try returning back to thi

Zheeeng 19 Oct 21, 2022
This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io)

Alternative Prisma Data Proxy This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io). In order to deploy your project to

AijiUejima 60 Dec 28, 2022
A simple javascript utility library to include partial html (iframe alternate) without a framework or jQuery.

alt-iframe A simple javascript utility library to include partial html (iframe alternate) without a framework or jQuery. <!doctype html> <html lang="e

FrontEndNeo 17 Dec 30, 2022
A place for all of my cheat sheets.

Who doesn't love cheat sheets? This repository will behold all of my cheat sheets in the future! At the moment, you will find: Languages Prolog Data S

Amine Haj Ali 24 Jun 9, 2022
In this project, you will learn how to pull datas from supabase to google sheets in a matter of minute

Supabase-Googlesheet In this repo, you will see how to pull datas from your supabase project using Supabase API to a Google Sheet. No matter how many

Jady Nekena 6 Jul 28, 2022
A module for modifying sheet rolling functions on Foundry VTT Character sheets for D&D 5th Edition.

Ready Set Roll for 5e - FoundryVTT Module Ready Set Roll is a Foundry VTT module that accelerates the built in rolling system of the Foundry DnD5e sys

Mangó 17 Dec 12, 2022
Base62-token.js - Generate & Verify GitHub-style & npm-style Base62 Tokens

base62-token.js Generate & Verify GitHub-style & npm-style Secure Base62 Tokens Works in Vanilla JS (Browsers), Node.js, and Webpack. Online Demo See

Root 4 Jun 11, 2022
KWin Script to switch to the next or previous non empty virtual desktop

kwin-cycle-non-empty-desktops KWin Script to switch to the next or previous non empty virtual desktop. Installation Method 1: From the KDE Store Go to

Shaan Subbaiah 1 Dec 5, 2022
❤️ A heart-shaped toggle switch component for React.

heart-switch A heart-shaped toggle switch component for React. Inspired by Tore Bernhoft's I heart toggle Dribbble shot. ?? Table of Contents ?? Getti

Anatoliy Gatt 413 Dec 15, 2022
Automatically switch Terminal profile based on dark / light mode

auto-terminal-profile Automatically switch the macOS Terminal profile based on the system-wide dark / light appearance mode Prerequisites Node.js 14-1

Patrik Csak 17 Jan 2, 2023
Switch case syntax for Svelte ✨

Svelte switch case Switch case syntax for your Svelte components. Demo · StackBlitz · NPM Package ⚡ Getting started Step 1: Add the preprocessor to yo

Lucas Portet 91 Dec 30, 2022
Pure CSS toggle switch

Pure CSS toggle switch demo install npm i toggle-switch-css or yarn add toggle-switch-css use <label class="toggle-switch my-toggle-switch"> <in

magic-akari 6 Sep 14, 2021
Storybook Addon Root Attributes to switch html, body or some element attributes (multiple) at runtime for you story

Storybook Addon Root Attributes What is this This project was inspired by le0pard/storybook-addon-root-attribute The existing library received only on

정현수 5 Sep 6, 2022
A pure CSS toggle switch for form input checkboxes

Toggle Switchy A pure CSS toggle switch for form input checkboxes Preview Installation CSS <link rel="stylesheet" href="toggle-switchy.css"> HTML <lab

Adam Culpepper 34 Dec 8, 2022
Some ideas for grid to slideshow switch animations using GSAP's Flip plugin.

Grid to Slideshow Switch Animations Some ideas for grid to slideshow switch animations using GSAP's Flip plugin. Article on Codrops Demo Installation

Codrops 31 Jun 22, 2023
JavaScript Style Guide

Airbnb JavaScript Style Guide() { A mostly reasonable approach to JavaScript Note: this guide assumes you are using Babel, and requires that you use b

Airbnb 130.5k Jan 4, 2023
Examples of how to do query, style, dom, ajax, event etc like jQuery with plain javascript.

You (Might) Don't Need jQuery Frontend environments evolve rapidly nowadays and modern browsers have already implemented a great deal of DOM/BOM APIs

NEFE 20.3k Dec 24, 2022