@patternslib/pat-redactor
Advanced tools
Comparing version 5.0.1 to 5.1.0
@@ -0,1 +1,12 @@ | ||
## [5.1.0](https://github.com/patternslib/pat-redactor/compare/5.0.1...5.1.0) (2021-06-15) | ||
### Maintenance | ||
* Test updates after jest upgrade. ([ad06883](https://github.com/patternslib/pat-redactor/commit/ad06883b8e7f379170b351fe40ee56cc6c2641b9)) | ||
* **dependencies:** Depend on Patternslib v4.4.0. ([76428f3](https://github.com/patternslib/pat-redactor/commit/76428f33188f5748bcc7125b47bd53ba2f015bca)) | ||
* **dependencies:** Upgrade dependencies on minor+patch level. ([011b8d1](https://github.com/patternslib/pat-redactor/commit/011b8d1130e04c129e6124116d36bca9f8f2bfde)) | ||
* **webpack:** Adapt start script to recent dependency changes. ([f716a4b](https://github.com/patternslib/pat-redactor/commit/f716a4b1e96bd01c7895ba43d7761cd4b1c714c4)) | ||
* **webpack:** Simplify webpack. ([5bbcb79](https://github.com/patternslib/pat-redactor/commit/5bbcb794c5873a3504237c1d60c8aeefa150f2c0)) | ||
### [5.0.1](https://github.com/patternslib/pat-redactor/compare/5.0.0...5.0.1) (2021-04-23) | ||
@@ -2,0 +13,0 @@ |
@@ -12,3 +12,4 @@ module.exports = { | ||
}, | ||
testEnvironment: "jsdom", | ||
transformIgnorePatterns: ["/node_modules/(?!.*patternslib/*).+\\.[t|j]sx?$"], | ||
}; |
{ | ||
"name": "@patternslib/pat-redactor", | ||
"version": "5.0.1", | ||
"version": "5.1.0", | ||
"description": "A pattern for redactor", | ||
@@ -8,40 +8,40 @@ "license": "MIT", | ||
"dependencies": { | ||
"@patternslib/patternslib": "4" | ||
"@patternslib/patternslib": "^4.4.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.13.15", | ||
"@babel/eslint-parser": "^7.13.14", | ||
"@babel/plugin-proposal-optional-chaining": "^7.11.0", | ||
"@babel/preset-env": "^7.9.6", | ||
"@commitlint/cli": "^12.1.1", | ||
"@commitlint/config-conventional": "^12.1.1", | ||
"@release-it/conventional-changelog": "^2.0.1", | ||
"@testing-library/jest-dom": "^5.11.10", | ||
"babel-loader": "^8.1.0", | ||
"@babel/core": "^7.14.6", | ||
"@babel/eslint-parser": "^7.14.5", | ||
"@babel/plugin-proposal-optional-chaining": "^7.14.5", | ||
"@babel/preset-env": "^7.14.5", | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@release-it/conventional-changelog": "^3.0.1", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"babel-loader": "^8.2.2", | ||
"clean-webpack-plugin": "^3.0.0", | ||
"copy-webpack-plugin": "^6.2.0", | ||
"core-js": "3", | ||
"css-loader": "^3.5.3", | ||
"copy-webpack-plugin": "^6.4.1", | ||
"core-js": "3.14.0", | ||
"css-loader": "^5.2.6", | ||
"duplicate-package-checker-webpack-plugin": "^3.0.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"expose-loader": "^0.7.5", | ||
"eslint": "^7.28.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"expose-loader": "^1.0.3", | ||
"file-loader": "^6.2.0", | ||
"husky": "^6.0.0", | ||
"identity-obj-proxy": "^3.0.0", | ||
"imports-loader": "^0.8.0", | ||
"jest": "^26.6.3", | ||
"jest-watch-typeahead": "^0.6.2", | ||
"prettier": "^2.1.2", | ||
"imports-loader": "^1.2.0", | ||
"jest": "^27.0.4", | ||
"jest-watch-typeahead": "^0.6.4", | ||
"prettier": "^2.3.1", | ||
"raw-loader": "^4.0.1", | ||
"regenerator-runtime": "^0.13.5", | ||
"release-it": "^14.6.1", | ||
"sass": "^1.32.8", | ||
"release-it": "^14.9.0", | ||
"sass": "^1.34.1", | ||
"sass-loader": "^10.1.1", | ||
"style-loader": "^1.2.1", | ||
"style-loader": "^2.0.0", | ||
"svg-inline-loader": "^0.8.2", | ||
"terser-webpack-plugin": "^2.3.6", | ||
"terser-webpack-plugin": "^4.2.3", | ||
"webpack": "^4.43.0", | ||
"webpack-bundle-analyzer": "^3.9.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-cli": "^4.7.0", | ||
"webpack-dev-server": "^3.11.2", | ||
@@ -53,3 +53,3 @@ "webpack-modernizr-loader": "^5.0.0", | ||
"scripts": { | ||
"start": "webpack-dev-server --config webpack.config.js --mode=development", | ||
"start": "webpack serve --config webpack.config.js --mode=development", | ||
"watch": "webpack --config webpack.config.js --watch --mode=development", | ||
@@ -56,0 +56,0 @@ "build": "webpack --config webpack.config.js --mode=production", |
@@ -10,3 +10,3 @@ import "regenerator-runtime/runtime"; // needed for ``await`` support | ||
it("is initialized correctly", async (done) => { | ||
it("is initialized correctly", async () => { | ||
document.body.innerHTML = ` | ||
@@ -20,5 +20,3 @@ <textarea class="pat-redactor"></textarea> | ||
expect(document.querySelectorAll(".redactor-toolbar").length).toBe(1); | ||
done(); | ||
}); | ||
}); |
@@ -10,4 +10,1 @@ // jest-dom adds custom jest matchers for asserting on DOM nodes. | ||
import "regenerator-runtime/runtime"; | ||
import jquery from "jquery"; | ||
window.$ = window.jquery = jquery; |
@@ -13,13 +13,5 @@ process.traceDeprecation = true; | ||
// Correct moment alias | ||
config.resolve.alias.moment = path.resolve(__dirname, "node_modules/moment"); // prettier-ignore | ||
config.resolve.alias.redactor = path.resolve(__dirname, "../redactor"); | ||
if (argv.mode === "production") { | ||
// Also create minified bundles along with the non-minified ones. | ||
config.entry["bundle.min"] = path.resolve(__dirname, "bundle-config.js"); // prettier-ignore | ||
config.output.chunkFilename = "chunks/[name].[contenthash].min.js"; | ||
} | ||
return config; | ||
}; |
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
23654
354