Sha256: 639a70fa4a24c92303cf3e45d8cb774615eec42d6f89afd3118fed2ed1b1ad42

Contents?: true

Size: 896 Bytes

Versions: 66

Compression:

Stored size: 896 Bytes

Contents

/* eslint-disable no-unused-vars */
'use strict';
var hasOwnProperty = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;

function toObject(val) {
	if (val === null || val === undefined) {
		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 to = toObject(target);
	var symbols;

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

		for (var key in from) {
			if (hasOwnProperty.call(from, key)) {
				to[key] = from[key];
			}
		}

		if (Object.getOwnPropertySymbols) {
			symbols = Object.getOwnPropertySymbols(from);
			for (var i = 0; i < symbols.length; i++) {
				if (propIsEnumerable.call(from, symbols[i])) {
					to[symbols[i]] = from[symbols[i]];
				}
			}
		}
	}

	return to;
};

Version data entries

66 entries across 66 versions & 3 rubygems

Version Path
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.10 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.9 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/insight/node_modules/object-assign/index.js