From 2edcdc18b64db878b887a6047300e724995481e4 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 23 Sep 2022 16:48:25 -0500 Subject: [PATCH] Hostfix for broken builds patch-package is a dev dependency and should not be required by users of underscore.js This hotfix removes the postinstall script which is causing multiple build failures across the ecosystem. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 3c732bb71..09b934065 100644 --- a/package.json +++ b/package.json @@ -91,8 +91,7 @@ "build": "npm run bundle && npm run build-umd && npm run build-esm && npm run alias-bundle", "doc": "docco underscore-esm.js && docco modules/*.js -c docco.css -t docs/linked-esm.jst", "weight": "npm run bundle && npm run minify-umd | gzip-size | pretty-bytes", - "prepublishOnly": "npm run build && npm run doc", - "postinstall": "patch-package" + "prepublishOnly": "npm run build && npm run doc" }, "files": [ "underscore-esm.js",