PHP 8.2.30
Preview: cache.js.map Size: 1.99 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@babel/traverse/lib/cache.js.map

{"version":3,"names":["pathsCache","exports","path","WeakMap","scope","clear","clearPath","clearScope","getCachedPaths","parent","parentPath","get","getOrCreateCachedPaths","node","paths","set","Map"],"sources":["../src/cache.ts"],"sourcesContent":["import type { Node } from \"@babel/types\";\nimport type NodePath from \"./path/index.ts\";\nimport type Scope from \"./scope/index.ts\";\n\nlet pathsCache = new WeakMap<Node, Map<Node, NodePath>>();\nexport { pathsCache as path };\nexport let scope = new WeakMap<Node, Scope>();\n\nexport function clear() {\n  clearPath();\n  clearScope();\n}\n\nexport function clearPath() {\n  pathsCache = new WeakMap();\n}\n\nexport function clearScope() {\n  scope = new WeakMap();\n}\n\nexport function getCachedPaths(path: NodePath) {\n  const { parent, parentPath } = path;\n  return process.env.BABEL_8_BREAKING && parentPath\n    ? parentPath._store\n    : pathsCache.get(parent);\n}\n\nexport function getOrCreateCachedPaths(\n  node: Node,\n  parentPath?: NodePath | null,\n) {\n  if (process.env.BABEL_8_BREAKING && parentPath) {\n    return (parentPath._store ||= new Map());\n  }\n\n  let paths = pathsCache.get(node);\n  if (!paths) pathsCache.set(node, (paths = new Map()));\n\n  return paths;\n}\n"],"mappings":";;;;;;;;;;;AAIA,IAAIA,UAAU,GAAAC,OAAA,CAAAC,IAAA,GAAG,IAAIC,OAAO,CAA4B,CAAC;AAElD,IAAIC,KAAK,GAAAH,OAAA,CAAAG,KAAA,GAAG,IAAID,OAAO,CAAc,CAAC;AAEtC,SAASE,KAAKA,CAAA,EAAG;EACtBC,SAAS,CAAC,CAAC;EACXC,UAAU,CAAC,CAAC;AACd;AAEO,SAASD,SAASA,CAAA,EAAG;EAC1BL,OAAA,CAAAC,IAAA,GAAAF,UAAU,GAAG,IAAIG,OAAO,CAAC,CAAC;AAC5B;AAEO,SAASI,UAAUA,CAAA,EAAG;EAC3BN,OAAA,CAAAG,KAAA,GAAAA,KAAK,GAAG,IAAID,OAAO,CAAC,CAAC;AACvB;AAEO,SAASK,cAAcA,CAACN,IAAc,EAAE;EAC7C,MAAM;IAAEO,MAAM;IAAEC;EAAW,CAAC,GAAGR,IAAI;EACnC,OAEIF,UAAU,CAACW,GAAG,CAACF,MAAM,CAAC;AAC5B;AAEO,SAASG,sBAAsBA,CACpCC,IAAU,EACVH,UAA4B,EAC5B;EAKA,IAAII,KAAK,GAAGd,UAAU,CAACW,GAAG,CAACE,IAAI,CAAC;EAChC,IAAI,CAACC,KAAK,EAAEd,UAAU,CAACe,GAAG,CAACF,IAAI,EAAGC,KAAK,GAAG,IAAIE,GAAG,CAAC,CAAE,CAAC;EAErD,OAAOF,KAAK;AACd","ignoreList":[]}

Directory Contents

Dirs: 2 × Files: 14

Name Size Perms Modified Actions
path DIR
- drwxr-xr-x 2026-02-28 00:29:10
Edit Download
scope DIR
- drwxr-xr-x 2026-02-28 00:29:22
Edit Download
895 B lrw-r--r-- 2026-02-28 00:26:54
Edit Download
1.99 KB lrw-r--r-- 2026-02-28 00:27:06
Edit Download
3.16 KB lrw-r--r-- 2026-02-28 00:27:14
Edit Download
9.64 KB lrw-r--r-- 2026-02-28 00:27:26
Edit Download
373 B lrw-r--r-- 2026-02-28 00:27:34
Edit Download
1.12 KB lrw-r--r-- 2026-02-28 00:27:38
Edit Download
2.57 KB lrw-r--r-- 2026-02-28 00:27:46
Edit Download
6.60 KB lrw-r--r-- 2026-02-28 00:27:58
Edit Download
3.88 KB lrw-r--r-- 2026-02-28 00:29:22
Edit Download
11.05 KB lrw-r--r-- 2026-02-28 00:29:28
Edit Download
49 B lrw-r--r-- 2026-02-28 00:29:30
Edit Download
3.10 KB lrw-r--r-- 2026-02-28 00:29:32
Edit Download
7.70 KB lrw-r--r-- 2026-02-28 00:29:32
Edit Download
22.80 KB lrw-r--r-- 2026-02-28 00:29:34
Edit Download

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