All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.build.cjs.defaultScopes.js Maven / Gradle / Ivy

The newest version!
Object.defineProperty(exports, '__esModule', { value: true });

const scope = require('./scope.js');
const worldwide = require('./utils-hoist/worldwide.js');

/** Get the default current scope. */
function getDefaultCurrentScope() {
  return worldwide.getGlobalSingleton('defaultCurrentScope', () => new scope.Scope());
}

/** Get the default isolation scope. */
function getDefaultIsolationScope() {
  return worldwide.getGlobalSingleton('defaultIsolationScope', () => new scope.Scope());
}

exports.getDefaultCurrentScope = getDefaultCurrentScope;
exports.getDefaultIsolationScope = getDefaultIsolationScope;
//# sourceMappingURL=defaultScopes.js.map




© 2015 - 2025 Weber Informatics LLC | Privacy Policy