SeyZ / jsonapi-serializer

A Node.js framework agnostic library for (de)serializing your data to JSON API
MIT License
735 stars 196 forks source link

Express name throws vulnerability error #273

Open camaleonc opened 1 year ago

camaleonc commented 1 year ago

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch jsonapi-serializer@3.6.7 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/jsonapi-serializer/examples/express/package.json b/node_modules/jsonapi-serializer/examples/express/package.json
index 9c2b3ce..93fb93a 100644
--- a/node_modules/jsonapi-serializer/examples/express/package.json
+++ b/node_modules/jsonapi-serializer/examples/express/package.json
@@ -1,5 +1,5 @@
 {
-  "name": "express",
+  "name": "express-jsonapi-serializer-example",
   "version": "0.0.0",
   "private": true,
   "scripts": {

This issue body was partially generated by patch-package.