Minifies css variable names

Overview

PostCSS Variable Compress

postcss-variable-compress is a PostCSS plugin minifies variable names and saves space. Even if you have 1295 css variables still they will not exceed by two characters. It will transform css variable without breaking your stylesheet.

If you want it not modify some css variables, then pass them --{variable-name} as an array to the plugin.

:root {
  --first-color: #16f;
  --second-color: #ff7;
}

#firstParagraph {
  background-color: var(--first-color);
  color: var(--second-color);
}

#container {
  --first-color: #290;
}
:root {
  --0: #16f;
  --1: #ff7;
}

#firstParagraph {
  background-color: var(--0);
  color: var(--1);
}

#container {
  --0: #290;
}

Usage

Step 1: Install plugin:

npm install --save-dev postcss postcss-variable-compress

Step 2: Check you project for existed PostCSS config: postcss.config.js in the project root, "postcss" section in package.json or postcss in bundle config.

If you do not use PostCSS, add it according to official docs and set this plugin in settings.

Step 3: Add the plugin at the end of the plugins list:

module.exports = {
  plugins: [
    require('cssnano'),
+   require('postcss-variable-compress')
  ]
}

Step 4: Pass configuration to the plugin. It takes an array of css variables that you don't need to transform.

module.export = {
  plugins: [
    require('cssnano'),
+   require('postcss-variable-compress')([
+       '--colorPrimary',
+       '--colorPrimaryAlpha',
+       '--light',
+       '--dark',
+       '--font',
+       '--vh',
+       '--r'
+   ])
  ]
}
Comments
  • Replacement is mixing up variables

    Replacement is mixing up variables

    I just tried this plugin out, but I'm getting weird behaviour where variables which are numbers and units are being replaced with colours. I've provided an example below. Any thoughts?

    image (2)

    /* index.scss */
    :root {
      --ds-transition-property-base: opacity, transform, background-color,
        box-shadow, border-color, color;
      --ds-transition-duration-base: 200ms;
      --ds-transition-timing-function-base: cubic-bezier(0.4, 0, 0.2, 1);
      --ds-border-radius-base: 0.375rem;
      --ds-spacing-tight: 0.5rem;
      --ds-spacing-base: 1rem;
      --ds-font-size-sm: 0.85rem;
      --ds-font-weight-semi-bold: 600;
      --ds-line-height-sm: 1.25rem;
    }
    
    /* Button.module.scss */
    .Button {
      transition-property: var(--ds-transition-property-base);
      transition-duration: var(--ds-transition-duration-base);
      transition-timing-function: var(--ds-transition-timing-function-base);
      position: relative;
      outline: none;
      box-sizing: border-box;
      border: 1px solid transparent;
      border-radius: var(--ds-border-radius-base);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      padding: var(--ds-spacing-tight) var(--ds-spacing-base);
      text-align: center;
      font-size: var(--ds-font-size-sm);
      font-weight: var(--ds-font-weight-semi-bold);
      line-height: var(--ds-line-height-sm);
    }
    
    opened by ericchernuka 19
  • Seems to be crashing

    Seems to be crashing

    TypeError: Cannot read properties of undefined (reading 'forEach')
        at variableCompress (/home/evan/code/site/site/node_modules/.pnpm/[email protected][email protected]/node_modules/postcss-variable-compress/index.js:75:10)
    
    opened by boehs 5
  • Bump eslint from 8.3.0 to 8.4.1

    Bump eslint from 8.3.0 to 8.4.1

    Bumps eslint from 8.3.0 to 8.4.1.

    Release notes

    Sourced from eslint's releases.

    v8.4.1

    Bug Fixes

    • 234e3d9 fix: revert changes to reported locations in max-lines-per-function (#15397) (Milos Djermanovic)

    Documentation

    • fa4d483 docs: fix typo in example for sort-keys rule (#15393) (Nitin Kumar)

    v8.4.0

    Features

    • 5771663 feat: add allowReserved parser option (#15387) (Milos Djermanovic)
    • 32ac37a feat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)
    • d041f34 feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)
    • 8f44cf5 feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)
    • 808ad35 feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)
    • f1b7499 feat: support async formatters (#15243) (MO)

    Bug Fixes

    • 4940cc5 fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)

    Documentation

    • 54deec5 docs: update integrations.md (#15380) (Vlad Sholokhov)
    • fa0423a docs: fix typo in PR template (#15365) (Nitin Kumar)
    • e233920 docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)
    • 632176d docs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)
    • 4497e88 docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)

    Chores

    • efede90 chore: upgrade @​eslint/eslintrc@​1.0.5 (#15389) (Milos Djermanovic)
    • 0b8c846 chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)
    • 94b2a8b chore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)
    • ba58d94 ci: use node v16 for Verify Files (#15364) (Nitin Kumar)
    • 1e32ee5 chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)
    Changelog

    Sourced from eslint's changelog.

    v8.4.1 - December 6, 2021

    • 234e3d9 fix: revert changes to reported locations in max-lines-per-function (#15397) (Milos Djermanovic)
    • fa4d483 docs: fix typo in example for sort-keys rule (#15393) (Nitin Kumar)

    v8.4.0 - December 3, 2021

    • efede90 chore: upgrade @​eslint/eslintrc@​1.0.5 (#15389) (Milos Djermanovic)
    • 5771663 feat: add allowReserved parser option (#15387) (Milos Djermanovic)
    • 32ac37a feat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)
    • 54deec5 docs: update integrations.md (#15380) (Vlad Sholokhov)
    • d041f34 feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)
    • 8f44cf5 feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)
    • fa0423a docs: fix typo in PR template (#15365) (Nitin Kumar)
    • 0b8c846 chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)
    • 808ad35 feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)
    • 94b2a8b chore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)
    • 4940cc5 fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)
    • e233920 docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)
    • ba58d94 ci: use node v16 for Verify Files (#15364) (Nitin Kumar)
    • 632176d docs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)
    • 4497e88 docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)
    • f1b7499 feat: support async formatters (#15243) (MO)
    • 1e32ee5 chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)
    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 clean-publish from 3.4.3 to 3.4.4

    Bump clean-publish from 3.4.3 to 3.4.4

    Bumps clean-publish from 3.4.3 to 3.4.4.

    Changelog

    Sourced from clean-publish's changelog.

    3.4.4

    • Fixed cleaning publish script with clean-publish (by Nikita Karamov).
    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 eslint from 8.3.0 to 8.4.0

    Bump eslint from 8.3.0 to 8.4.0

    Bumps eslint from 8.3.0 to 8.4.0.

    Release notes

    Sourced from eslint's releases.

    v8.4.0

    Features

    • 5771663 feat: add allowReserved parser option (#15387) (Milos Djermanovic)
    • 32ac37a feat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)
    • d041f34 feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)
    • 8f44cf5 feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)
    • 808ad35 feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)
    • f1b7499 feat: support async formatters (#15243) (MO)

    Bug Fixes

    • 4940cc5 fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)

    Documentation

    • 54deec5 docs: update integrations.md (#15380) (Vlad Sholokhov)
    • fa0423a docs: fix typo in PR template (#15365) (Nitin Kumar)
    • e233920 docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)
    • 632176d docs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)
    • 4497e88 docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)

    Chores

    • efede90 chore: upgrade @​eslint/eslintrc@​1.0.5 (#15389) (Milos Djermanovic)
    • 0b8c846 chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)
    • 94b2a8b chore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)
    • ba58d94 ci: use node v16 for Verify Files (#15364) (Nitin Kumar)
    • 1e32ee5 chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)
    Changelog

    Sourced from eslint's changelog.

    v8.4.0 - December 3, 2021

    • efede90 chore: upgrade @​eslint/eslintrc@​1.0.5 (#15389) (Milos Djermanovic)
    • 5771663 feat: add allowReserved parser option (#15387) (Milos Djermanovic)
    • 32ac37a feat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)
    • 54deec5 docs: update integrations.md (#15380) (Vlad Sholokhov)
    • d041f34 feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)
    • 8f44cf5 feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)
    • fa0423a docs: fix typo in PR template (#15365) (Nitin Kumar)
    • 0b8c846 chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)
    • 808ad35 feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)
    • 94b2a8b chore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)
    • 4940cc5 fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)
    • e233920 docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)
    • ba58d94 ci: use node v16 for Verify Files (#15364) (Nitin Kumar)
    • 632176d docs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)
    • 4497e88 docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)
    • f1b7499 feat: support async formatters (#15243) (MO)
    • 1e32ee5 chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)
    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 from 27.4.0 to 27.4.3

    Bump jest from 27.4.0 to 27.4.3

    Bumps jest from 27.4.0 to 27.4.3.

    Release notes

    Sourced from jest's releases.

    v27.4.3

    27.4.3

    Fixes

    • [jest-environment-jsdom] Remove @types/jsdom dependency (and make its dom property private) (#12107)

    Full Changelog: https://github.com/facebook/jest/compare/v27.4.2...v27.4.3

    v27.4.2

    27.4.2

    Fixes

    • [jest-worker] Add additional execArgv to filter (#12103)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v27.4.1...v27.4.2

    v27.4.1

    Fixes

    • [jest-worker] Filter execArgv correctly (#12097)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v27.4.0...v27.4.1

    Changelog

    Sourced from jest's changelog.

    27.4.3

    Fixes

    • [jest-environment-jsdom] Remove @types/jsdom dependency (and make its dom property private) (#12107)

    27.4.2

    Fixes

    • [jest-worker] Add additional execArgv to filter (#12103)

    27.4.1

    Fixes

    • [jest-worker] Filter execArgv correctly (#12097)
    Commits
    • 6b4fcbc v27.4.3
    • f9814d2 fix: remove @types/jsdom dependency (#12107)
    • 26abf9a chore: update changelog for release
    • 7965591 v27.4.2
    • 62da61d chore: update changelog for release
    • cc295f5 jest-worker: Avoid crash when "--max-old-space-size" inside process.execArgv ...
    • 1d197dd chore: add __typechecks__ directories to .npmignore (#12104)
    • 5640f88 chore: update lockfile after release
    • fa4a398 v27.4.1
    • dfc63ce chore: update changelog for release
    • 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 jest from 27.4.0 to 27.4.2

    Bump jest from 27.4.0 to 27.4.2

    Bumps jest from 27.4.0 to 27.4.2.

    Release notes

    Sourced from jest's releases.

    v27.4.2

    27.4.2

    Fixes

    • [jest-worker] Add additional execArgv to filter (#12103)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v27.4.1...v27.4.2

    v27.4.1

    Fixes

    • [jest-worker] Filter execArgv correctly (#12097)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v27.4.0...v27.4.1

    Changelog

    Sourced from jest's changelog.

    27.4.2

    Fixes

    • [jest-worker] Add additional execArgv to filter (#12103)

    27.4.1

    Fixes

    • [jest-worker] Filter execArgv correctly (#12097)
    Commits
    • 7965591 v27.4.2
    • 62da61d chore: update changelog for release
    • cc295f5 jest-worker: Avoid crash when "--max-old-space-size" inside process.execArgv ...
    • 1d197dd chore: add __typechecks__ directories to .npmignore (#12104)
    • 5640f88 chore: update lockfile after release
    • fa4a398 v27.4.1
    • dfc63ce chore: update changelog for release
    • 7fead59 jest-worker: Avoid crash when "--max-old-space-size" inside `process.execArgv...
    • 30a69fb chore: move typecheck test files from root into packages (#12099)
    • 40a9027 fix(eslint): use eslint-import-resolver-typescript to fix import/no-unresolve...
    • 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 postcss from 8.3.11 to 8.4.1

    Bump postcss from 8.3.11 to 8.4.1

    Bumps postcss from 8.3.11 to 8.4.1.

    Release notes

    Sourced from postcss's releases.

    8.4.1

    8.4 “President Camio”

    PostCSS 8.4 brought ranges for warnings and errors, smaller node_modules size, lazy parsing to avoid PostCSS does nothing warning, and TypeScript fixes.

    Thanks to Sponsors

    This release was possible thanks to our community.

    If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:

    Rages for Errors and Warnings

    @​adalinesimonian, the author of amazing Stylelint extension for VS Code, added ranges to errors and warnings.

    result.warn(msg, { index })           // One character warning at index
    result.warn(msg, { endIndex })        // Starts at node start, ends at endIndex
    result.warn(msg, { index, endIndex }) // Starts at index, ends at endIndex
    result.warn(msg, { start })           // Starts at start, ends at node end
    result.warn(msg, { end })             // Starts at node start, ends at end
    result.warn(msg, { start, end })      // Starts at start, ends at end
    result.warn(msg, { word })            // Starts at word location, ends at word index + length
    

    It will improve DX in the IDE extension.

    Lazy Parsing

    Previously, we found that many tools run PostCSS even if the developer didn’t pass any PostCSS plugins. Parsing is the most expensive step in CSS processing. It led to a waste of resources without any reason.

    We tried to resolve the problem by adding a PostCSS does nothing warning. But it didn’t force tool authors to be more careful with user’s resources.

    If PostCSS sees that tool call it without passing plugins (or changing parser/stringifier), PostCSS will not parse CSS (until toll will call Result#root). In 8.4, @​bogdan0083 (with the help of @​WilhelmYakunin) tries to solve the problem in another way. It allows us to save resources and remove the PostCSS does nothing warning.

    </tr></table> 
    

    ... (truncated)

    Changelog

    Sourced from postcss's changelog.

    8.4.1

    • Fixed Stringifier types (by James Garbutt).

    8.4 “President Camio”

    • Added ranges for errors and warnings (by Adaline Valentina Simonian).
    • Added Stringifier types (by James Garbutt).
    • Added Processor types.
    • Removed PostCSS does nothing warning by lazy parser (Bogdan Dolin).
    • Fixed Node#walkRules() types (by Aleks Hudochenkov).
    • Fixed types Root and Document in result values (by James Garbutt).
    • Reduced npm install size by 0.5 MB.
    • Moved tests from Jest to uvu (by Andrey Kim).
    • Fixed docs (by Paul Shryock).
    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 eslint-plugin-jest from 25.2.4 to 25.3.0

    Bump eslint-plugin-jest from 25.2.4 to 25.3.0

    Bumps eslint-plugin-jest from 25.2.4 to 25.3.0.

    Release notes

    Sourced from eslint-plugin-jest's releases.

    v25.3.0

    25.3.0 (2021-11-23)

    Features

    • require-hook: add allowedFunctionCalls setting (#983) (9d9336a)
    Changelog

    Sourced from eslint-plugin-jest's changelog.

    25.3.0 (2021-11-23)

    Features

    • require-hook: add allowedFunctionCalls setting (#983) (9d9336a)
    Commits
    • dad767b chore(release): 25.3.0 [skip ci]
    • 9d9336a feat(require-hook): add allowedFunctionCalls setting (#983)
    • c0a00a1 chore(deps): update dependency lint-staged to v12 (#984)
    • 33e3862 chore(deps): lock file maintenance
    • b801c03 chore(deps): update commitlint monorepo to v15 (major) (#973)
    • 9fc752b chore(deps): lock file maintenance
    • 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 lint-staged from 12.0.3 to 12.1.2

    Bump lint-staged from 12.0.3 to 12.1.2

    Bumps lint-staged from 12.0.3 to 12.1.2.

    Release notes

    Sourced from lint-staged's releases.

    v12.1.2

    12.1.2 (2021-11-22)

    Bug Fixes

    • fix Windows JS config loading by using file:// URLs (f20ddf9)
    • fix YAML config loading (0082ec2)
    • improve error logging in loadConfig (e7b6412)

    v12.1.1

    12.1.1 (2021-11-21)

    Bug Fixes

    • await for dynamic import promise when loading JS config (e96b6d9)

    v12.1.0

    12.1.0 (2021-11-21)

    Features

    • allow loading .js config file with ESM syntax (410c3ba)
    • replace cosmiconfig with lilconfig + yaml to reduce dependencies (e7f9fa0)
    • support loading .mjs config (8d3b176)
    Commits
    • e7b6412 fix: improve error logging in loadConfig
    • 0082ec2 fix: fix YAML config loading
    • f20ddf9 fix: fix Windows JS config loading by using file:// URLs
    • e96b6d9 fix: await for dynamic import promise when loading JS config
    • dc79216 docs: update code examples from CommonJS to ESM syntax
    • fddcef7 chore: add error logging to loadConfig
    • e7f9fa0 feat: replace cosmiconfig with lilconfig + yaml to reduce dependencies
    • 410c3ba feat: allow loading .js config file with ESM syntax
    • bb0030a refactor: extract loadConfig into separate file
    • 8d3b176 feat: support loading .mjs config
    • 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 eslint from 8.2.0 to 8.3.0

    Bump eslint from 8.2.0 to 8.3.0

    Bumps eslint from 8.2.0 to 8.3.0.

    Release notes

    Sourced from eslint's releases.

    v8.3.0

    Features

    • 60b0a29 feat: add allowProperties option to require-atomic-updates (#15238) (Milos Djermanovic)
    • 79278a1 feat: update no-use-before-define for class static blocks (#15312) (Milos Djermanovic)
    • ddd01dc feat: update no-redeclare for class static blocks (#15313) (Milos Djermanovic)
    • de69cec feat: update no-inner-declarations for class static blocks (#15290) (Milos Djermanovic)
    • e2fe7ef feat: support for private-in syntax (fixes #14811) (#15060) (Yosuke Ota)
    • 34bc8d7 feat: Update espree and eslint-scope (#15338) (Brandon Mills)
    • b171cd7 feat: update max-depth for class static blocks (#15316) (Milos Djermanovic)
    • 6487df3 feat: update padded-blocks for class static blocks (#15333) (Milos Djermanovic)
    • 194f36d feat: update the complexity rule for class static blocks (#15328) (Milos Djermanovic)
    • 3530337 feat: update the indent rule for class static blocks (#15324) (Milos Djermanovic)
    • f03cd14 feat: update lines-around-comment for class static blocks (#15323) (Milos Djermanovic)
    • 5c64747 feat: update brace-style for class static blocks (#15322) (Milos Djermanovic)
    • df2f1cc feat: update max-statements for class static blocks (#15315) (Milos Djermanovic)
    • fd5a0b8 feat: update prefer-const for class static blocks (#15325) (Milos Djermanovic)
    • b3669fd feat: code path analysis for class static blocks (#15282) (Milos Djermanovic)
    • 15c1397 feat: update eslint-scope for class static blocks (#15321) (Milos Djermanovic)
    • 1a1bb4b feat: update one-var for class static blocks (#15317) (Milos Djermanovic)
    • 9b666e0 feat: update padding-line-between-statements for class static blocks (#15318) (Milos Djermanovic)
    • d3a267f feat: update class-methods-use-this for class static blocks (#15298) (Milos Djermanovic)
    • cdaa541 feat: update no-lone-blocks for class static blocks (#15295) (Milos Djermanovic)
    • 8611538 feat: update block-spacing for class static blocks (#15297) (Milos Djermanovic)
    • 7b56844 feat: update keyword-spacing for class static blocks (#15289) (Milos Djermanovic)
    • ea18711 feat: update no-extra-semi for class static blocks (#15287) (Milos Djermanovic)
    • 0f0971f feat: update semi rule for class static blocks (#15286) (Milos Djermanovic)
    • abe740c feat: add examples for block-scoped-var with class static blocks (#15302) (Milos Djermanovic)
    • 0338fd2 feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268) (Yosuke Ota)

    Bug Fixes

    • 8aa7645 fix: update vars-on-top for class static blocks (#15306) (Milos Djermanovic)
    • 479a4cb fix: update semi-style for class static blocks (#15309) (Milos Djermanovic)
    • 6d1c666 fix: update no-invalid-this and no-eval for class static blocks (#15300) (Milos Djermanovic)

    Documentation

    • 6b85426 docs: Expand --debug option description in the CLI documentation (#15308) (darkred)
    • 3ae5258 docs: the strict rule does not apply to class static blocks (#15314) (Milos Djermanovic)
    • 9309841 docs: Remove inconsistent colon in pull request docs (#15303) (Jordan Eldredge)
    • da238cc docs: remove deprecation note from lines-around-comment (#15293) (Milos Djermanovic)
    • 1055f16 docs: no-unused-expressions - class static blocks don't have directives (#15283) (Milos Djermanovic)
    • 4c55216 docs: Add variables option to no-use-before-define (#15276) (Mathias Rasmussen)

    Chores

    • edd8d24 chore: upgrade eslint-visitor-keys for class static blocks (#15277) (Milos Djermanovic)
    Changelog

    Sourced from eslint's changelog.

    v8.3.0 - November 21, 2021

    • 60b0a29 feat: add allowProperties option to require-atomic-updates (#15238) (Milos Djermanovic)
    • 79278a1 feat: update no-use-before-define for class static blocks (#15312) (Milos Djermanovic)
    • 8aa7645 fix: update vars-on-top for class static blocks (#15306) (Milos Djermanovic)
    • 479a4cb fix: update semi-style for class static blocks (#15309) (Milos Djermanovic)
    • ddd01dc feat: update no-redeclare for class static blocks (#15313) (Milos Djermanovic)
    • de69cec feat: update no-inner-declarations for class static blocks (#15290) (Milos Djermanovic)
    • e2fe7ef feat: support for private-in syntax (fixes #14811) (#15060) (Yosuke Ota)
    • 34bc8d7 feat: Update espree and eslint-scope (#15338) (Brandon Mills)
    • b171cd7 feat: update max-depth for class static blocks (#15316) (Milos Djermanovic)
    • 6487df3 feat: update padded-blocks for class static blocks (#15333) (Milos Djermanovic)
    • 194f36d feat: update the complexity rule for class static blocks (#15328) (Milos Djermanovic)
    • 3530337 feat: update the indent rule for class static blocks (#15324) (Milos Djermanovic)
    • f03cd14 feat: update lines-around-comment for class static blocks (#15323) (Milos Djermanovic)
    • 5c64747 feat: update brace-style for class static blocks (#15322) (Milos Djermanovic)
    • df2f1cc feat: update max-statements for class static blocks (#15315) (Milos Djermanovic)
    • fd5a0b8 feat: update prefer-const for class static blocks (#15325) (Milos Djermanovic)
    • b3669fd feat: code path analysis for class static blocks (#15282) (Milos Djermanovic)
    • 15c1397 feat: update eslint-scope for class static blocks (#15321) (Milos Djermanovic)
    • 1a1bb4b feat: update one-var for class static blocks (#15317) (Milos Djermanovic)
    • 9b666e0 feat: update padding-line-between-statements for class static blocks (#15318) (Milos Djermanovic)
    • 6b85426 docs: Expand --debug option description in the CLI documentation (#15308) (darkred)
    • 3ae5258 docs: the strict rule does not apply to class static blocks (#15314) (Milos Djermanovic)
    • 6d1c666 fix: update no-invalid-this and no-eval for class static blocks (#15300) (Milos Djermanovic)
    • d3a267f feat: update class-methods-use-this for class static blocks (#15298) (Milos Djermanovic)
    • cdaa541 feat: update no-lone-blocks for class static blocks (#15295) (Milos Djermanovic)
    • 8611538 feat: update block-spacing for class static blocks (#15297) (Milos Djermanovic)
    • 7b56844 feat: update keyword-spacing for class static blocks (#15289) (Milos Djermanovic)
    • ea18711 feat: update no-extra-semi for class static blocks (#15287) (Milos Djermanovic)
    • 0f0971f feat: update semi rule for class static blocks (#15286) (Milos Djermanovic)
    • abe740c feat: add examples for block-scoped-var with class static blocks (#15302) (Milos Djermanovic)
    • 9309841 docs: Remove inconsistent colon in pull request docs (#15303) (Jordan Eldredge)
    • da238cc docs: remove deprecation note from lines-around-comment (#15293) (Milos Djermanovic)
    • 1055f16 docs: no-unused-expressions - class static blocks don't have directives (#15283) (Milos Djermanovic)
    • edd8d24 chore: upgrade eslint-visitor-keys for class static blocks (#15277) (Milos Djermanovic)
    • 4c55216 docs: Add variables option to no-use-before-define (#15276) (Mathias Rasmussen)
    • 0338fd2 feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268) (Yosuke Ota)
    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
Releases(V2.0.0)
Owner
null
Make the content slide prettily across the screen with variable sizes of scrolling items, in any of four directions, pausing while the mouse is over the marquee, and all with vanilla JavaScript.

TEG Marquee Make the content slide prettily across the screen with variable sizes of scrolling items, in any of four directions, pausing while the mou

Paul B. Joiner 0 Dec 30, 2021
An in-browser JavaScript variable dumper, similar in functionality to ColdFusion's cfdump tag.

prettyPrint.js © James Padolsey prettyPrint.js is an in-browser JavaScript variable dumper, similar in functionality to ColdFusion's cfdump tag. First

Padolsey (Archived Projects) 655 Sep 18, 2022
Self-hosted environment variable management platform

envplat - environment platform This project is under development. Please contact me for any information or collaboration. Self-hosted environment vari

Environment Platform 4 Apr 25, 2022
Convert Tailwind CSS class names into their CSS3-equivalent styles — right from Alfred.

alfred-tailwind2css Tailwind2CSS offers you the ability to convert TailwindCSS classes into their CSS3-equivalent styles -- right from within Alfred.

Stephan Casas 6 Dec 7, 2022
Tired of boring balena device names? Why not let us choose!

name-block A balenaBlock for fun device renaming Highlights Bored of your device names?: Let this block rename them for you! Loads of categories: From

Alex Bucknall 3 Dec 20, 2021
Emoji - Use emoji names instead of Unicode strings. Copy-pasting emoji sucks.

Grammy Emoji Adds emoji parsing for grammY. Check out the official documentation for this plugin. While this draft is working, we still do not recomme

null 8 Sep 5, 2022
Input a list of Handshake top-level domains, outputs names sorted into 4 arrays: available, registered, reserved, or invalid.

name-check A simple NodeJS package that, given a flat list of top-level domain names, queries the Handshake (HNS) blockchain in order to classify each

Neel Yadav 2 Jan 8, 2022
Send encrypted and decrypted messages with verifiable keys and human readable names.

zooko-msg Encrypt and decrypt messages using AES with a preshared ECDH key generated using keys associated with Handshake names. I noticed that there

Publius Federalist 31 Jul 27, 2022
Leaderboard - An app that outputs the names and the score of the players and it uses API's to get all the informations

leaderboard is an app that outputs the names and the score of the players and it uses API's to get all the informations.

zieeco 7 Jul 8, 2022
This web application is a type of a scoreboard showing the names and current scores of the leading competitors in any field which is using API's to get and set data

Leaderboard-project This web application is a type of a scoreboard showing the names and current scores of the leading competitors in any field which

Ravi Teja 5 Feb 11, 2022
A simple single page web-app that stores, removes and edits books' names in the browser's local storage.

A simple single page web-app that stores, removes and edits books' names in the browser's local storage. Made with Webpack bundler

Alejandro Neira 5 Apr 1, 2022
A Leaderscore app that send data to an API created from Postman and allow users to save names and scores in a table. Built with JavaScript

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

Anicet Murhula 11 May 16, 2022
A Chrome extension for converting ENS names into links to daopanel chat.

daopanel connect A Chrome extension that links Twitter usernames to daopanel chat conversations Example daopanel chat is powered by XMTP Github Action

null 3 Aug 23, 2022
ENS Collections are categories of ENS names based on specific patterns or predefined lists.

ENS Collections are categories of ENS names based on specific patterns or predefined lists. This repository is an effort towards standardizing their definition in order to increase consistency across platforms.

null 65 Dec 15, 2022
Awsome books website is a page that contains information about list of books with the title and author names.

Project Name Awsome_Books-ES6 Description the project. Awsome books website is a page that contains information about list of books with the title and

Laasri Said 9 Oct 14, 2022
A self-hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results.

Thumba A self hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results. Description This project use

Norbert Takács 20 Dec 15, 2022
javascript library to convert a list of objects to a nested json output format, depending on the names in the list

formToNestedJson javascript "library" to convert a list of objects to a nested json output format, depending on the names in the list Basic usage Give

null 2 Aug 2, 2021
A chrome extension to automatically forward BNS names to their respective web bridges.

bns-chrome-extension A chrome extension to automatically forward BNS names to their respective web bridges. Currently, in order to use .btc names you

Alex Rudloff 3 Oct 3, 2022
A JavaScript library for EASILY fetching info from TheMovieDB API with support for torrent file names.

TheMovieDB-API-Wrapper.js A easy to use, pure vanilla JavaScript API wrapper for TheMovieDB Show your support! A JavaScript library for easily fetchin

Marketing Pipeline 5 Dec 2, 2022