Sha256: 50cd6beaffb57c0fefb5961e21f490c331efa7b919cfca84e7df82a7955907fc

Contents?: true

Size: 484 Bytes

Versions: 87

Compression:

Stored size: 484 Bytes

Contents

'use strict';

function ToObject(val) {
	if (val == null) {
		throw new TypeError('Object.assign cannot be called with null or undefined');
	}

	return Object(val);
}

module.exports = Object.assign || function (target, source) {
	var from;
	var keys;
	var to = ToObject(target);

	for (var s = 1; s < arguments.length; s++) {
		from = arguments[s];
		keys = Object.keys(Object(from));

		for (var i = 0; i < keys.length; i++) {
			to[keys[i]] = from[keys[i]];
		}
	}

	return to;
};

Version data entries

87 entries across 74 versions & 4 rubygems

Version Path
trusty-festivity-extension-2.5.3 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.2 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.1 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.0 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.6 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.5 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.4 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.3 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.2 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.1 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.4.0 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.30 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.29 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.28 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.27 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.26 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.25 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.24 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.23 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.22 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js