From 7926cd59f809634f5ecee9d33aa18724976b0ccd Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 23 May 2022 16:23:35 -0500 Subject: [PATCH] fix: Properly handle node deprecation warning ``` [DEP0128] DeprecationWarning: Invalid 'main' field in '/app/node_modules/node-postmates/package.json' of 'lib/index.js'. Please either fix that or report it to the module author ``` --- package.json => deprecation-warning | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename package.json => deprecation-warning (97%) diff --git a/package.json b/deprecation-warning similarity index 97% rename from package.json rename to deprecation-warning index 0a3b7ef..b3f9ae3 100644 --- a/package.json +++ b/deprecation-warning @@ -2,7 +2,7 @@ "name": "node-postmates", "version": "1.9.1", "description": "Node.js wrapper for the Postmates API", - "main": "lib/index.js", + "main": "index.js", "scripts": { "test": "mocha test/*.js --delay 800 --timeout 5000", "prepare": "node_modules/babel-cli/bin/babel.js src --out-dir lib"