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 fileTake it
Harden some thingsSindre Sorhusbefore adoption4a0a121
lines 1–5why, one step back1#!/usr/bin/env node2import {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});