weboptimizer 2.0.1452 → 2.0.1456

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1452",
3
+ "version": "2.0.1456",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -69,12 +69,11 @@
69
69
  "build:types": "tsc --declaration --emitDeclarationOnly",
70
70
  "check": "yarn check:types; yarn lint",
71
71
  "check:types": "tsc --noEmit",
72
- "clear": "rimraf --glob apiDocumentation 'plugins/*.d.ts' 'plugins/*.js' browser.d.ts configurator.d.ts ejsLoader.d.ts helper.d.ts index.d.ts jestSetup.d.ts jestEnvironmentBrowser.d.ts stylelintConfigurator.d.ts type.d.ts webpackConfigurator.d.ts '*.js' '*.compiled.*' '*.compiled' 'test/*.js' 'test/*.compiled.*' 'test/*.d.ts' 'test/**/.yarn' 'test/**/yarn.lock' 'test/**/node_modules' '*.html' '*.log' node_modules/weboptimizer .coverage .nyc_output || true",
72
+ "clear": "rimraf --glob apiDocumentation 'plugins/*.d.ts' 'plugins/*.js' browser.d.ts configurator.d.ts ejsLoader.d.ts helper.d.ts index.d.ts jestSetup.d.ts jestEnvironmentBrowser.d.ts stylelintConfigurator.d.ts type.d.ts webpackConfigurator.d.ts '*.js' '*.compiled.*' '*.compiled' 'test/*.js' 'test/*.compiled.*' 'test/*.d.ts' 'test/**/.yarn' 'test/**/yarn.lock' 'test/**/node_modules' '*.html' '*.log' node_modules/weboptimizer .coverage .nyc_output",
73
73
  "document": "yarn build:plain && jsdoc --package ./package.json --readme ./readme.md --destination apiDocumentation *.js",
74
74
  "lint": "yarn lint:base",
75
75
  "lint:base": "eslint --ignore-pattern '**/exclude/*' --ignore-pattern '*.compiled.*' --ignore-pattern '*.d.ts' --ignore-pattern '*.js' --parser-options=project:tsconfig.json '*.ts' 'test/*.ts'",
76
76
  "prepare": "yarn build",
77
- "postversion": "yarn publish --non-interactive; git push --tags && git push",
78
77
  "prettify": "yarn lint:base --fix || true",
79
78
  "test": "yarn build:test && jest --config ./jest.json --noStackTrace --root-dir './' --test-regex '/test/.+\\\\.js$' test/browser.js test/configurator.js test/helper.js test/ejsLoader.js test/stylelintConfigurator.js test/index.js test/webpackConfigurator.js",
80
79
  "test:coverage": "yarn test --ci --coverage --coverageReporters=text --coverageReporters=text-summary --silent --testLocationInResults",
@@ -97,7 +96,7 @@
97
96
  "babel-loader": "^9.1.3",
98
97
  "babel-plugin-transform-modern-regexp": "^0.0.6",
99
98
  "babel-preset-minify": "^0.5.2",
100
- "clientnode": "^3.0.1135",
99
+ "clientnode": "^3.0.1138",
101
100
  "ejs": "^3.1.9",
102
101
  "exports-loader": "^5.0.0",
103
102
  "extract-loader": "^5.1.0",
@@ -109,7 +108,7 @@
109
108
  "jest-environment-jsdom": "^29.7.0",
110
109
  "rimraf": "^5.0.5",
111
110
  "script-loader": "^0.7.2",
112
- "typescript": "^5.3.3",
111
+ "typescript": "^5.4.2",
113
112
  "webpack": "^5.90.3",
114
113
  "webpack-cli": "^5.1.4",
115
114
  "webpack-sources": "^3.2.3"
@@ -121,19 +120,19 @@
121
120
  "@types/html-minifier": "^4.0.5",
122
121
  "@types/html-minifier-terser": "^7.0.2",
123
122
  "@types/imagemin": "^8.0.5",
124
- "@types/node": "^20.11.24",
123
+ "@types/node": "^20.11.26",
125
124
  "@types/postcss-import": "^14.0.3",
126
125
  "@types/postcss-url": "^10.0.4",
127
126
  "@types/webpack-env": "^1.18.4",
128
127
  "@types/webpack-sources": "^3.2.3",
129
- "@typescript-eslint/eslint-plugin": "^7.1.0",
130
- "@typescript-eslint/parser": "^7.1.0",
128
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
129
+ "@typescript-eslint/parser": "^7.2.0",
131
130
  "css-loader": "^6.10.0",
132
- "cssnano": "^6.0.5",
133
- "documentation-website": "^1.0.325",
131
+ "cssnano": "^6.1.0",
132
+ "documentation-website": "^1.0.326",
134
133
  "eslint": "^8.57.0",
135
134
  "eslint-config-google": "^0.14.0",
136
- "eslint-plugin-jsdoc": "^48.2.0",
135
+ "eslint-plugin-jsdoc": "^48.2.1",
137
136
  "favicons": "^7.1.5",
138
137
  "favicons-webpack-plugin": "^6.0.1",
139
138
  "image-minimizer-webpack-plugin": "^4.0.0",
@@ -146,7 +145,7 @@
146
145
  "postcss-fontpath": "^1.0.0",
147
146
  "postcss-import": "^16.0.1",
148
147
  "postcss-loader": "^8.1.1",
149
- "postcss-preset-env": "^9.4.0",
148
+ "postcss-preset-env": "^9.5.0",
150
149
  "postcss-sprites": "^4.2.1",
151
150
  "postcss-url": "^10.1.3",
152
151
  "shx": "^0.3.4",
@@ -1,4 +1,4 @@
1
1
  import { WebpackConfiguration } from './type';
2
- export declare const optionalRequire: <T = unknown>(id: string) => T | null;
2
+ export declare const optionalRequire: <T = unknown>(id: string) => null | T;
3
3
  export declare let webpackConfiguration: WebpackConfiguration;
4
4
  export default webpackConfiguration;