@meyer/hyperdeck-emulator
Advanced tools
Comparing version 0.0.4-canary.29.c1a834c to 0.0.4-canary.35.72ad3f9
{ | ||
"name": "@meyer/hyperdeck-emulator", | ||
"version": "0.0.4-canary.29.c1a834c", | ||
"version": "0.0.4-canary.35.72ad3f9", | ||
"description": "Typescript Node.js library for emulating a Blackmagic Hyperdeck", | ||
@@ -45,2 +45,10 @@ "main": "dist/index.js", | ||
}, | ||
"prettier": { | ||
"trailingComma": "none", | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"useTabs": true, | ||
"endOfLine": "lf", | ||
"semi": false | ||
}, | ||
"scripts": { | ||
@@ -51,5 +59,4 @@ "start": "tsdx watch", | ||
"lint:fix": "eslint --fix", | ||
"unit": "jest", | ||
"test": "tsdx test", | ||
"prepare": "rimraf dist && tsdx build", | ||
"test": "tsdx build && tsdx test", | ||
"prepack": "rimraf dist && tsdx build", | ||
"test:coverage": "yarn test -- --coverage", | ||
@@ -56,0 +63,0 @@ "bump-canary-version": "node ./scripts/bumpCanaryVersion.js", |
@@ -45,2 +45,4 @@ import packlist = require('npm-packlist') | ||
- dist/formatClipsGetResponse.d.ts.map | ||
- dist/getEventHandler.d.ts | ||
- dist/getEventHandler.d.ts.map | ||
- dist/hyperdeck-emulator.cjs.development.js | ||
@@ -80,2 +82,3 @@ - dist/hyperdeck-emulator.cjs.development.js.map | ||
- src/formatClipsGetResponse.ts | ||
- src/getEventHandler.ts | ||
- src/HyperDeckServer.ts | ||
@@ -82,0 +85,0 @@ - src/HyperDeckSocket.ts |
@@ -93,4 +93,3 @@ import { MultilineParser } from '../MultilineParser' | ||
expect(parser.parse('configuration: video input: SDI audio input: XLR')) | ||
.toMatchInlineSnapshot(` | ||
expect(parser.parse('configuration: video input: SDI audio input: XLR')).toMatchInlineSnapshot(` | ||
Array [ | ||
@@ -97,0 +96,0 @@ Object { |
@@ -87,6 +87,3 @@ import type { Socket } from 'net' | ||
this.watchdogTimer = setInterval(() => { | ||
if ( | ||
Date.now() - this.lastReceivedMS > | ||
Number(watchdogCmd.parameters.period) | ||
) { | ||
if (Date.now() - this.lastReceivedMS > Number(watchdogCmd.parameters.period)) { | ||
this.socket.destroy() | ||
@@ -93,0 +90,0 @@ this.emit('disconnected') |
@@ -86,7 +86,3 @@ import type { DeserializedCommand } from './types' | ||
invariant( | ||
bobs.length > 0, | ||
'Command malformed / paramName not recognised: `%s`', | ||
bit | ||
) | ||
invariant(bobs.length > 0, 'Command malformed / paramName not recognised: `%s`', bit) | ||
@@ -93,0 +89,0 @@ params[param] = bobs.join(' ') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
418217
57
4353