Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@meyer/hyperdeck-emulator

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meyer/hyperdeck-emulator - npm Package Compare versions

Comparing version 0.0.4-canary.29.c1a834c to 0.0.4-canary.35.72ad3f9

dist/getEventHandler.d.ts

15

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc