From 3ad0567dbd57cfb7c2ff4e8b7488d80f37022b4a Mon Sep 17 00:00:00 2001 From: Andrew Stoker Date: Sat, 7 Nov 2020 20:00:54 -0500 Subject: [PATCH] fix: add extension in the package.json main entry (#608) The `main` entry for the `package.json` file is for defining the entry point. The entry is currently missing the required `.js` extension, this PR brings it back. Backported from https://github.com/socketio/engine.io/commit/17b8c2f199e7a307b6d6294b8599abacb3ec56e7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cdf25fcaa..4a62fa732 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "engine.io", "version": "3.5.0", "description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server", - "main": "lib/engine.io", + "main": "lib/engine.io.js", "author": "Guillermo Rauch ", "homepage": "https://github.com/socketio/engine.io", "contributors": [