[PR #156] [CLOSED] Bump css-loader from 1.0.1 to 2.0.0 #250

Closed
opened 2026-02-26 05:34:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/156
Author: @dependabot-preview[bot]
Created: 12/10/2018
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/css-loader-2.0.0


📝 Commits (1)

  • 9e87ce1 Bump css-loader from 1.0.1 to 2.0.0

📊 Changes

2 files changed (+244 additions, -134 deletions)

View changed files

📝 package-lock.json (+243 -133)
📝 package.json (+1 -1)

📄 Description

Bumps css-loader from 1.0.1 to 2.0.0.

Release notes

Sourced from css-loader's releases.

v2.0.0

2.0.0 (2018-12-07)

The main BREAKING CHANGES:

  • css modules are disabled by default, you need setup their use modules option. You can setup their using local (true is alias for this value) and global (previous behaviour) value. Why it is disabled by default? A lot of developers use css without css modules features and they get performance problems due postcss plugins spend time on analyze and processing file.
  • resolving logic for uls() and import at-rules works the same everywhere, it does not matter whether css modules are enabled (with global and local module) or not. Examples - url('image.png') as require('./image.png'), url('./image.png') as require('./image.png'), url('~module/image.png') as require('module/image.png').

Bug Fixes

  • broken unucode characters (#850) (f599c70)
  • correctly processing urls() with ?#hash (#803) (417d105)
  • don't break loader on invalid or not exists url or import token (#827) (9e52d26)
  • don't duplicate import with same media in different case (#819) (9f66e33)
  • emit warnings on broken import at-rules (#806) (4bdf08b)
  • handle uppercase URL in import at-rules (#818) (3ebdcd5)
  • inconsistent generate class names for css modules on difference os (#812) (0bdf9b7)
  • reduce number of require for urls() (#854) (3338656)
  • support deduplication of string module ids (optimization.namedModules) (#789) (e3bb83a)
  • support module resolution in composes (#845) (453248f)
  • same urls() resolving logic for modules (local and global) and without modules (#843) (fdcf687)

Features

  • allow to disable css modules and disable their by default (#842) (889dc7f)
  • disable import option doesn't affect on composes (#822) (f9aa73c)
  • allow to filter urls (#856) (5e702e7)
  • allow to filter import at-rules (#857) (5e6034c)
  • emit warning on invalid urls() (#832) (da95db8)
  • added exportOnlyLocals option (#824) (e9327c0)
  • reuse postcss ast from other loaders (i.e postcss-loader) (#840) (1dad1fb)
  • schema options (b97d997)

BREAKING CHANGES

  • resolving logic for uls() and import at-rules works the same everywhere, it does not matter whether css modules are enabled (with global and local module) or not. Examples - url('image.png') as require('./image.png'), url('./image.png') as require('./image.png'), url('~module/image.png') as require('module/image.png').
  • by default css modules are disabled (now modules: false disable all css modules features), you can return old behaviour change this on modules: 'global'
  • css-loader/locals was dropped in favor exportOnlyLocals option
  • import option only affect on import at-rules and doesn't affect on composes declarations
  • invalid [**import**](https://github.com/import) at rules now emit warnings
  • use postcss@7

Bonus

  • code refactoring, updating deps and reusing postcss ast increase performance
Changelog

Sourced from css-loader's changelog.

2.0.0 (2018-12-07)

Bug Fixes

  • broken unucode characters (#850) (f599c70)
  • correctly processing urls() with ?#hash (#803) (417d105)
  • don't break loader on invalid or not exists url or import token (#827) (9e52d26)
  • don't duplicate import with same media in different case (#819) (9f66e33)
  • emit warnings on broken import at-rules (#806) (4bdf08b)
  • handle uppercase URL in import at-rules (#818) (3ebdcd5)
  • inconsistent generate class names for css modules on difference os (#812) (0bdf9b7)
  • reduce number of require for urls() (#854) (3338656)
  • support deduplication of string module ids (optimization.namedModules) (#789) (e3bb83a)
  • support module resolution in composes (#845) (453248f)
  • same urls() resolving logic for modules (local and global) and without modules (#843) (fdcf687)

Features

  • allow to disable css modules and disable their by default (#842) (889dc7f)
  • disable import option doesn't affect on composes (#822) (f9aa73c)
  • allow to filter urls (#856) (5e702e7)
  • allow to filter import at-rules (#857) (5e6034c)
  • emit warning on invalid urls() (#832) (da95db8)
  • added exportOnlyLocals option (#824) (e9327c0)
  • reuse postcss ast from other loaders (i.e postcss-loader) (#840) (1dad1fb)
  • schema options (b97d997)

BREAKING CHANGES

  • resolving logic for uls() and import at-rules works the same everywhere, it does not matter whether css modules are enabled (with global and local module) or not. Examples - url('image.png') as require('./image.png'), url('./image.png') as require('./image.png'), url('~module/image.png') as require('module/image.png').
  • by default css modules are disabled (now modules: false disable all css modules features), you can return old behaviour change this on modules: 'global'
  • css-loader/locals was dropped in favor exportOnlyLocals option
  • import option only affect on import at-rules and doesn't affect on composes declarations
  • invalid [**import**](https://github.com/import) at rules now emit warnings
  • use postcss@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 will not automatically merge this PR because it includes a major update to a production dependency.


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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/156 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 12/10/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/css-loader-2.0.0` --- ### 📝 Commits (1) - [`9e87ce1`](https://github.com/nextcloud/twofactor_gateway/commit/9e87ce12d035526e788c9d1f866c7d9880ad798d) Bump css-loader from 1.0.1 to 2.0.0 ### 📊 Changes **2 files changed** (+244 additions, -134 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+243 -133) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 1.0.1 to 2.0.0. <details> <summary>Release notes</summary> *Sourced from [css-loader's releases](https://github.com/webpack-contrib/css-loader/releases).* > ## v2.0.0 > <a name="2.0.0"></a> > # [2.0.0](https://github.com/webpack-contrib/css-loader/compare/v1.0.1...v2.0.0) (2018-12-07) > > The main **BREAKING CHANGES**: > > - css modules **are disabled by default**, you need setup their use `modules` option. You can setup their using `local` (`true` is alias for this value) and `global` (previous behaviour) value. Why it is disabled by default? A lot of developers use `css` without css modules features and they get performance problems due `postcss` plugins spend time on analyze and processing file. > - resolving logic for `uls()` and `import` at-rules works the same everywhere, it does not matter whether css modules are enabled (with `global` and `local` module) or not. Examples - `url('image.png')` as `require('./image.png')`, `url('./image.png')` as `require('./image.png')`, `url('~module/image.png')` as `require('module/image.png')`. > > ### Bug Fixes > > * broken unucode characters ([#850](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/850)) ([f599c70](https://github.com/webpack-contrib/css-loader/commit/f599c70)) > * correctly processing `urls()` with `?#hash` ([#803](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/803)) ([417d105](https://github.com/webpack-contrib/css-loader/commit/417d105)) > * don't break loader on invalid or not exists url or import token ([#827](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/827)) ([9e52d26](https://github.com/webpack-contrib/css-loader/commit/9e52d26)) > * don't duplicate import with same media in different case ([#819](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/819)) ([9f66e33](https://github.com/webpack-contrib/css-loader/commit/9f66e33)) > * emit warnings on broken `import` at-rules ([#806](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/806)) ([4bdf08b](https://github.com/webpack-contrib/css-loader/commit/4bdf08b)) > * handle uppercase `URL` in `import` at-rules ([#818](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/818)) ([3ebdcd5](https://github.com/webpack-contrib/css-loader/commit/3ebdcd5)) > * inconsistent generate class names for css modules on difference os ([#812](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/812)) ([0bdf9b7](https://github.com/webpack-contrib/css-loader/commit/0bdf9b7)) > * reduce number of `require` for `urls()` ([#854](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/854)) ([3338656](https://github.com/webpack-contrib/css-loader/commit/3338656)) > * support deduplication of string module ids (optimization.namedModules) ([#789](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/789)) ([e3bb83a](https://github.com/webpack-contrib/css-loader/commit/e3bb83a)) > * support module resolution in `composes` ([#845](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/845)) ([453248f](https://github.com/webpack-contrib/css-loader/commit/453248f)) > * same `urls()` resolving logic for `modules` (`local` and `global`) and without modules ([#843](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/843)) ([fdcf687](https://github.com/webpack-contrib/css-loader/commit/fdcf687)) > > ### Features > > * allow to disable css modules and **disable their by default** ([#842](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/842)) ([889dc7f](https://github.com/webpack-contrib/css-loader/commit/889dc7f)) > * disable `import` option doesn't affect on `composes` ([#822](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/822)) ([f9aa73c](https://github.com/webpack-contrib/css-loader/commit/f9aa73c)) > * allow to filter `urls` ([#856](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/856)) ([5e702e7](https://github.com/webpack-contrib/css-loader/commit/5e702e7)) > * allow to filter `import` at-rules ([#857](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/857)) ([5e6034c](https://github.com/webpack-contrib/css-loader/commit/5e6034c)) > * emit warning on invalid `urls()` ([#832](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/832)) ([da95db8](https://github.com/webpack-contrib/css-loader/commit/da95db8)) > * added `exportOnlyLocals` option ([#824](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/824)) ([e9327c0](https://github.com/webpack-contrib/css-loader/commit/e9327c0)) > * reuse `postcss` ast from other loaders (i.e `postcss-loader`) ([#840](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/840)) ([1dad1fb](https://github.com/webpack-contrib/css-loader/commit/1dad1fb)) > * schema options ([b97d997](https://github.com/webpack-contrib/css-loader/commit/b97d997)) > > > ### BREAKING CHANGES > > * resolving logic for `uls()` and `import` at-rules works the same everywhere, it does not matter whether css modules are enabled (with `global` and `local` module) or not. Examples - `url('image.png')` as `require('./image.png')`, `url('./image.png')` as `require('./image.png')`, `url('~module/image.png')` as `require('module/image.png')`. > * by default css modules are disabled (now `modules: false` disable all css modules features), you can return old behaviour change this on `modules: 'global'` > * `css-loader/locals` was dropped in favor `exportOnlyLocals` option > * `import` option only affect on `import` at-rules and doesn't affect on `composes` declarations > * invalid `[**import**](https://github.com/import)` at rules now emit warnings > * use `postcss@7` > > ### Bonus > > * code refactoring, updating deps and reusing `postcss` ast increase performance </details> <details> <summary>Changelog</summary> *Sourced from [css-loader's changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md).* > # [2.0.0](https://github.com/webpack-contrib/css-loader/compare/v1.0.1...v2.0.0) (2018-12-07) > > > ### Bug Fixes > > * broken unucode characters ([#850](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/850)) ([f599c70](https://github.com/webpack-contrib/css-loader/commit/f599c70)) > * correctly processing `urls()` with `?#hash` ([#803](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/803)) ([417d105](https://github.com/webpack-contrib/css-loader/commit/417d105)) > * don't break loader on invalid or not exists url or import token ([#827](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/827)) ([9e52d26](https://github.com/webpack-contrib/css-loader/commit/9e52d26)) > * don't duplicate import with same media in different case ([#819](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/819)) ([9f66e33](https://github.com/webpack-contrib/css-loader/commit/9f66e33)) > * emit warnings on broken `import` at-rules ([#806](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/806)) ([4bdf08b](https://github.com/webpack-contrib/css-loader/commit/4bdf08b)) > * handle uppercase `URL` in `import` at-rules ([#818](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/818)) ([3ebdcd5](https://github.com/webpack-contrib/css-loader/commit/3ebdcd5)) > * inconsistent generate class names for css modules on difference os ([#812](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/812)) ([0bdf9b7](https://github.com/webpack-contrib/css-loader/commit/0bdf9b7)) > * reduce number of `require` for `urls()` ([#854](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/854)) ([3338656](https://github.com/webpack-contrib/css-loader/commit/3338656)) > * support deduplication of string module ids (optimization.namedModules) ([#789](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/789)) ([e3bb83a](https://github.com/webpack-contrib/css-loader/commit/e3bb83a)) > * support module resolution in `composes` ([#845](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/845)) ([453248f](https://github.com/webpack-contrib/css-loader/commit/453248f)) > * same `urls()` resolving logic for `modules` (`local` and `global`) and without modules ([#843](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/843)) ([fdcf687](https://github.com/webpack-contrib/css-loader/commit/fdcf687)) > > ### Features > > * allow to disable css modules and **disable their by default** ([#842](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/842)) ([889dc7f](https://github.com/webpack-contrib/css-loader/commit/889dc7f)) > * disable `import` option doesn't affect on `composes` ([#822](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/822)) ([f9aa73c](https://github.com/webpack-contrib/css-loader/commit/f9aa73c)) > * allow to filter `urls` ([#856](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/856)) ([5e702e7](https://github.com/webpack-contrib/css-loader/commit/5e702e7)) > * allow to filter `import` at-rules ([#857](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/857)) ([5e6034c](https://github.com/webpack-contrib/css-loader/commit/5e6034c)) > * emit warning on invalid `urls()` ([#832](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/832)) ([da95db8](https://github.com/webpack-contrib/css-loader/commit/da95db8)) > * added `exportOnlyLocals` option ([#824](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/824)) ([e9327c0](https://github.com/webpack-contrib/css-loader/commit/e9327c0)) > * reuse `postcss` ast from other loaders (i.e `postcss-loader`) ([#840](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/840)) ([1dad1fb](https://github.com/webpack-contrib/css-loader/commit/1dad1fb)) > * schema options ([b97d997](https://github.com/webpack-contrib/css-loader/commit/b97d997)) > > > ### BREAKING CHANGES > > * resolving logic for `uls()` and `import` at-rules works the same everywhere, it does not matter whether css modules are enabled (with `global` and `local` module) or not. Examples - `url('image.png')` as `require('./image.png')`, `url('./image.png')` as `require('./image.png')`, `url('~module/image.png')` as `require('module/image.png')`. > * by default css modules are disabled (now `modules: false` disable all css modules features), you can return old behaviour change this on `modules: 'global'` > * `css-loader/locals` was dropped in favor `exportOnlyLocals` option > * `import` option only affect on `import` at-rules and doesn't affect on `composes` declarations > * invalid `[**import**](https://github.com/import)` at rules now emit warnings > * use `postcss@7` > > > > <a name="1.0.1"></a> </details> <details> <summary>Commits</summary> - [`e974d06`](https://github.com/webpack-contrib/css-loader/commit/e974d06244cd4f0e611b319bed25d187db63b3f2) chore(release): 2.0.0 - [`6ade2d0`](https://github.com/webpack-contrib/css-loader/commit/6ade2d0e7c04031c79841f1f741d986430a5aed7) refactor: remove unused file ([#860](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/860)) - [`e7525c9`](https://github.com/webpack-contrib/css-loader/commit/e7525c90718018b75321f1e04909d6937b6ad140) test: nested url ([#859](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/859)) - [`7259faa`](https://github.com/webpack-contrib/css-loader/commit/7259faa89dc70830d69b7eb7baf4163065b63679) test: css hacks ([#858](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/858)) - [`5e6034c`](https://github.com/webpack-contrib/css-loader/commit/5e6034cee840d47dbfd9fdede87a152e4cfc466a) feat: allow to filter import at-rules ([#857](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/857)) - [`5e702e7`](https://github.com/webpack-contrib/css-loader/commit/5e702e7d2e081b7f6d372f0c967fdfca6a40a584) feat: allow filtering urls ([#856](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/856)) - [`9642aa5`](https://github.com/webpack-contrib/css-loader/commit/9642aa5ad70282f5a7bef8e95ceefdc834af1af1) test: css stuff ([#855](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/855)) - [`3338656`](https://github.com/webpack-contrib/css-loader/commit/333865645e21c15e8589724317111d9d6badbeba) fix: reduce number of require for url ([#854](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/854)) - [`533abbe`](https://github.com/webpack-contrib/css-loader/commit/533abbe8cf2b937751f3d4501816611a230083d2) test: issue 636 ([#853](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/853)) - [`08c551c`](https://github.com/webpack-contrib/css-loader/commit/08c551cc78bb484a4f947047cbc46b305e733d7e) refactor: better warning on invalid url resolution ([#852](https://github-redirect.dependabot.com/webpack-contrib/css-loader/issues/852)) - Additional commits viewable in [compare view](https://github.com/webpack-contrib/css-loader/compare/v1.0.1...v2.0.0) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=css-loader&package-manager=npm_and_yarn&previous-version=1.0.1&new-version=2.0.0)](https://dependabot.com/compatibility-score.html?dependency-name=css-loader&package-manager=npm_and_yarn&previous-version=1.0.1&new-version=2.0.0) 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-automerge-start) Dependabot will **not** automatically merge this PR because it includes a major update to a production dependency. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 05:34:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#250
No description provided.