teen_process 2.1.1 → 2.1.2

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,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  export default SubProcess;
3
3
  export type StartDetector = (stdout: string, stderr?: string | undefined) => any;
4
- export class SubProcess extends events {
4
+ export class SubProcess extends events<[never]> {
5
5
  /**
6
6
  * @param {string} cmd
7
7
  * @param {string[]} [args]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teen_process",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A grown up version of Node's spawn/exec",
5
5
  "keywords": [
6
6
  "child_process",
@@ -37,21 +37,10 @@
37
37
  "lint": "eslint .",
38
38
  "lint:fix": "npm run lint -- --fix",
39
39
  "lint:types": "tsc",
40
- "precommit-lint": "lint-staged",
41
- "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
42
40
  "prepare": "npm run rebuild",
43
41
  "rebuild": "npm run clean && npm run build",
44
42
  "test": "mocha"
45
43
  },
46
- "pre-commit": [
47
- "precommit-msg",
48
- "precommit-lint"
49
- ],
50
- "lint-staged": {
51
- "*.js": [
52
- "eslint --fix"
53
- ]
54
- },
55
44
  "prettier": {
56
45
  "bracketSpacing": false,
57
46
  "printWidth": 100,
@@ -82,14 +71,7 @@
82
71
  "chai": "^4.3.10",
83
72
  "chai-as-promised": "^7.1.1",
84
73
  "conventional-changelog-conventionalcommits": "^7.0.2",
85
- "eslint": "^8.55.0",
86
- "eslint-config-prettier": "^9.1.0",
87
- "eslint-plugin-import": "^2.29.0",
88
- "eslint-plugin-mocha": "^10.2.0",
89
- "eslint-plugin-promise": "^6.1.1",
90
- "lint-staged": "^15.2.0",
91
74
  "mocha": "^10.2.0",
92
- "pre-commit": "^1.2.2",
93
75
  "prettier": "^3.1.0",
94
76
  "semantic-release": "^22.0.10",
95
77
  "sinon": "^17.0.1",