From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- node_modules/@jridgewell/trace-mapping/README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'node_modules/@jridgewell/trace-mapping/README.md') diff --git a/node_modules/@jridgewell/trace-mapping/README.md b/node_modules/@jridgewell/trace-mapping/README.md index cc5e4f91..969558d7 100644 --- a/node_modules/@jridgewell/trace-mapping/README.md +++ b/node_modules/@jridgewell/trace-mapping/README.md @@ -22,6 +22,7 @@ import { originalPositionFor, generatedPositionFor, sourceContentFor, + isIgnored, } from '@jridgewell/trace-mapping'; const tracer = new TraceMap({ @@ -30,6 +31,7 @@ const tracer = new TraceMap({ sourcesContent: ['content of input.js'], names: ['foo'], mappings: 'KAyCIA', + ignoreList: [], }); // Lines start at line 1, columns at column 0. @@ -53,6 +55,9 @@ assert.deepEqual(generated, { line: 1, column: 5, }); + +const ignored = isIgnored(tracer, 'input.js'); +assert.equal(ignored, false); ``` We also provide a lower level API to get the actual segment that matches our line and column. Unlike -- cgit v1.2.3