protobufjs 7.2.3 → 7.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/light/protobuf.js +7 -13
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +3 -3
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +4 -4
- package/dist/minimal/protobuf.js.map +1 -1
- package/dist/minimal/protobuf.min.js +3 -3
- package/dist/minimal/protobuf.min.js.map +1 -1
- package/dist/protobuf.js +7 -23
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/package.json +1 -1
- package/src/util.js +1 -1
package/package.json
CHANGED
package/src/util.js
CHANGED
|
@@ -176,7 +176,7 @@ util.decorateEnum = function decorateEnum(object) {
|
|
|
176
176
|
util.setProperty = function setProperty(dst, path, value) {
|
|
177
177
|
function setProp(dst, path, value) {
|
|
178
178
|
var part = path.shift();
|
|
179
|
-
if (part === "__proto__") {
|
|
179
|
+
if (part === "__proto__" || part === "prototype") {
|
|
180
180
|
return dst;
|
|
181
181
|
}
|
|
182
182
|
if (path.length > 0) {
|