You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config package made its returned objects sealed on version 3.0. This breaks meddleware:
$ node maps.js
/tmp/map-server/node_modules/meddleware/lib/util.js:50
obj && (obj.name = name);
^
TypeError: Cannot add property name, object is not extensible
at nameObject (/tmp/map-server/node_modules/meddleware/lib/util.js:50:22)
at /tmp/map-server/node_modules/meddleware/lib/util.js:38:16
at Array.map (<anonymous>)
at Object.mapValues (/tmp/map-server/node_modules/meddleware/lib/util.js:36:29)
at Function.onmount (/tmp/map-server/node_modules/meddleware/index.js:196:14)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:121:20)
at Function.emit (events.js:211:7)
at Function.<anonymous> (/tmp/map-server/node_modules/express/lib/application.js:238:8)
at Array.forEach (<anonymous>)
There is a work around given on this config issue, however having immutable and sealed objects on require('config') is desirable.
Do you think meddleware can do something about it?
The text was updated successfully, but these errors were encountered:
config package made its returned objects sealed on version 3.0. This breaks
meddleware
:There is a work around given on this config issue, however having immutable and sealed objects on
require('config')
is desirable.Do you think
meddleware
can do something about it?The text was updated successfully, but these errors were encountered: