Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/url-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.2
Choose a base ref
...
head repository: webpack-contrib/url-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.1
Choose a head ref

Commits on Oct 25, 2018

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b603665 View commit details

Commits on Dec 20, 2018

  1. Copy the full SHA
    16bc97c View commit details
  2. Copy the full SHA
    c2d7b73 View commit details

Commits on Apr 4, 2019

  1. test: test svg scenario. #176 (#177)

    Jeff-Tian authored and evilebottnawi committed Apr 4, 2019
    Copy the full SHA
    a6705cc View commit details

Commits on Jun 5, 2019

  1. fix: fallback loader will be used than limit is equal or greater (#179)

    BREAKING CHANGE: fix: fallback loader will be used than limit is equal or greater
    evilebottnawi authored Jun 5, 2019
    Copy the full SHA
    3c24545 View commit details
  2. fix: limit should always be a number and 0 value handles as number (#…

    …180)
    
    BREAKING CHANGE: `limit` should always be a number and 0 value handles as number
    evilebottnawi authored Jun 5, 2019
    Copy the full SHA
    d82e453 View commit details
  3. Copy the full SHA
    60d2cb3 View commit details
  4. chore(deps): update (#182)

    BREAKING CHANGE: minimum required nodejs version is `8.9.0`
    evilebottnawi authored Jun 5, 2019
    Copy the full SHA
    4386b3e View commit details
  5. Copy the full SHA
    78833ac View commit details

Commits on Jun 25, 2019

  1. Copy the full SHA
    c0341da View commit details
  2. Copy the full SHA
    4842f93 View commit details
  3. chore(release): 2.0.1

    alexander-akait committed Jun 25, 2019
    Copy the full SHA
    37c6acc View commit details

Commits on Jul 18, 2019

  1. Copy the full SHA
    f3d4dd2 View commit details
  2. chore(release): 2.1.0

    alexander-akait committed Jul 18, 2019
    Copy the full SHA
    1b9dbd1 View commit details

Commits on Oct 3, 2019

  1. Copy the full SHA
    2bffcfd View commit details
  2. Copy the full SHA
    a251a23 View commit details

Commits on Oct 4, 2019

  1. Copy the full SHA
    9431124 View commit details
  2. Copy the full SHA
    196110e View commit details
  3. Copy the full SHA
    cbd1950 View commit details

Commits on Nov 21, 2019

  1. Copy the full SHA
    0ee2b99 View commit details
  2. chore(release): 2.3.0

    alexander-akait committed Nov 21, 2019
    Copy the full SHA
    2451157 View commit details

Commits on Nov 26, 2019

  1. refactor: next (#198)

    evilebottnawi authored Nov 26, 2019
    Copy the full SHA
    3f0bbc5 View commit details
  2. chore(release): 3.0.0

    alexander-akait committed Nov 26, 2019
    Copy the full SHA
    4301f87 View commit details

Commits on Jan 6, 2020

  1. Copy the full SHA
    a2f127d View commit details

Commits on Mar 17, 2020

  1. Copy the full SHA
    f13757a View commit details
  2. chore(deps): migrate on mime-types package (#209)

    BREAKING CHANGE: migrate on `mime-types` package, some rare types may have other mimetype
    evilebottnawi authored Mar 17, 2020
    Copy the full SHA
    fc8721f View commit details
  3. chore(release): 4.0.0

    alexander-akait committed Mar 17, 2020
    Copy the full SHA
    8828d64 View commit details

Commits on Apr 8, 2020

  1. Copy the full SHA
    36f1354 View commit details
  2. Copy the full SHA
    488b6ec View commit details
  3. Copy the full SHA
    06d270a View commit details

Commits on Apr 24, 2020

  1. Copy the full SHA
    35eeed1 View commit details
  2. Copy the full SHA
    1811901 View commit details

Commits on Oct 9, 2020

  1. Copy the full SHA
    20c744b View commit details
  2. Copy the full SHA
    acf4eb1 View commit details
Showing with 13,393 additions and 9,768 deletions.
  1. +0 −35 .babelrc
  2. +0 −156 .circleci/config.yml
  3. +1 −2 .editorconfig
  4. +3 −1 .eslintignore
  5. +1 −8 .eslintrc.js
  6. +1 −0 .gitattributes
  7. +78 −42 .github/CONTRIBUTING.md
  8. +1 −0 .github/FUNDING.yml
  9. +13 −4 .github/ISSUE_TEMPLATE.md
  10. +50 −0 .github/ISSUE_TEMPLATE/BUG.md
  11. +28 −0 .github/ISSUE_TEMPLATE/DOCS.md
  12. +25 −0 .github/ISSUE_TEMPLATE/FEATURE.md
  13. +27 −0 .github/ISSUE_TEMPLATE/MODIFICATION.md
  14. +8 −0 .github/ISSUE_TEMPLATE/SUPPORT.md
  15. +1 −1 .github/PULL_REQUEST_TEMPLATE.md
  16. +95 −0 .github/workflows/nodejs.yml
  17. +2 −1 .gitignore
  18. +5 −0 .prettierignore
  19. +0 −5 .prettierrc
  20. +1 −0 .prettierrc.js
  21. +96 −1 CHANGELOG.md
  22. +340 −66 README.md
  23. +19 −0 babel.config.js
  24. +0 −10 codecov.yml
  25. +1 −30 commitlint.config.js
  26. +6 −0 husky.config.js
  27. +4 −0 lint-staged.config.js
  28. +10,096 −9,050 package-lock.json
  29. +53 −66 package.json
  30. +101 −28 src/index.js
  31. +42 −4 src/options.json
  32. +0 −25 test/Errors.test.js
  33. +0 −11 test/__snapshots__/Errors.test.js.snap
  34. +378 −0 test/__snapshots__/encoding-option.test.js.snap
  35. +19 −0 test/__snapshots__/esModule-options.test.js.snap
  36. +116 −4 test/__snapshots__/fallback-option.test.js.snap
  37. +79 −0 test/__snapshots__/generator-option.test.js.snap
  38. +208 −4 test/__snapshots__/limit-option.test.js.snap
  39. +60 −1 test/__snapshots__/loader.test.js.snap
  40. +109 −2 test/__snapshots__/mimetype-option.test.js.snap
  41. +42 −0 test/__snapshots__/validate-options.test.js.snap
  42. +8 −4 test/cjs.test.js
  43. +197 −0 test/encoding-option.test.js
  44. +53 −0 test/esModule-options.test.js
  45. +137 −89 test/fallback-option.test.js
  46. +3 −0 test/fixtures/concated.js
  47. +1 −0 test/fixtures/file.html
  48. +1 −0 test/fixtures/file.unknown
  49. +4 −0 test/fixtures/simple-html.js
  50. +4 −0 test/fixtures/simple-svg.js
  51. +4 −0 test/fixtures/simple-unknown.js
  52. +2 −1 test/fixtures/{fixture.js → simple.js}
  53. +3 −0 test/fixtures/string-raw-loader/index.js
  54. +1 −1 test/fixtures/x-custom-loader/index.js
  55. +125 −0 test/generator-option.test.js
  56. +11 −0 test/helpers/compile.js
  57. +20 −0 test/helpers/execute.js
  58. +47 −0 test/helpers/getCompiler.js
  59. +7 −0 test/helpers/index.js
  60. +19 −0 test/helpers/normalizeErrors.js
  61. +15 −0 test/helpers/readAsset.js
  62. +277 −66 test/limit-option.test.js
  63. +117 −16 test/loader.test.js
  64. +149 −34 test/mimetype-option.test.js
  65. +79 −0 test/validate-options.test.js
35 changes: 0 additions & 35 deletions .babelrc

This file was deleted.

156 changes: 0 additions & 156 deletions .circleci/config.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -9,5 +9,4 @@ insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/node_modules
/coverage
/dist
/node_modules
/test/fixtures
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
module.exports = {
root: true,
plugins: ['prettier'],
extends: ['@webpack-contrib/eslint-config-webpack'],
rules: {
'prettier/prettier': [
'error',
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' },
],
},
extends: ['@webpack-contrib/eslint-config-webpack', 'prettier'],
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock.json -diff
* text=auto
bin/* eol=lf
yarn.lock -diff
Loading