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.3.21 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.20 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.19 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.18 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.17 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.16 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.15 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.14 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.13 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.12 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.11g node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.10 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.9 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.8 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.7 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.6 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.5 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.4 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.3 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js
trusty-festivity-extension-2.3.2 node_modules/bower/node_modules/configstore/node_modules/object-assign/index.js