Bump to v4.16.2.

This commit is contained in:
John-David Dalton
2016-09-25 13:46:15 -07:00
parent a96a747b8c
commit ac571efbbd
31 changed files with 382 additions and 238 deletions

View File

@@ -1,6 +1,9 @@
var baseIsNative = require('./_baseIsNative'),
isMaskable = require('./_isMaskable');
/** Error message constants. */
var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://github.com/es-shims.';
/**
* Checks if `value` is a pristine native function.
*
@@ -29,7 +32,7 @@ var baseIsNative = require('./_baseIsNative'),
*/
function isNative(value) {
if (isMaskable(value)) {
throw new Error('This method is not supported with core-js. Try https://github.com/es-shims.');
throw new Error(CORE_ERROR_TEXT);
}
return baseIsNative(value);
}