Save current BZZZ config-ui state before CHORUS branding update
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
install/config-ui/node_modules/es-abstract/2021/PromiseResolve.js
generated
vendored
Normal file
18
install/config-ui/node_modules/es-abstract/2021/PromiseResolve.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
var callBind = require('call-bind');
|
||||
var $SyntaxError = require('es-errors/syntax');
|
||||
|
||||
var $resolve = GetIntrinsic('%Promise.resolve%', true);
|
||||
var $PromiseResolve = $resolve && callBind($resolve);
|
||||
|
||||
// https://262.ecma-international.org/9.0/#sec-promise-resolve
|
||||
|
||||
module.exports = function PromiseResolve(C, x) {
|
||||
if (!$PromiseResolve) {
|
||||
throw new $SyntaxError('This environment does not support Promises.');
|
||||
}
|
||||
return $PromiseResolve(C, x);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user