Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Package.onUse(function onUse(api) {
api.versionsFrom('1.4');
api.use('isobuild:compiler-plugin@1.0.0');
api.use('ecmascript');
api.use('underscore');
api.use('omega:direct-stream-access@=4.0.3');

api.addFiles([
Expand Down
2 changes: 1 addition & 1 deletion src/lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CustomProtocolCommon = class CustomProtocolCommon {
throw new Error('Custom protocol must have an this._id lower than 127');
}

_.extend(this._options, options);
Object.assign(this._options, options);

CustomProtocolCore.registerProtocol(this._id, this._options, this);

Expand Down
2 changes: 1 addition & 1 deletion src/utils/DynamicMessagesProtocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ DynamicMessagesProtocol = class DynamicMessagesProtocol extends CustomProtocol {
'type field name with setTypeField method.');
}
this._typeObject[this._typeFieldName] = messageType;
super.send(0, _.extend(this._typeObject, payload), target, deferred);
super.send(0, Object.assign(this._typeObject, payload), target, deferred);
}
};

Expand Down