MCPcopy
hub / github.com/TypeStrong/ts-node / defaultTransformSource

Function defaultTransformSource

src/esm.ts:271–275  ·  view source on GitHub ↗
(
          source,
          _context,
          _defaultTransformSource
        )

Source from the content-addressed store, hash-verified

269
270 // Emulate node's built-in old defaultTransformSource() so we can re-use the old transformSource() hook
271 const defaultTransformSource: typeof transformSource = async (
272 source,
273 _context,
274 _defaultTransformSource
275 ) => ({ source });
276
277 // Call the old hook
278 const { source: transformedSource } = await transformSource(

Callers 1

deferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…