weboptimizer 2.0.1134 → 2.0.1137

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.
Files changed (2) hide show
  1. package/package.json +10 -2
  2. package/type.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1134",
3
+ "version": "2.0.1137",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1764,6 +1764,13 @@
1764
1764
  ],
1765
1765
  "rules": {
1766
1766
  "@typescript-eslint/no-non-null-assertion": 0,
1767
+ "@typescript-eslint/no-unused-vars": [
1768
+ "error",
1769
+ {
1770
+ "argsIgnorePattern": "^_",
1771
+ "varsIgnorePattern": "^_"
1772
+ }
1773
+ ],
1767
1774
  "@typescript-eslint/type-annotation-spacing": [
1768
1775
  "error",
1769
1776
  {
@@ -1811,7 +1818,8 @@
1811
1818
  "no-unused-vars": [
1812
1819
  "error",
1813
1820
  {
1814
- "argsIgnorePattern": "^_"
1821
+ "argsIgnorePattern": "^_",
1822
+ "varsIgnorePattern": "^_"
1815
1823
  }
1816
1824
  ],
1817
1825
  "new-cap": 0,
package/type.d.ts CHANGED
@@ -36,7 +36,7 @@ export interface PackageDescriptor {
36
36
  }
37
37
  export declare type Replacements = Mapping<SecondParameter<string['replace']>>;
38
38
  export declare type Resolvable = {
39
- [K in '__evaluate__' | '__execute__' | string]: Resolvable | string | unknown;
39
+ [_K in '__evaluate__' | '__execute__' | string]: Resolvable | string | unknown;
40
40
  };
41
41
  export interface RedundantRequest {
42
42
  path: string;