@js-toolkit/configs 3.93.13 → 3.93.14

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.
@@ -1 +1 @@
1
- export declare function getInstalledPlugin(name: string, options?: AnyObject | undefined): string | [string, AnyObject] | undefined;
1
+ export declare function getInstalledPlugin(name: string, options?: AnyObject): string | [string, AnyObject] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-toolkit/configs",
3
- "version": "3.93.13",
3
+ "version": "3.93.14",
4
4
  "description": "Preconfigured configurations",
5
5
  "author": "VZH",
6
6
  "license": "MIT",
@@ -20,16 +20,16 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@babel/eslint-parser": "^7.25.9",
23
- "@eslint/compat": "^1.2.3",
23
+ "@eslint/compat": "^1.2.4",
24
24
  "@eslint/eslintrc": "^3.2.0",
25
- "@eslint/js": "^9.15.0",
25
+ "@eslint/js": "^9.17.0",
26
26
  "@types/eslint": "^9.6.1",
27
27
  "@types/eslint__eslintrc": "^2.1.2",
28
28
  "@types/eslint__js": "^8.42.3",
29
29
  "@types/webpack-node-externals": "^3.0.4",
30
30
  "copy-webpack-plugin": "^12.0.2",
31
31
  "copyfiles": "^2.4.1",
32
- "eslint": "^9.15.0",
32
+ "eslint": "^9.17.0",
33
33
  "eslint-config-airbnb-base": "^15.0.0",
34
34
  "eslint-config-prettier": "^9.1.0",
35
35
  "eslint-config-standard": "^17.1.0",
@@ -38,15 +38,15 @@
38
38
  "eslint-plugin-prettier": "^5.2.1",
39
39
  "eslint-plugin-promise": "^7.2.1",
40
40
  "eslint-plugin-react": "^7.37.2",
41
- "eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
42
- "globals": "^15.12.0",
41
+ "eslint-plugin-react-hooks": "5.1.0",
42
+ "globals": "^15.14.0",
43
43
  "html-webpack-plugin": "^5.6.3",
44
- "prettier": "^3.4.1",
44
+ "prettier": "^3.4.2",
45
45
  "rimraf": "^6.0.1",
46
46
  "typescript": "^5.7.2",
47
- "typescript-eslint": "^8.16.0",
48
- "webpack": "^5.96.1",
49
- "webpack-dev-server": "^5.1.0",
47
+ "typescript-eslint": "^8.18.1",
48
+ "webpack": "^5.97.1",
49
+ "webpack-dev-server": "^5.2.0",
50
50
  "webpack-node-externals": "^3.0.0"
51
51
  }
52
52
  }
@@ -1,5 +1,6 @@
1
1
  import webpack from 'webpack';
2
2
  import { TsLoaderType } from './loaders';
3
+ import type { OptionalToUndefined } from './types';
3
4
  export interface CommonConfigOptions extends OptionalToUndefined<webpack.Configuration> {
4
5
  outputPath: string;
5
6
  outputPublicPath: string;
@@ -1,6 +1,6 @@
1
- type RequiredStrict<T> = {
1
+ export type RequiredStrict<T> = {
2
2
  [P in keyof T]-?: Exclude<T[P], undefined>;
3
3
  };
4
- type OptionalToUndefined<T> = {
4
+ export type OptionalToUndefined<T> = {
5
5
  [K in keyof T]: undefined extends T[K] ? T[K] | undefined : T[K];
6
6
  };
package/webpack/types.js CHANGED
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});