node-version-utils 1.2.13 → 1.2.15

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.
@@ -0,0 +1,2 @@
1
+ export type * from './types';
2
+ export { default as spawnOptions } from './spawnOptions';
@@ -0,0 +1 @@
1
+ export default function startsWithFn(string: any): (key: any) => boolean;
@@ -0,0 +1,2 @@
1
+ import type { SpawnOptions } from './types';
2
+ export default function spawnOptions(installPath: string, options?: object): SpawnOptions;
@@ -0,0 +1,11 @@
1
+ import type cp from 'child_process';
2
+ export type SpawnOptions = cp.SpawnOptions;
3
+ export interface ProcessEnv extends NodeJS.ProcessEnv {
4
+ npm_config_binroot: string;
5
+ npm_config_root: string;
6
+ npm_config_man: string;
7
+ npm_config_prefix: string;
8
+ npm_node_execpath: string;
9
+ NODE: string;
10
+ NODE_EXE?: string;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-version-utils",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "Utilities for running commands on a specific version of node by installed path",
5
5
  "keywords": [
6
6
  "node",
@@ -21,13 +21,14 @@
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "exports": {
24
- "import": "./dist/esm/index.mjs",
25
- "require": "./dist/cjs/index.cjs",
26
- "types": "./dist/types/index.d.ts"
24
+ ".": {
25
+ "import": "./dist/esm/index.mjs",
26
+ "require": "./dist/cjs/index.cjs"
27
+ },
28
+ "./package.json": "./package.json"
27
29
  },
28
30
  "main": "dist/cjs/index.cjs",
29
- "module": "dist/esm/index.mjs",
30
- "types": "dist/types/index.d.ts",
31
+ "types": "dist/cjs/index.d.cts",
31
32
  "files": [
32
33
  "dist"
33
34
  ],
@@ -39,8 +40,8 @@
39
40
  "version": "tsds version"
40
41
  },
41
42
  "dependencies": {
42
- "env-path-key": "^1.0.12",
43
- "path-string-prepend": "^1.0.15"
43
+ "env-path-key": "^1.0.13",
44
+ "path-string-prepend": "^1.0.17"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@types/mocha": "*",
File without changes
File without changes