spawn-rx 2.0.9 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.travis.yml +24 -24
- package/CODE_OF_CONDUCT.md +50 -50
- package/COPYING +7 -7
- package/README.md +187 -187
- package/appveyor.yml +21 -21
- package/build.cmd +1 -1
- package/build.sh +2 -2
- package/esdoc.json +26 -26
- package/lib/src/index.d.ts +84 -88
- package/lib/src/index.js +306 -301
- package/lib/src/index.js.map +1 -1
- package/package.json +15 -14
- package/src/index.ts +334 -336
- package/test/asserttest.ts +15 -15
- package/test/spawn.ts +102 -102
- package/test/support.ts +14 -14
- package/tsconfig.json +28 -31
- package/tslint.json +39 -37
- package/.npmignore +0 -3
- package/lib/index.js +0 -352
package/lib/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2BAA6B;AAC7B,yBAA2B;AAC3B,wBAA0B;AAC1B,sCAAwC;AAExC,6BAA4F;AAC5F,4CAA+C;AAG/C,IAAM,OAAO,GAA8B,OAAO,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,qCAAqC;AAChH,IAAM,SAAS,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC;AAE/C,IAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,qCAAqC;AAE7E;;;;;;;GAOG;AACH,6BAA6B,IAAY;IACvC,IAAI;QACF,OAAO,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;KAC3B;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,IAAI,CAAC;KACb;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,qBAAqB,GAAW;IAC9B,sEAAsE;IACtE,aAAa;IAEb,uDAAuD;IACvD,IAAI,GAAG,CAAC,KAAK,CAA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6
|
"doc": "echo \"esdoc may not work correctly\" && esdoc -c ./esdoc.json",
|
@@ -29,25 +29,26 @@
|
|
29
29
|
"dependencies": {
|
30
30
|
"debug": "^2.5.1",
|
31
31
|
"lodash.assign": "^4.2.0",
|
32
|
-
"rxjs": "^
|
32
|
+
"rxjs": "^6.3.1"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@types/chai": "^
|
36
|
-
"@types/chai-as-promised": "
|
35
|
+
"@types/chai": "^4.0.4",
|
36
|
+
"@types/chai-as-promised": "^7.1.0",
|
37
37
|
"@types/mocha": "^2.2.39",
|
38
|
-
"@types/node": "^
|
38
|
+
"@types/node": "^8.0.32",
|
39
39
|
"babel-register": "^6.23.0",
|
40
|
-
"chai": "^
|
41
|
-
"chai-as-promised": "^
|
42
|
-
"esdoc": "^
|
40
|
+
"chai": "^4.1.2",
|
41
|
+
"chai-as-promised": "^7.1.1",
|
42
|
+
"esdoc": "^1.1.0",
|
43
43
|
"esdoc-es7-plugin": "0.0.3",
|
44
44
|
"esdoc-plugin-async-to-sync": "^0.5.0",
|
45
|
-
"marked": "^0.
|
46
|
-
"mocha": "^
|
45
|
+
"marked": "^0.5.0",
|
46
|
+
"mocha": "^4.0.0",
|
47
47
|
"npm-run-all": "^4.0.2",
|
48
|
-
"ts-node": "^
|
49
|
-
"tslint": "^
|
50
|
-
"
|
51
|
-
"
|
48
|
+
"ts-node": "^3.3.0",
|
49
|
+
"tslint": "^5.7.0",
|
50
|
+
"tslint-no-unused-expression-chai": "^0.1.3",
|
51
|
+
"typescript": "^2.5.3",
|
52
|
+
"uuid": "3.0.1"
|
52
53
|
}
|
53
54
|
}
|