@typescript-eslint/experimental-utils 4.1.1-alpha.9 → 4.1.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.1.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.0...v4.1.1) (2020-09-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **eslint-plugin:** [no-use-before-define] false positive for function type arguments ([#2554](https://github.com/typescript-eslint/typescript-eslint/issues/2554)) ([189162d](https://github.com/typescript-eslint/typescript-eslint/commit/189162d46ecb116c420232937a7f86df913f4e79)), closes [#2527](https://github.com/typescript-eslint/typescript-eslint/issues/2527)
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.1.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.0.1...v4.1.0) (2020-09-07)
7
18
 
8
19
  **Note:** Version bump only for package @typescript-eslint/experimental-utils
@@ -36,8 +36,10 @@ declare namespace Scope {
36
36
  export type Reference = scopeManager.Reference;
37
37
  export type Variable = scopeManager.Variable | ESLintScopeVariable;
38
38
  export type Scope = scopeManager.Scope;
39
+ export const ScopeType: typeof scopeManager.ScopeType;
39
40
  export type DefinitionType = scopeManager.Definition;
40
41
  export type Definition = scopeManager.Definition;
42
+ export const DefinitionType: typeof scopeManager.DefinitionType;
41
43
  export {};
42
44
  }
43
45
  export { Scope };
@@ -36,8 +36,10 @@ declare namespace Scope {
36
36
  export type Reference = scopeManager.Reference;
37
37
  export type Variable = scopeManager.Variable | ESLintScopeVariable;
38
38
  export type Scope = scopeManager.Scope;
39
+ export const ScopeType: typeof scopeManager.ScopeType;
39
40
  export type DefinitionType = scopeManager.Definition;
40
41
  export type Definition = scopeManager.Definition;
42
+ export const DefinitionType: typeof scopeManager.DefinitionType;
41
43
  export {};
42
44
  }
43
45
  export { Scope };
@@ -1 +1 @@
1
- {"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,kBAAU,KAAK,CAAC;IAGd,MAAc,mBAAmB;QAC/B,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAC;QACnC,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAC;QACnD,SAAgB,IAAI,EAAE,MAAM,CAAC;QAC7B,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAC;QACxC,SAAgB,KAAK,EAAE,KAAK,CAAC;QAE7B;;;;;WAKG;QACI,SAAS,CAAC,EAAE,OAAO,CAAC;QAE3B;;;;WAIG;QACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAEtC;;;WAGG;QACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;QAE7D;;;;WAIG;QACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;KAC1D;IAED,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;IACrD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,GAAG,mBAAmB,CAAC;IACnE,MAAM,MAAM,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;IAEvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,UAAU,CAAC;IACrD,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;;CAClD;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,kBAAU,KAAK,CAAC;IAGd,MAAc,mBAAmB;QAC/B,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAC;QACnC,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAC;QACnD,SAAgB,IAAI,EAAE,MAAM,CAAC;QAC7B,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAC;QACxC,SAAgB,KAAK,EAAE,KAAK,CAAC;QAE7B;;;;;WAKG;QACI,SAAS,CAAC,EAAE,OAAO,CAAC;QAE3B;;;;WAIG;QACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAEtC;;;WAGG;QACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;QAE7D;;;;WAIG;QACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;KAC1D;IAED,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;IACrD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,GAAG,mBAAmB,CAAC;IACnE,MAAM,MAAM,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;IACvC,MAAM,CAAC,MAAM,SAAS,+BAAyB,CAAC;IAEhD,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,UAAU,CAAC;IACrD,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;IACjD,MAAM,CAAC,MAAM,cAAc,oCAA8B,CAAC;;CAC3D;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,9 +1,31 @@
1
1
  "use strict";
2
2
  /* eslint-disable @typescript-eslint/no-namespace */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
6
+ }) : (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ o[k2] = m[k];
9
+ }));
10
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
11
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
12
+ }) : function(o, v) {
13
+ o["default"] = v;
14
+ });
15
+ var __importStar = (this && this.__importStar) || function (mod) {
16
+ if (mod && mod.__esModule) return mod;
17
+ var result = {};
18
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
19
+ __setModuleDefault(result, mod);
20
+ return result;
21
+ };
3
22
  Object.defineProperty(exports, "__esModule", { value: true });
4
23
  exports.Scope = void 0;
24
+ const scopeManager = __importStar(require("@typescript-eslint/scope-manager"));
5
25
  var Scope;
6
26
  (function (Scope) {
27
+ Scope.ScopeType = scopeManager.ScopeType;
28
+ Scope.DefinitionType = scopeManager.DefinitionType;
7
29
  })(Scope || (Scope = {}));
8
30
  exports.Scope = Scope;
9
31
  //# sourceMappingURL=Scope.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;AAKpD,IAAU,KAAK,CA8Cd;AA9CD,WAAU,KAAK;AA8Cf,CAAC,EA9CS,KAAK,KAAL,KAAK,QA8Cd;AAEQ,sBAAK"}
1
+ {"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAGjE,IAAU,KAAK,CAgDd;AAhDD,WAAU,KAAK;IA2CA,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAC5D,CAAC,EAhDS,KAAK,KAAL,KAAK,QAgDd;AAEQ,sBAAK"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/experimental-utils",
3
- "version": "4.1.1-alpha.9+02d72d48",
3
+ "version": "4.1.1",
4
4
  "description": "(Experimental) Utilities for working with TypeScript + ESLint together",
5
5
  "keywords": [
6
6
  "eslint",
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@types/json-schema": "^7.0.3",
43
- "@typescript-eslint/scope-manager": "4.1.1-alpha.9+02d72d48",
44
- "@typescript-eslint/types": "4.1.1-alpha.9+02d72d48",
45
- "@typescript-eslint/typescript-estree": "4.1.1-alpha.9+02d72d48",
43
+ "@typescript-eslint/scope-manager": "4.1.1",
44
+ "@typescript-eslint/types": "4.1.1",
45
+ "@typescript-eslint/typescript-estree": "4.1.1",
46
46
  "eslint-scope": "^5.0.0",
47
47
  "eslint-utils": "^2.0.0"
48
48
  },
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  }
65
65
  },
66
- "gitHead": "02d72d480be7a8f7ddc66a028338cfb996886f3c"
66
+ "gitHead": "f785965a12e20e82de1c7f3d039023c225115eb1"
67
67
  }