Skip to content
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/html-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.1
Choose a base ref
...
head repository: webpack-contrib/html-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.2
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 9, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    LastDragon-ru Aleksei Lebedev
    Copy the full SHA
    4b37c82 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    LastDragon-ru Aleksei Lebedev
    Copy the full SHA
    eb17fcd View commit details
Showing with 617 additions and 619 deletions.
  1. +6 −0 CHANGELOG.md
  2. +598 −606 package-lock.json
  3. +11 −11 package.json
  4. +2 −2 src/index.js
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.3.2](https://github.com/webpack-contrib/html-loader/compare/v1.3.1...v1.3.2) (2020-10-09)

### Chore

* update `schema-utils`

### [1.3.1](https://github.com/webpack-contrib/html-loader/compare/v1.3.0...v1.3.1) (2020-09-21)


1,204 changes: 598 additions & 606 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-loader",
"version": "1.3.1",
"version": "1.3.2",
"description": "Html loader module for webpack",
"license": "MIT",
"repository": "webpack-contrib/html-loader",
@@ -46,7 +46,7 @@
"html-minifier-terser": "^5.1.1",
"htmlparser2": "^4.1.0",
"loader-utils": "^2.0.0",
"schema-utils": "^2.7.1"
"schema-utils": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
@@ -56,26 +56,26 @@
"@commitlint/config-conventional": "^11.0.0",
"@webpack-contrib/defaults": "^6.3.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^26.3.0",
"babel-jest": "^26.5.2",
"cross-env": "^7.0.2",
"del": "^5.1.0",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"es-check": "^5.1.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"file-loader": "^6.1.0",
"es-check": "^5.1.1",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"file-loader": "^6.1.1",
"handlebars": "^4.7.6",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest": "^26.5.2",
"lint-staged": "^10.4.0",
"memfs": "^3.2.0",
"npm-run-all": "^4.1.5",
"posthtml": "^0.13.3",
"posthtml-webp": "^2.1.0",
"prettier": "^2.1.2",
"standard-version": "^9.0.0",
"url-loader": "^4.1.0",
"url-loader": "^4.1.1",
"webpack": "^4.44.2"
},
"keywords": [
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getOptions, stringifyRequest } from 'loader-utils';
import validateOptions from 'schema-utils';
import { validate } from 'schema-utils';

import { sourcePlugin, minimizerPlugin } from './plugins';
import {
@@ -15,7 +15,7 @@ import schema from './options.json';
export default async function loader(content) {
const rawOptions = getOptions(this);

validateOptions(schema, rawOptions, {
validate(schema, rawOptions, {
name: 'HTML Loader',
baseDataPath: 'options',
});