cache.js 521 B

12345678910111213141516171819202122232425
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.clear = clear;
  6. exports.clearPath = clearPath;
  7. exports.clearScope = clearScope;
  8. exports.scope = exports.path = void 0;
  9. let path = new WeakMap();
  10. exports.path = path;
  11. let scope = new WeakMap();
  12. exports.scope = scope;
  13. function clear() {
  14. clearPath();
  15. clearScope();
  16. }
  17. function clearPath() {
  18. exports.path = path = new WeakMap();
  19. }
  20. function clearScope() {
  21. exports.scope = scope = new WeakMap();
  22. }
  23. //# sourceMappingURL=cache.js.map