@travetto/base
Advanced tools
Comparing version 0.0.91 to 0.0.92
@@ -25,3 +25,3 @@ #!/usr/bin/env node | ||
for (const f of fs.readdirSync(CACHE_DIR)) { | ||
const full = f.replace(CACHE_SEP_RE, '/'); | ||
const full = f.replace(CACHE_SEP_RE, '/').replace('@', '.'); | ||
const rel = `${CACHE_DIR}/${f}`; | ||
@@ -37,3 +37,3 @@ const stat = LOADED[rel] = fs.statSync(rel); | ||
require.extensions['.ts'] = function load(m, tsf) { | ||
const name = `${CACHE_DIR}/${tsf.replace(/[\/\\]/g, CACHE_SEP)}`; | ||
const name = `${CACHE_DIR}/${tsf.replace(/[\/\\]/g, CACHE_SEP).replace(/.ts$/, '@ts')}`; | ||
let content; | ||
@@ -40,0 +40,0 @@ if (!LOADED[name]) { |
@@ -22,3 +22,3 @@ { | ||
"scripts": {}, | ||
"version": "0.0.91" | ||
"version": "0.0.92" | ||
} |
@@ -6,3 +6,3 @@ import * as util from 'util'; | ||
import { Entry, Handler, bulkFindSync } from './scan-fs'; | ||
import { throttle } from '.'; | ||
import { throttle } from './util'; | ||
@@ -9,0 +9,0 @@ interface Options { |
32364