Skip to content
Myr

ipc-send-strict-proto.js

This file

Path

test/fixtures/ipc-send-strict-proto.js

5 lines · 240 bytes · JavaScript

Last changed by

Harden some thingsSindre Sorhusbefore adoption4a0a121

History of this file

Take it

Harden some thingsSindre Sorhusbefore adoption4a0a121

lines 1–5why, one step back
1#!/usr/bin/env node
2import {sendMessage} from '../../index.js';34// Malformed `strict` acknowledgment response, using an `Object.prototype` property as `id`5await sendMessage({type: 'execa:ipc:response', id: 'constructor', message: true});