@definitelytyped/utils 0.1.4 → 0.1.5

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
@@ -1,5 +1,11 @@
1
1
  # @definitelytyped/utils
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - b287cf9: Move TypeScript installer code to dtslint
8
+
3
9
  ## 0.1.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -8,4 +8,3 @@ export * from "./miscellany";
8
8
  export * from "./npm";
9
9
  export * from "./process";
10
10
  export * from "./progress";
11
- export * from "./typescript-installer";
package/dist/index.js CHANGED
@@ -24,5 +24,4 @@ __exportStar(require("./miscellany"), exports);
24
24
  __exportStar(require("./npm"), exports);
25
25
  __exportStar(require("./process"), exports);
26
26
  __exportStar(require("./progress"), exports);
27
- __exportStar(require("./typescript-installer"), exports);
28
27
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,gDAA8B;AAC9B,uCAAqB;AACrB,uCAAqB;AACrB,4CAA0B;AAC1B,+CAA6B;AAC7B,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B;AAC3B,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,gDAA8B;AAC9B,uCAAqB;AACrB,uCAAqB;AACrB,4CAA0B;AAC1B,+CAA6B;AAC7B,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@definitelytyped/utils",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Shared utilities for DefinitelyTyped tools",
5
5
  "homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/main/packages/utils#readme",
6
6
  "license": "MIT",
@@ -22,9 +22,7 @@
22
22
  "minimatch": "^9.0.3",
23
23
  "tar": "^6.2.0",
24
24
  "tar-stream": "^3.1.6",
25
- "which": "^4.0.0",
26
- "@definitelytyped/typescript-packages": "0.1.0",
27
- "@definitelytyped/typescript-versions": "0.1.0"
25
+ "which": "^4.0.0"
28
26
  },
29
27
  "devDependencies": {
30
28
  "@qiwi/npm-types": "^1.0.3",
@@ -1,3 +0,0 @@
1
- import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
2
- export type TsVersion = TypeScriptVersion | "local";
3
- export declare function typeScriptPath(version: TsVersion, tsLocal: string | undefined): string;
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.typeScriptPath = void 0;
27
- const typeScriptPackages = __importStar(require("@definitelytyped/typescript-packages"));
28
- function typeScriptPath(version, tsLocal) {
29
- if (version === "local") {
30
- return tsLocal + "/typescript.js";
31
- }
32
- return typeScriptPackages.resolve(version);
33
- }
34
- exports.typeScriptPath = typeScriptPath;
35
- //# sourceMappingURL=typescript-installer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript-installer.js","sourceRoot":"","sources":["../src/typescript-installer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yFAA2E;AAI3E,SAAgB,cAAc,CAAC,OAAkB,EAAE,OAA2B;IAC5E,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;QACxB,OAAO,OAAQ,GAAG,gBAAgB,CAAC;IACrC,CAAC;IACD,OAAO,kBAAkB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC7C,CAAC;AALD,wCAKC"}