@syndicate-lang/driver-mdns
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -281,3 +281,3 @@ "use strict"; | ||
_Dataspace._currentFacet.addEndpoint(function () { | ||
var _c29 = S.Readable(_stderr); | ||
var _c29 = S.Stream(_stderr, S.Readable()); | ||
@@ -308,9 +308,9 @@ var _assn8 = _Syndicate.Observe(_c29); | ||
var _assn9 = _Syndicate.Observe(S.Line(_c30, _Syndicate.Capture(_Syndicate.Discard._instance))); | ||
var _assn9 = _Syndicate.Observe(S.Stream(_c30, S.Line(_Syndicate.Capture(_Syndicate.Discard._instance)))); | ||
var _handler9 = { | ||
skeleton: [S.Line.constructorInfo, null, null], | ||
skeleton: [S.Stream.constructorInfo, null, [S.Line.constructorInfo, null]], | ||
constPaths: _Syndicate.fromJS([_Syndicate.fromJS([0])]), | ||
constVals: _Syndicate.fromJS([_c30]), | ||
capturePaths: _Syndicate.fromJS([_Syndicate.fromJS([1])]), | ||
capturePaths: _Syndicate.fromJS([_Syndicate.fromJS([1, 0])]), | ||
assertion: _assn9, | ||
@@ -323,3 +323,3 @@ callback: _Dataspace.wrap(function (_evt9, _vs9) { | ||
{ | ||
_line = _line.toString('utf-8'); | ||
_line = _line.fromUtf8(); | ||
@@ -524,3 +524,3 @@ if (_line.startsWith('Established')) { | ||
_Dataspace._currentFacet.addEndpoint(function () { | ||
var _c37 = S.Readable(_stdout); | ||
var _c37 = S.Stream(_stdout, S.Readable()); | ||
@@ -549,9 +549,9 @@ var _assn16 = _Syndicate.Observe(_c37); | ||
var _assn17 = _Syndicate.Observe(S.Line(_c38, _Syndicate.Capture(_Syndicate.Discard._instance))); | ||
var _assn17 = _Syndicate.Observe(S.Stream(_c38, S.Line(_Syndicate.Capture(_Syndicate.Discard._instance)))); | ||
var _handler17 = { | ||
skeleton: [S.Line.constructorInfo, null, null], | ||
skeleton: [S.Stream.constructorInfo, null, [S.Line.constructorInfo, null]], | ||
constPaths: _Syndicate.fromJS([_Syndicate.fromJS([0])]), | ||
constVals: _Syndicate.fromJS([_c38]), | ||
capturePaths: _Syndicate.fromJS([_Syndicate.fromJS([1])]), | ||
capturePaths: _Syndicate.fromJS([_Syndicate.fromJS([1, 0])]), | ||
assertion: _assn17, | ||
@@ -572,3 +572,3 @@ callback: _Dataspace.wrap(function (_evt17, _vs17) { | ||
// | ||
var pieces = _line2.toString('utf-8').split(/;/); | ||
var pieces = _line2.fromUtf8().split(/;/); | ||
@@ -732,2 +732,3 @@ if (pieces[0] === '=') { | ||
_Syndicate.bootModule(module); | ||
} | ||
} | ||
@@ -340,2 +340,3 @@ "use strict"; | ||
_Syndicate.bootModule(module); | ||
} | ||
} | ||
{ | ||
"name": "@syndicate-lang/driver-mdns", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "mDNS support for Syndicate/js via Avahi", | ||
@@ -22,7 +22,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@syndicate-lang/core": "^0.1.2", | ||
"@syndicate-lang/driver-streams-node": "^0.1.2", | ||
"@syndicate-lang/driver-timer": "^0.1.2" | ||
"@syndicate-lang/core": "^0.2.0", | ||
"@syndicate-lang/driver-streams-node": "^0.2.0", | ||
"@syndicate-lang/driver-timer": "^0.2.0" | ||
}, | ||
"gitHead": "28c3992d12e3db792d514772a68185fdb5192614" | ||
"gitHead": "9f63d2e18100a99847bbf7842b3bbaac362fb10e" | ||
} |
@@ -80,6 +80,6 @@ //--------------------------------------------------------------------------- | ||
on retracted S.Readable(stderr) topFacet.stop(); | ||
on retracted S.Stream(stderr, S.Readable()) topFacet.stop(); | ||
on message S.Line(stderr, $line) { | ||
line = line.toString('utf-8'); | ||
on message S.Stream(stderr, S.Line($line)) { | ||
line = line.fromUtf8(); | ||
if (line.startsWith('Established')) { | ||
@@ -130,4 +130,4 @@ this.established = true; | ||
react { | ||
on retracted S.Readable(stdout) topFacet.stop(); | ||
on message S.Line(stdout, $line) { | ||
on retracted S.Stream(stdout, S.Readable()) topFacet.stop(); | ||
on message S.Stream(stdout, S.Line($line)) { | ||
// Parsing of TXT record data (appearing after the port | ||
@@ -141,3 +141,3 @@ // number in an '=' record) is unreliable given the way | ||
// | ||
const pieces = line.toString('utf-8').split(/;/); | ||
const pieces = line.fromUtf8().split(/;/); | ||
if (pieces[0] === '=') { | ||
@@ -144,0 +144,0 @@ // A resolved address record, which has TXT data. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96061
1159
+ Added@syndicate-lang/core@0.2.10(transitive)
+ Added@syndicate-lang/driver-streams-node@0.2.11(transitive)
+ Added@syndicate-lang/driver-timer@0.2.11(transitive)
+ Addedimmutable@4.3.7(transitive)
+ Addedpreserves@0.1.0(transitive)
- Removed@syndicate-lang/core@0.1.2(transitive)
- Removed@syndicate-lang/driver-streams-node@0.1.2(transitive)
- Removed@syndicate-lang/driver-timer@0.1.2(transitive)
- Removedimmutable@3.8.2(transitive)
- Removedpreserves@0.0.8(transitive)
Updated@syndicate-lang/core@^0.2.0