PHP 8.2.30
Preview: emotion-weak-memoize.cjs.dev.js Size: 500 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@emotion/weak-memoize/dist/emotion-weak-memoize.cjs.dev.js

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var weakMemoize = function weakMemoize(func) {
  var cache = new WeakMap();
  return function (arg) {
    if (cache.has(arg)) {
      // Use non-null assertion because we just checked that the cache `has` it
      // This allows us to remove `undefined` from the return value
      return cache.get(arg);
    }

    var ret = func(arg);
    cache.set(arg, ret);
    return ret;
  };
};

exports["default"] = weakMemoize;

Directory Contents

Dirs: 1 × Files: 11

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:28:14
Edit Download
178 B lrw-r--r-- 2026-02-28 00:28:04
Edit Download
143 B lrw-r--r-- 2026-02-28 00:27:36
Edit Download
149 B lrw-r--r-- 2026-02-28 00:28:06
Edit Download
142 B lrw-r--r-- 2026-02-28 00:27:44
Edit Download
66 B lrw-r--r-- 2026-02-28 00:28:10
Edit Download
69 B lrw-r--r-- 2026-02-28 00:26:44
Edit Download
500 B lrw-r--r-- 2026-02-28 00:26:54
Edit Download
202 B lrw-r--r-- 2026-02-28 00:27:04
Edit Download
129 B lrw-r--r-- 2026-02-28 00:28:00
Edit Download
500 B lrw-r--r-- 2026-02-28 00:27:14
Edit Download
422 B lrw-r--r-- 2026-02-28 00:27:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).