raw-loader
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -5,2 +5,11 @@ # Changelog | ||
## [3.1.0](https://github.com/webpack-contrib/raw-loader/compare/v3.0.0...v3.1.0) (2019-07-18) | ||
### Features | ||
* improved validation error messages ([#85](https://github.com/webpack-contrib/raw-loader/issues/85)) ([6cf76b8](https://github.com/webpack-contrib/raw-loader/commit/6cf76b8)) | ||
## [3.0.0](https://github.com/webpack-contrib/raw-loader/compare/v2.0.0...v3.0.0) (2019-06-05) | ||
@@ -7,0 +16,0 @@ |
@@ -18,5 +18,8 @@ "use strict"; | ||
const options = (0, _loaderUtils.getOptions)(this) || {}; | ||
(0, _schemaUtils.default)(_options.default, options, 'Raw Loader'); | ||
(0, _schemaUtils.default)(_options.default, options, { | ||
name: 'Raw Loader', | ||
baseDataPath: 'options' | ||
}); | ||
const json = JSON.stringify(source).replace(/\u2028/g, '\\u2028').replace(/\u2029/g, '\\u2029'); | ||
return `export default ${json}`; | ||
} |
{ | ||
"name": "raw-loader", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "A loader for webpack that allows importing files as a String", | ||
@@ -41,30 +41,30 @@ "license": "MIT", | ||
"loader-utils": "^1.1.0", | ||
"schema-utils": "^1.0.0" | ||
"schema-utils": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.5", | ||
"@babel/core": "^7.1.6", | ||
"@babel/preset-env": "^7.1.6", | ||
"@commitlint/cli": "^8.0.0", | ||
"@commitlint/config-conventional": "^8.0.0", | ||
"@webpack-contrib/defaults": "^5.0.0", | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@commitlint/cli": "^8.1.0", | ||
"@commitlint/config-conventional": "^8.1.0", | ||
"@webpack-contrib/defaults": "^5.0.2", | ||
"@webpack-contrib/eslint-config-webpack": "^3.0.0", | ||
"babel-jest": "^24.5.0", | ||
"babel-jest": "^24.8.0", | ||
"commitlint-azure-pipelines-cli": "^1.0.2", | ||
"cross-env": "^5.2.0", | ||
"del": "^4.0.0", | ||
"del": "^5.0.0", | ||
"del-cli": "^2.0.0", | ||
"eslint": "^5.10.0", | ||
"eslint-config-prettier": "^4.3.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"husky": "^2.3.0", | ||
"jest": "^24.5.0", | ||
"eslint": "^6.0.1", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"husky": "^3.0.0", | ||
"jest": "^24.8.0", | ||
"jest-junit": "^6.4.0", | ||
"lint-staged": "^8.1.0", | ||
"lint-staged": "^9.2.0", | ||
"memory-fs": "^0.4.1", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.11.1", | ||
"prettier": "^1.18.2", | ||
"standard-version": "^6.0.1", | ||
"webpack": "^4.3.0" | ||
"webpack": "^4.36.1" | ||
}, | ||
@@ -71,0 +71,0 @@ "keywords": [ |
@@ -92,4 +92,4 @@ <div align="center"> | ||
[deps-url]: https://david-dm.org/webpack-contrib/raw-loader | ||
[tests]: https://img.shields.io/circleci/project/github/webpack-contrib/raw-loader.svg | ||
[tests-url]: https://circleci.com/gh/webpack-contrib/raw-loader | ||
[tests]: https://dev.azure.com/webpack-contrib/raw-loader/_apis/build/status/webpack-contrib.raw-loader?branchName=master | ||
[tests-url]: https://dev.azure.com/webpack-contrib/raw-loader/_build/latest?definitionId=10&branchName=master | ||
[cover]: https://codecov.io/gh/webpack-contrib/raw-loader/branch/master/graph/badge.svg | ||
@@ -96,0 +96,0 @@ [cover-url]: https://codecov.io/gh/webpack-contrib/raw-loader |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8703
24
+ Added@types/json-schema@7.0.15(transitive)
+ Addedschema-utils@2.7.1(transitive)
Updatedschema-utils@^2.0.1