@corellium/corellium-cli 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.gitlab-ci.yml +46 -1
- package/ci/gitlab-build.sh +1 -1
- package/coverage/cobertura-coverage.xml +9 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/index.js +2 -0
- package/node_modules/@babel/cli/node_modules/commander/package.json +22 -57
- package/node_modules/@babel/cli/node_modules/make-dir/package.json +57 -92
- package/node_modules/@babel/cli/node_modules/pify/package.json +49 -84
- package/node_modules/@babel/cli/node_modules/semver/package.json +15 -50
- package/node_modules/@babel/cli/node_modules/slash/package.json +32 -67
- package/node_modules/@babel/cli/package.json +33 -69
- package/node_modules/@corellium/client-api/package.json +10 -39
- package/node_modules/@jridgewell/resolve-uri/package.json +35 -74
- package/node_modules/@jridgewell/sourcemap-codec/package.json +38 -73
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +91 -57
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -1
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +90 -56
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -1
- package/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +5 -5
- package/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +12 -5
- package/node_modules/@jridgewell/trace-mapping/package.json +34 -71
- package/node_modules/@nicolo-ribaudo/chokidar-2/package.json +17 -54
- package/node_modules/ansi-regex/package.json +53 -88
- package/node_modules/ansi-styles/package.json +54 -94
- package/node_modules/anymatch/package.json +23 -55
- package/node_modules/asynckit/package.json +40 -73
- package/node_modules/axios/package.json +41 -71
- package/node_modules/balanced-match/package.json +17 -48
- package/node_modules/binary-extensions/package.json +36 -72
- package/node_modules/brace-expansion/package.json +18 -49
- package/node_modules/braces/package.json +25 -75
- package/node_modules/call-bind/package.json +78 -124
- package/node_modules/chokidar/package.json +35 -73
- package/node_modules/cliui/package.json +48 -86
- package/node_modules/color-convert/package.json +20 -58
- package/node_modules/color-name/package.json +28 -60
- package/node_modules/combined-stream/package.json +14 -51
- package/node_modules/component-emitter/package.json +12 -44
- package/node_modules/concat-map/package.json +40 -88
- package/node_modules/convert-source-map/package.json +23 -54
- package/node_modules/cookiejar/package.json +11 -43
- package/node_modules/debug/package.json +32 -86
- package/node_modules/delayed-stream/package.json +14 -52
- package/node_modules/dotenv/package.json +32 -63
- package/node_modules/emoji-regex/package.json +27 -57
- package/node_modules/escalade/package.json +23 -58
- package/node_modules/fast-safe-stringify/package.json +28 -72
- package/node_modules/fill-range/package.json +23 -71
- package/node_modules/follow-redirects/package.json +37 -76
- package/node_modules/form-data/package.json +37 -73
- package/node_modules/formidable/package.json +17 -51
- package/node_modules/fs-readdir-recursive/package.json +15 -49
- package/node_modules/fs.realpath/package.json +16 -52
- package/node_modules/function-bind/package.json +23 -60
- package/node_modules/get-caller-file/package.json +22 -52
- package/node_modules/get-intrinsic/package.json +86 -123
- package/node_modules/glob/package.json +29 -67
- package/node_modules/glob-parent/package.json +22 -69
- package/node_modules/has/package.json +21 -54
- package/node_modules/has-symbols/package.json +99 -132
- package/node_modules/inflight/package.json +15 -47
- package/node_modules/inherits/package.json +12 -53
- package/node_modules/is-binary-path/package.json +38 -74
- package/node_modules/is-extglob/package.json +17 -51
- package/node_modules/is-fullwidth-code-point/package.json +40 -78
- package/node_modules/is-glob/package.json +21 -67
- package/node_modules/is-number/package.json +21 -64
- package/node_modules/lru-cache/package.json +22 -60
- package/node_modules/methods/package.json +17 -63
- package/node_modules/mime/package.json +15 -47
- package/node_modules/mime-db/package.json +20 -66
- package/node_modules/mime-types/package.json +15 -63
- package/node_modules/minimatch/package.json +20 -60
- package/node_modules/ms/package.json +19 -57
- package/node_modules/multi-progress/package.json +15 -45
- package/node_modules/normalize-path/package.json +20 -62
- package/node_modules/object-inspect/package.json +48 -80
- package/node_modules/once/package.json +14 -55
- package/node_modules/path-is-absolute/package.json +11 -46
- package/node_modules/picomatch/package.json +23 -59
- package/node_modules/progress/package.json +16 -64
- package/node_modules/qs/package.json +73 -104
- package/node_modules/readdirp/package.json +42 -82
- package/node_modules/require-directory/package.json +24 -56
- package/node_modules/safe-buffer/package.json +5 -37
- package/node_modules/semver/package.json +31 -69
- package/node_modules/side-channel/package.json +65 -97
- package/node_modules/string-width/package.json +54 -96
- package/node_modules/string_decoder/package.json +13 -46
- package/node_modules/strip-ansi/package.json +52 -93
- package/node_modules/superagent/node_modules/form-data/package.json +37 -73
- package/node_modules/superagent/node_modules/readable-stream/package.json +27 -59
- package/node_modules/superagent/package.json +8 -58
- package/node_modules/to-regex-range/package.json +20 -60
- package/node_modules/util-deprecate/package.json +14 -48
- package/node_modules/uuid/package.json +69 -101
- package/node_modules/wrap-ansi/package.json +60 -96
- package/node_modules/wrappy/package.json +16 -49
- package/node_modules/y18n/package.json +38 -72
- package/node_modules/yallist/package.json +15 -54
- package/node_modules/yargs/package.json +67 -98
- package/node_modules/yargs-parser/package.json +47 -82
- package/package.json +62 -64
- package/src/clients/Instance.js +4 -0
- package/src/commands/extensions/delete.js +2 -1
- package/src/commands/extensions/list.js +3 -2
- package/src/commands/firmware/list.js +3 -2
- package/src/commands/images/create.js +2 -2
- package/src/commands/images/delete.js +1 -0
- package/src/commands/images/list.js +3 -2
- package/src/commands/index.js +0 -2
- package/src/commands/{agent → instances}/apps/index.js +3 -3
- package/src/commands/instances/create.js +9 -3
- package/src/commands/{agent → instances}/file.js +2 -2
- package/src/commands/instances/index.js +6 -1
- package/src/commands/instances/input.js +52 -0
- package/src/commands/instances/list.js +3 -2
- package/src/commands/instances/upgrade.js +2 -2
- package/src/commands/projects/create.js +2 -2
- package/src/commands/projects/delete.js +2 -1
- package/src/commands/projects/list.js +3 -2
- package/src/commands/webplayer/create.js +2 -2
- package/src/commands/webplayer/list.js +2 -2
- package/src/error.js +12 -6
- package/src/table.js +1 -1
- package/src/utils.js +19 -40
- package/node_modules/@jridgewell/trace-mapping/src/any-map.ts +0 -166
- package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +0 -115
- package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +0 -64
- package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +0 -10
- package/node_modules/@jridgewell/trace-mapping/src/sort.ts +0 -45
- package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +0 -23
- package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +0 -8
- package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +0 -405
- package/node_modules/@jridgewell/trace-mapping/src/types.ts +0 -90
- package/node_modules/generate-password/.eslintrc.yml +0 -18
- package/node_modules/generate-password/.github/workflows/nodejs.yml +0 -33
- package/node_modules/generate-password/CHANGELOG.md +0 -79
- package/node_modules/generate-password/LICENSE +0 -21
- package/node_modules/generate-password/README.md +0 -61
- package/node_modules/generate-password/example.js +0 -28
- package/node_modules/generate-password/main.js +0 -1
- package/node_modules/generate-password/package.json +0 -68
- package/node_modules/generate-password/src/generate.d.ts +0 -51
- package/node_modules/generate-password/src/generate.js +0 -152
- package/node_modules/generate-password/test/coverage.sh +0 -17
- package/node_modules/generate-password/test/esm.mjs +0 -13
- package/node_modules/generate-password/test/generator.js +0 -164
- package/src/clients/TrialAccount.js +0 -76
- package/src/commands/agent/index.js +0 -27
- package/src/commands/signup.js +0 -104
- package/test.sh +0 -2
- /package/src/commands/{agent → instances}/apps/install.js +0 -0
- /package/src/commands/{agent → instances}/ready.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trace-mapping.umd.js","sources":["../src/resolve.ts","../src/strip-filename.ts","../src/sourcemap-segment.ts","../src/sort.ts","../src/binary-search.ts","../src/by-source.ts","../src/any-map.ts","../src/trace-mapping.ts"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":["resolveUri","presortedDecodedMap","decodedMappings","encodedMappings","traceSegment","originalPositionFor","generatedPositionFor","eachMapping","sourceContentFor","decodedMap","encodedMap","encode","decode","bsFound"],"mappings":";;;;;;;;;;IAEc,SAAU,OAAO,CAAC,KAAa,EAAE,IAAwB,EAAA;;;;QAIrE,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,IAAI,GAAG,CAAC;IAE7C,IAAA,OAAOA,8BAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACjC;;ICTA;;IAEG;IACqB,SAAA,aAAa,CAAC,IAA+B,EAAA;IACnE,IAAA,IAAI,CAAC,IAAI;IAAE,QAAA,OAAO,EAAE,CAAC;QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;IAClC;;ICQO,MAAM,MAAM,GAAG,CAAC,CAAC;IACjB,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,WAAW,GAAG,CAAC,CAAC;IACtB,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,WAAW,GAAG,CAAC,CAAC;IAEtB,MAAM,kBAAkB,GAAG,CAAC,CAAC;IAC7B,MAAM,oBAAoB,GAAG,CAAC;;IClBvB,SAAU,SAAS,CAC/B,QAA8B,EAC9B,KAAc,EAAA;QAEd,MAAM,aAAa,GAAG,uBAAuB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC3D,IAAA,IAAI,aAAa,KAAK,QAAQ,CAAC,MAAM;IAAE,QAAA,OAAO,QAAQ,CAAC;;;IAIvD,IAAA,IAAI,CAAC,KAAK;IAAE,QAAA,QAAQ,GAA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SAAS,QAAQ,CACf,MAAqB,EACrB,IAAmB,EACnB,MAAqB,EACrB,IAAmB,EAAA;QAEnB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAS,CAAC;IAC/C,CAAC;IAID,SAAS,QAAQ,CACf,IAAmB,EACnB,MAAqB,EAAA;IAErB,IAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAS,CAAC;IACjC,CAAC;IAgBD,SAAS,oBAAoB,CAC3B,QAA+C,EAC/C,IAAe,EACf,IAAY,EACZ,MAAc,EACd,IAA4D,EAAA;IAE5D,IAAA,IAAI,KAAK,GAAG,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/D,IAAA,IAAIU,KAAO,EAAE;YACX,KAAK,GAAG,CAAC,IAAI,KAAK,iBAAiB,GAAG,UAAU,GAAG,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IACzF,KAAA;aAAM,IAAI,IAAI,KAAK,iBAAiB;IAAE,QAAA,KAAK,EAAE,CAAC;QAE/C,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,KAAK,QAAQ,CAAC,MAAM;IAAE,QAAA,OAAO,IAAI,CAAC;IAC3D,IAAA,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;IACzB;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"trace-mapping.umd.js","sources":["../src/resolve.ts","../src/strip-filename.ts","../src/sourcemap-segment.ts","../src/sort.ts","../src/binary-search.ts","../src/by-source.ts","../src/any-map.ts","../src/trace-mapping.ts"],"sourcesContent":["import resolveUri from '@jridgewell/resolve-uri';\n\nexport default function resolve(input: string, base: string | undefined): string {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/')) base += '/';\n\n return resolveUri(input, base);\n}\n","/**\n * Removes everything after the last \"/\", but leaves the slash.\n */\nexport default function stripFilename(path: string | undefined | null): string {\n if (!path) return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n}\n","type GeneratedColumn = number;\ntype SourcesIndex = number;\ntype SourceLine = number;\ntype SourceColumn = number;\ntype NamesIndex = number;\n\ntype GeneratedLine = number;\n\nexport type SourceMapSegment =\n | [GeneratedColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex];\n\nexport type ReverseSegment = [SourceColumn, GeneratedLine, GeneratedColumn];\n\nexport const COLUMN = 0;\nexport const SOURCES_INDEX = 1;\nexport const SOURCE_LINE = 2;\nexport const SOURCE_COLUMN = 3;\nexport const NAMES_INDEX = 4;\n\nexport const REV_GENERATED_LINE = 1;\nexport const REV_GENERATED_COLUMN = 2;\n","import { COLUMN } from './sourcemap-segment';\n\nimport type { SourceMapSegment } from './sourcemap-segment';\n\nexport default function maybeSort(\n mappings: SourceMapSegment[][],\n owned: boolean,\n): SourceMapSegment[][] {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length) return mappings;\n\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned) mappings = mappings.slice();\n\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n}\n\nfunction nextUnsortedSegmentLine(mappings: SourceMapSegment[][], start: number): number {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i])) return i;\n }\n return mappings.length;\n}\n\nfunction isSorted(line: SourceMapSegment[]): boolean {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN] < line[j - 1][COLUMN]) {\n return false;\n }\n }\n return true;\n}\n\nfunction sortSegments(line: SourceMapSegment[], owned: boolean): SourceMapSegment[] {\n if (!owned) line = line.slice();\n return line.sort(sortComparator);\n}\n\nfunction sortComparator(a: SourceMapSegment, b: SourceMapSegment): number {\n return a[COLUMN] - b[COLUMN];\n}\n","import type { SourceMapSegment, ReverseSegment } from './sourcemap-segment';\nimport { COLUMN } from './sourcemap-segment';\n\nexport type MemoState = {\n lastKey: number;\n lastNeedle: number;\n lastIndex: number;\n};\n\nexport let found = false;\n\n/**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\nexport function binarySearch(\n haystack: SourceMapSegment[] | ReverseSegment[],\n needle: number,\n low: number,\n high: number,\n): number {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN] - needle;\n\n if (cmp === 0) {\n found = true;\n return mid;\n }\n\n if (cmp < 0) {\n low = mid + 1;\n } else {\n high = mid - 1;\n }\n }\n\n found = false;\n return low - 1;\n}\n\nexport function upperBound(\n haystack: SourceMapSegment[] | ReverseSegment[],\n needle: number,\n index: number,\n): number {\n for (let i = index + 1; i < haystack.length; index = i++) {\n if (haystack[i][COLUMN] !== needle) break;\n }\n return index;\n}\n\nexport function lowerBound(\n haystack: SourceMapSegment[] | ReverseSegment[],\n needle: number,\n index: number,\n): number {\n for (let i = index - 1; i >= 0; index = i--) {\n if (haystack[i][COLUMN] !== needle) break;\n }\n return index;\n}\n\nexport function memoizedState(): MemoState {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n}\n\n/**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\nexport function memoizedBinarySearch(\n haystack: SourceMapSegment[] | ReverseSegment[],\n needle: number,\n state: MemoState,\n key: number,\n): number {\n const { lastKey, lastNeedle, lastIndex } = state;\n\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;\n return lastIndex;\n }\n\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n } else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n}\n","import { COLUMN, SOURCES_INDEX, SOURCE_LINE, SOURCE_COLUMN } from './sourcemap-segment';\nimport { memoizedBinarySearch, upperBound } from './binary-search';\n\nimport type { ReverseSegment, SourceMapSegment } from './sourcemap-segment';\nimport type { MemoState } from './binary-search';\n\nexport type Source = {\n __proto__: null;\n [line: number]: Exclude<ReverseSegment, [number]>[];\n};\n\n// Rebuilds the original source files, with mappings that are ordered by source line/column instead\n// of generated line/column.\nexport default function buildBySources(\n decoded: readonly SourceMapSegment[][],\n memos: MemoState[],\n): Source[] {\n const sources: Source[] = memos.map(buildNullArray);\n\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n if (seg.length === 1) continue;\n\n const sourceIndex = seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n const originalSource = sources[sourceIndex];\n const originalLine = (originalSource[sourceLine] ||= []);\n const memo = memos[sourceIndex];\n\n // The binary search either found a match, or it found the left-index just before where the\n // segment should go. Either way, we want to insert after that. And there may be multiple\n // generated segments associated with an original location, so there may need to move several\n // indexes before we find where we need to insert.\n const index = upperBound(\n originalLine,\n sourceColumn,\n memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine),\n );\n\n insert(originalLine, (memo.lastIndex = index + 1), [sourceColumn, i, seg[COLUMN]]);\n }\n }\n\n return sources;\n}\n\nfunction insert<T>(array: T[], index: number, value: T) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n}\n\n// Null arrays allow us to use ordered index keys without actually allocating contiguous memory like\n// a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.\n// Numeric properties on objects are magically sorted in ascending order by the engine regardless of\n// the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending\n// order when iterating with for-in.\nfunction buildNullArray<T extends { __proto__: null }>(): T {\n return { __proto__: null } as T;\n}\n","import { TraceMap, presortedDecodedMap, decodedMappings } from './trace-mapping';\nimport {\n COLUMN,\n SOURCES_INDEX,\n SOURCE_LINE,\n SOURCE_COLUMN,\n NAMES_INDEX,\n} from './sourcemap-segment';\n\nimport type {\n Section,\n SectionedSourceMap,\n DecodedSourceMap,\n SectionedSourceMapInput,\n Ro,\n} from './types';\nimport type { SourceMapSegment } from './sourcemap-segment';\n\ntype AnyMap = {\n new (map: SectionedSourceMapInput, mapUrl?: string | null): TraceMap;\n (map: SectionedSourceMapInput, mapUrl?: string | null): TraceMap;\n};\n\nexport const AnyMap: AnyMap = function (map, mapUrl) {\n const parsed =\n typeof map === 'string' ? (JSON.parse(map) as Exclude<SectionedSourceMapInput, string>) : map;\n\n if (!('sections' in parsed)) return new TraceMap(parsed, mapUrl);\n\n const mappings: SourceMapSegment[][] = [];\n const sources: string[] = [];\n const sourcesContent: (string | null)[] = [];\n const names: string[] = [];\n\n recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, 0, 0, Infinity, Infinity);\n\n const joined: DecodedSourceMap = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n\n return presortedDecodedMap(joined);\n} as AnyMap;\n\nfunction recurse(\n input: Ro<SectionedSourceMap>,\n mapUrl: string | null | undefined,\n mappings: SourceMapSegment[][],\n sources: string[],\n sourcesContent: (string | null)[],\n names: string[],\n lineOffset: number,\n columnOffset: number,\n stopLine: number,\n stopColumn: number,\n) {\n const { sections } = input;\n for (let i = 0; i < sections.length; i++) {\n const { map, offset } = sections[i];\n\n let sl = stopLine;\n let sc = stopColumn;\n if (i + 1 < sections.length) {\n const nextOffset = sections[i + 1].offset;\n sl = Math.min(stopLine, lineOffset + nextOffset.line);\n\n if (sl === stopLine) {\n sc = Math.min(stopColumn, columnOffset + nextOffset.column);\n } else if (sl < stopLine) {\n sc = columnOffset + nextOffset.column;\n }\n }\n\n addSection(\n map,\n mapUrl,\n mappings,\n sources,\n sourcesContent,\n names,\n lineOffset + offset.line,\n columnOffset + offset.column,\n sl,\n sc,\n );\n }\n}\n\nfunction addSection(\n input: Ro<Section['map']>,\n mapUrl: string | null | undefined,\n mappings: SourceMapSegment[][],\n sources: string[],\n sourcesContent: (string | null)[],\n names: string[],\n lineOffset: number,\n columnOffset: number,\n stopLine: number,\n stopColumn: number,\n) {\n if ('sections' in input) return recurse(...(arguments as unknown as Parameters<typeof recurse>));\n\n const map = new TraceMap(input, mapUrl);\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = decodedMappings(map);\n const { resolvedSources, sourcesContent: contents } = map;\n\n append(sources, resolvedSources);\n append(names, map.names);\n if (contents) append(sourcesContent, contents);\n else for (let i = 0; i < resolvedSources.length; i++) sourcesContent.push(null);\n\n for (let i = 0; i < decoded.length; i++) {\n const lineI = lineOffset + i;\n\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range. But it may not have any columns that overstep, so we\n // still need to check that we don't overstep lines, too.\n if (lineI > stopLine) return;\n\n // The out line may already exist in mappings (if we're continuing the line started by a\n // previous section). Or, we may have jumped ahead several lines to start this section.\n const out = getLine(mappings, lineI);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN];\n\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (lineI === stopLine && column >= stopColumn) return;\n\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n out.push(\n seg.length === 4\n ? [column, sourcesIndex, sourceLine, sourceColumn]\n : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]],\n );\n }\n }\n}\n\nfunction append<T>(arr: T[], other: T[]) {\n for (let i = 0; i < other.length; i++) arr.push(other[i]);\n}\n\nfunction getLine<T>(arr: T[][], index: number): T[] {\n for (let i = arr.length; i <= index; i++) arr[i] = [];\n return arr[index];\n}\n","import { encode, decode } from '@jridgewell/sourcemap-codec';\n\nimport resolve from './resolve';\nimport stripFilename from './strip-filename';\nimport maybeSort from './sort';\nimport buildBySources from './by-source';\nimport {\n memoizedState,\n memoizedBinarySearch,\n upperBound,\n lowerBound,\n found as bsFound,\n} from './binary-search';\nimport {\n COLUMN,\n SOURCES_INDEX,\n SOURCE_LINE,\n SOURCE_COLUMN,\n NAMES_INDEX,\n REV_GENERATED_LINE,\n REV_GENERATED_COLUMN,\n} from './sourcemap-segment';\n\nimport type { SourceMapSegment, ReverseSegment } from './sourcemap-segment';\nimport type {\n SourceMapV3,\n DecodedSourceMap,\n EncodedSourceMap,\n InvalidOriginalMapping,\n OriginalMapping,\n InvalidGeneratedMapping,\n GeneratedMapping,\n SourceMapInput,\n Needle,\n SourceNeedle,\n SourceMap,\n EachMapping,\n Bias,\n} from './types';\nimport type { Source } from './by-source';\nimport type { MemoState } from './binary-search';\n\nexport type { SourceMapSegment } from './sourcemap-segment';\nexport type {\n SourceMapInput,\n SectionedSourceMapInput,\n DecodedSourceMap,\n EncodedSourceMap,\n SectionedSourceMap,\n InvalidOriginalMapping,\n OriginalMapping as Mapping,\n OriginalMapping,\n InvalidGeneratedMapping,\n GeneratedMapping,\n EachMapping,\n} from './types';\n\nconst LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\nconst COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n\nexport const LEAST_UPPER_BOUND = -1;\nexport const GREATEST_LOWER_BOUND = 1;\n\n/**\n * Returns the encoded (VLQ string) form of the SourceMap's mappings field.\n */\nexport let encodedMappings: (map: TraceMap) => EncodedSourceMap['mappings'];\n\n/**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\nexport let decodedMappings: (map: TraceMap) => Readonly<DecodedSourceMap['mappings']>;\n\n/**\n * A low-level API to find the segment associated with a generated line/column (think, from a\n * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.\n */\nexport let traceSegment: (\n map: TraceMap,\n line: number,\n column: number,\n) => Readonly<SourceMapSegment> | null;\n\n/**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\nexport let originalPositionFor: (\n map: TraceMap,\n needle: Needle,\n) => OriginalMapping | InvalidOriginalMapping;\n\n/**\n * Finds the generated line/column position of the provided source/line/column source position.\n */\nexport let generatedPositionFor: (\n map: TraceMap,\n needle: SourceNeedle,\n) => GeneratedMapping | InvalidGeneratedMapping;\n\n/**\n * Finds all generated line/column positions of the provided source/line/column source position.\n */\nexport let allGeneratedPositionsFor: (map: TraceMap, needle: SourceNeedle) => GeneratedMapping[];\n\n/**\n * Iterates each mapping in generated position order.\n */\nexport let eachMapping: (map: TraceMap, cb: (mapping: EachMapping) => void) => void;\n\n/**\n * Retrieves the source content for a particular source, if its found. Returns null if not.\n */\nexport let sourceContentFor: (map: TraceMap, source: string) => string | null;\n\n/**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\nexport let presortedDecodedMap: (map: DecodedSourceMap, mapUrl?: string) => TraceMap;\n\n/**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let decodedMap: (\n map: TraceMap,\n) => Omit<DecodedSourceMap, 'mappings'> & { mappings: readonly SourceMapSegment[][] };\n\n/**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let encodedMap: (map: TraceMap) => EncodedSourceMap;\n\nexport { AnyMap } from './any-map';\n\nexport class TraceMap implements SourceMap {\n declare version: SourceMapV3['version'];\n declare file: SourceMapV3['file'];\n declare names: SourceMapV3['names'];\n declare sourceRoot: SourceMapV3['sourceRoot'];\n declare sources: SourceMapV3['sources'];\n declare sourcesContent: SourceMapV3['sourcesContent'];\n\n declare resolvedSources: string[];\n private declare _encoded: string | undefined;\n\n private declare _decoded: SourceMapSegment[][] | undefined;\n private declare _decodedMemo: MemoState;\n\n private declare _bySources: Source[] | undefined;\n private declare _bySourceMemos: MemoState[] | undefined;\n\n constructor(map: SourceMapInput, mapUrl?: string | null) {\n const isString = typeof map === 'string';\n\n if (!isString && (map as unknown as { _decodedMemo: any })._decodedMemo) return map as TraceMap;\n\n const parsed = (isString ? JSON.parse(map) : map) as DecodedSourceMap | EncodedSourceMap;\n\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names || [];\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n } else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n }\n\n static {\n encodedMappings = (map) => {\n return (map._encoded ??= encode(map._decoded!));\n };\n\n decodedMappings = (map) => {\n return (map._decoded ||= decode(map._encoded!));\n };\n\n traceSegment = (map, line, column) => {\n const decoded = decodedMappings(map);\n\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length) return null;\n\n const segments = decoded[line];\n const index = traceSegmentInternal(\n segments,\n map._decodedMemo,\n line,\n column,\n GREATEST_LOWER_BOUND,\n );\n\n return index === -1 ? null : segments[index];\n };\n\n originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0) throw new Error(LINE_GTR_ZERO);\n if (column < 0) throw new Error(COL_GTR_EQ_ZERO);\n\n const decoded = decodedMappings(map);\n\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length) return OMapping(null, null, null, null);\n\n const segments = decoded[line];\n const index = traceSegmentInternal(\n segments,\n map._decodedMemo,\n line,\n column,\n bias || GREATEST_LOWER_BOUND,\n );\n\n if (index === -1) return OMapping(null, null, null, null);\n\n const segment = segments[index];\n if (segment.length === 1) return OMapping(null, null, null, null);\n\n const { names, resolvedSources } = map;\n return OMapping(\n resolvedSources[segment[SOURCES_INDEX]],\n segment[SOURCE_LINE] + 1,\n segment[SOURCE_COLUMN],\n segment.length === 5 ? names[segment[NAMES_INDEX]] : null,\n );\n };\n\n allGeneratedPositionsFor = (map, { source, line, column, bias }) => {\n // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.\n return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);\n };\n\n generatedPositionFor = (map, { source, line, column, bias }) => {\n return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);\n };\n\n eachMapping = (map, cb) => {\n const decoded = decodedMappings(map);\n const { names, resolvedSources } = map;\n\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n\n const generatedLine = i + 1;\n const generatedColumn = seg[0];\n let source = null;\n let originalLine = null;\n let originalColumn = null;\n let name = null;\n if (seg.length !== 1) {\n source = resolvedSources[seg[1]];\n originalLine = seg[2] + 1;\n originalColumn = seg[3];\n }\n if (seg.length === 5) name = names[seg[4]];\n\n cb({\n generatedLine,\n generatedColumn,\n source,\n originalLine,\n originalColumn,\n name,\n } as EachMapping);\n }\n }\n };\n\n sourceContentFor = (map, source) => {\n const { sources, resolvedSources, sourcesContent } = map;\n if (sourcesContent == null) return null;\n\n let index = sources.indexOf(source);\n if (index === -1) index = resolvedSources.indexOf(source);\n\n return index === -1 ? null : sourcesContent[index];\n };\n\n presortedDecodedMap = (map, mapUrl) => {\n const tracer = new TraceMap(clone(map, []), mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n\n decodedMap = (map) => {\n return clone(map, decodedMappings(map));\n };\n\n encodedMap = (map) => {\n return clone(map, encodedMappings(map));\n };\n\n function generatedPosition(\n map: TraceMap,\n source: string,\n line: number,\n column: number,\n bias: Bias,\n all: false,\n ): GeneratedMapping | InvalidGeneratedMapping;\n function generatedPosition(\n map: TraceMap,\n source: string,\n line: number,\n column: number,\n bias: Bias,\n all: true,\n ): GeneratedMapping[];\n function generatedPosition(\n map: TraceMap,\n source: string,\n line: number,\n column: number,\n bias: Bias,\n all: boolean,\n ): GeneratedMapping | InvalidGeneratedMapping | GeneratedMapping[] {\n line--;\n if (line < 0) throw new Error(LINE_GTR_ZERO);\n if (column < 0) throw new Error(COL_GTR_EQ_ZERO);\n\n const { sources, resolvedSources } = map;\n let sourceIndex = sources.indexOf(source);\n if (sourceIndex === -1) sourceIndex = resolvedSources.indexOf(source);\n if (sourceIndex === -1) return all ? [] : GMapping(null, null);\n\n const generated = (map._bySources ||= buildBySources(\n decodedMappings(map),\n (map._bySourceMemos = sources.map(memoizedState)),\n ));\n\n const segments = generated[sourceIndex][line];\n if (segments == null) return all ? [] : GMapping(null, null);\n\n const memo = map._bySourceMemos![sourceIndex];\n\n if (all) return sliceGeneratedPositions(segments, memo, line, column, bias);\n\n const index = traceSegmentInternal(segments, memo, line, column, bias);\n if (index === -1) return GMapping(null, null);\n\n const segment = segments[index];\n return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);\n }\n }\n}\n\nfunction clone<T extends string | readonly SourceMapSegment[][]>(\n map: TraceMap | DecodedSourceMap | EncodedSourceMap,\n mappings: T,\n): T extends string ? EncodedSourceMap : DecodedSourceMap {\n return {\n version: map.version,\n file: map.file,\n names: map.names,\n sourceRoot: map.sourceRoot,\n sources: map.sources,\n sourcesContent: map.sourcesContent,\n mappings,\n } as any;\n}\n\nfunction OMapping(source: null, line: null, column: null, name: null): InvalidOriginalMapping;\nfunction OMapping(\n source: string,\n line: number,\n column: number,\n name: string | null,\n): OriginalMapping;\nfunction OMapping(\n source: string | null,\n line: number | null,\n column: number | null,\n name: string | null,\n): OriginalMapping | InvalidOriginalMapping {\n return { source, line, column, name } as any;\n}\n\nfunction GMapping(line: null, column: null): InvalidGeneratedMapping;\nfunction GMapping(line: number, column: number): GeneratedMapping;\nfunction GMapping(\n line: number | null,\n column: number | null,\n): GeneratedMapping | InvalidGeneratedMapping {\n return { line, column } as any;\n}\n\nfunction traceSegmentInternal(\n segments: SourceMapSegment[],\n memo: MemoState,\n line: number,\n column: number,\n bias: Bias,\n): number;\nfunction traceSegmentInternal(\n segments: ReverseSegment[],\n memo: MemoState,\n line: number,\n column: number,\n bias: Bias,\n): number;\nfunction traceSegmentInternal(\n segments: SourceMapSegment[] | ReverseSegment[],\n memo: MemoState,\n line: number,\n column: number,\n bias: Bias,\n): number {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (bsFound) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n } else if (bias === LEAST_UPPER_BOUND) index++;\n\n if (index === -1 || index === segments.length) return -1;\n return index;\n}\n\nfunction sliceGeneratedPositions(\n segments: ReverseSegment[],\n memo: MemoState,\n line: number,\n column: number,\n bias: Bias,\n): GeneratedMapping[] {\n let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);\n\n // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in\n // insertion order) segment that matched. Even if we did respect the bias when tracing, we would\n // still need to call `lowerBound()` to find the first segment, which is slower than just looking\n // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the\n // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to\n // match LEAST_UPPER_BOUND.\n if (!bsFound && bias === LEAST_UPPER_BOUND) min++;\n\n if (min === -1 || min === segments.length) return [];\n\n // We may have found the segment that started at an earlier column. If this is the case, then we\n // need to slice all generated segments that match _that_ column, because all such segments span\n // to our desired column.\n const matchedColumn = bsFound ? column : segments[min][COLUMN];\n\n // The binary search is not guaranteed to find the lower bound when a match wasn't found.\n if (!bsFound) min = lowerBound(segments, matchedColumn, min);\n const max = upperBound(segments, matchedColumn, min);\n\n const result = [];\n for (; min <= max; min++) {\n const segment = segments[min];\n result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));\n }\n return result;\n}\n"],"names":["resolveUri","presortedDecodedMap","decodedMappings","encodedMappings","traceSegment","originalPositionFor","generatedPositionFor","allGeneratedPositionsFor","eachMapping","sourceContentFor","decodedMap","encodedMap","encode","decode","bsFound"],"mappings":";;;;;;;;;;IAEc,SAAU,OAAO,CAAC,KAAa,EAAE,IAAwB,EAAA;;;;QAIrE,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,IAAI,GAAG,CAAC;IAE7C,IAAA,OAAOA,8BAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACjC;;ICTA;;IAEG;IACqB,SAAA,aAAa,CAAC,IAA+B,EAAA;IACnE,IAAA,IAAI,CAAC,IAAI;IAAE,QAAA,OAAO,EAAE,CAAC;QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC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,CAACA,KAAO,IAAI,IAAI,KAAK,iBAAiB;IAAE,QAAA,GAAG,EAAE,CAAC;QAElD,IAAI,GAAG,KAAK,CAAC,CAAC,IAAI,GAAG,KAAK,QAAQ,CAAC,MAAM;IAAE,QAAA,OAAO,EAAE,CAAC;;;;IAKrD,IAAA,MAAM,aAAa,GAAGA,KAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;;IAG/D,IAAA,IAAI,CAACA,KAAO;YAAE,GAAG,GAAG,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,CAAC,CAAC;QAC7D,MAAM,GAAG,GAAG,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,CAAC,CAAC;QAErD,MAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAA,OAAO,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,EAAE;IACxB,QAAA,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC9B,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACvF,KAAA;IACD,IAAA,OAAO,MAAM,CAAC;IAChB;;;;;;;;;;;;;"}
|
@@ -24,13 +24,13 @@ export declare let traceSegment: (map: TraceMap, line: number, column: number) =
|
|
24
24
|
*/
|
25
25
|
export declare let originalPositionFor: (map: TraceMap, needle: Needle) => OriginalMapping | InvalidOriginalMapping;
|
26
26
|
/**
|
27
|
-
* Finds the
|
28
|
-
* the found mapping is from the same source and line as the originalPositionFor mapping.
|
29
|
-
*
|
30
|
-
* Eg, in the code `let id = 1`, `originalPositionAfter` could find the mapping associated with `1`
|
31
|
-
* using the same needle that would return `id` when calling `originalPositionFor`.
|
27
|
+
* Finds the generated line/column position of the provided source/line/column source position.
|
32
28
|
*/
|
33
29
|
export declare let generatedPositionFor: (map: TraceMap, needle: SourceNeedle) => GeneratedMapping | InvalidGeneratedMapping;
|
30
|
+
/**
|
31
|
+
* Finds all generated line/column positions of the provided source/line/column source position.
|
32
|
+
*/
|
33
|
+
export declare let allGeneratedPositionsFor: (map: TraceMap, needle: SourceNeedle) => GeneratedMapping[];
|
34
34
|
/**
|
35
35
|
* Iterates each mapping in generated position order.
|
36
36
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { SourceMapSegment } from './sourcemap-segment';
|
2
|
-
import type { TraceMap } from './trace-mapping';
|
2
|
+
import type { GREATEST_LOWER_BOUND, LEAST_UPPER_BOUND, TraceMap } from './trace-mapping';
|
3
3
|
export interface SourceMapV3 {
|
4
4
|
file?: string | null;
|
5
5
|
names: string[];
|
@@ -46,18 +46,19 @@ export declare type InvalidGeneratedMapping = {
|
|
46
46
|
line: null;
|
47
47
|
column: null;
|
48
48
|
};
|
49
|
-
export declare type
|
50
|
-
export declare type
|
49
|
+
export declare type Bias = typeof GREATEST_LOWER_BOUND | typeof LEAST_UPPER_BOUND;
|
50
|
+
export declare type SourceMapInput = string | Ro<EncodedSourceMap> | Ro<DecodedSourceMap> | TraceMap;
|
51
|
+
export declare type SectionedSourceMapInput = SourceMapInput | Ro<SectionedSourceMap>;
|
51
52
|
export declare type Needle = {
|
52
53
|
line: number;
|
53
54
|
column: number;
|
54
|
-
bias?:
|
55
|
+
bias?: Bias;
|
55
56
|
};
|
56
57
|
export declare type SourceNeedle = {
|
57
58
|
source: string;
|
58
59
|
line: number;
|
59
60
|
column: number;
|
60
|
-
bias?:
|
61
|
+
bias?: Bias;
|
61
62
|
};
|
62
63
|
export declare type EachMapping = {
|
63
64
|
generatedLine: number;
|
@@ -83,3 +84,9 @@ export declare abstract class SourceMap {
|
|
83
84
|
sourcesContent: SourceMapV3['sourcesContent'];
|
84
85
|
resolvedSources: SourceMapV3['sources'];
|
85
86
|
}
|
87
|
+
export declare type Ro<T> = T extends Array<infer V> ? V[] | Readonly<V[]> | RoArray<V> | Readonly<RoArray<V>> : T extends object ? T | Readonly<T> | RoObject<T> | Readonly<RoObject<T>> : T;
|
88
|
+
declare type RoArray<T> = Ro<T>[];
|
89
|
+
declare type RoObject<T> = {
|
90
|
+
[K in keyof T]: T[K] | Ro<T[K]>;
|
91
|
+
};
|
92
|
+
export {};
|
@@ -1,62 +1,17 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
"name": "@jridgewell/trace-mapping",
|
3
|
+
"version": "0.3.20",
|
4
|
+
"description": "Trace the original position through a source map",
|
5
|
+
"keywords": [
|
6
|
+
"source",
|
7
|
+
"map"
|
7
8
|
],
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
12
|
-
|
13
|
-
"_phantomChildren": {},
|
14
|
-
"_requested": {
|
15
|
-
"type": "version",
|
16
|
-
"registry": true,
|
17
|
-
"raw": "@jridgewell/trace-mapping@0.3.14",
|
18
|
-
"name": "@jridgewell/trace-mapping",
|
19
|
-
"escapedName": "@jridgewell%2ftrace-mapping",
|
20
|
-
"scope": "@jridgewell",
|
21
|
-
"rawSpec": "0.3.14",
|
22
|
-
"saveSpec": null,
|
23
|
-
"fetchSpec": "0.3.14"
|
24
|
-
},
|
25
|
-
"_requiredBy": [
|
26
|
-
"/@babel/cli"
|
9
|
+
"main": "dist/trace-mapping.umd.js",
|
10
|
+
"module": "dist/trace-mapping.mjs",
|
11
|
+
"types": "dist/types/trace-mapping.d.ts",
|
12
|
+
"files": [
|
13
|
+
"dist"
|
27
14
|
],
|
28
|
-
"_resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz",
|
29
|
-
"_spec": "0.3.14",
|
30
|
-
"_where": "/home/sam/source/corellium/corellium-cli",
|
31
|
-
"author": {
|
32
|
-
"name": "Justin Ridgewell",
|
33
|
-
"email": "justin@ridgewell.name"
|
34
|
-
},
|
35
|
-
"bugs": {
|
36
|
-
"url": "https://github.com/jridgewell/trace-mapping/issues"
|
37
|
-
},
|
38
|
-
"dependencies": {
|
39
|
-
"@jridgewell/resolve-uri": "^3.0.3",
|
40
|
-
"@jridgewell/sourcemap-codec": "^1.4.10"
|
41
|
-
},
|
42
|
-
"description": "Trace the original position through a source map",
|
43
|
-
"devDependencies": {
|
44
|
-
"@rollup/plugin-typescript": "8.3.2",
|
45
|
-
"@typescript-eslint/eslint-plugin": "5.23.0",
|
46
|
-
"@typescript-eslint/parser": "5.23.0",
|
47
|
-
"ava": "4.2.0",
|
48
|
-
"benchmark": "2.1.4",
|
49
|
-
"c8": "7.11.2",
|
50
|
-
"esbuild": "0.14.38",
|
51
|
-
"esbuild-node-loader": "0.8.0",
|
52
|
-
"eslint": "8.15.0",
|
53
|
-
"eslint-config-prettier": "8.5.0",
|
54
|
-
"eslint-plugin-no-only-tests": "2.6.0",
|
55
|
-
"npm-run-all": "4.1.5",
|
56
|
-
"prettier": "2.6.2",
|
57
|
-
"rollup": "2.72.1",
|
58
|
-
"typescript": "4.6.4"
|
59
|
-
},
|
60
15
|
"exports": {
|
61
16
|
".": [
|
62
17
|
{
|
@@ -69,23 +24,12 @@
|
|
69
24
|
],
|
70
25
|
"./package.json": "./package.json"
|
71
26
|
},
|
72
|
-
"
|
73
|
-
"dist",
|
74
|
-
"src"
|
75
|
-
],
|
76
|
-
"homepage": "https://github.com/jridgewell/trace-mapping#readme",
|
77
|
-
"keywords": [
|
78
|
-
"source",
|
79
|
-
"map"
|
80
|
-
],
|
81
|
-
"license": "MIT",
|
82
|
-
"main": "dist/trace-mapping.umd.js",
|
83
|
-
"module": "dist/trace-mapping.mjs",
|
84
|
-
"name": "@jridgewell/trace-mapping",
|
27
|
+
"author": "Justin Ridgewell <justin@ridgewell.name>",
|
85
28
|
"repository": {
|
86
29
|
"type": "git",
|
87
30
|
"url": "git+https://github.com/jridgewell/trace-mapping.git"
|
88
31
|
},
|
32
|
+
"license": "MIT",
|
89
33
|
"scripts": {
|
90
34
|
"benchmark": "run-s build:rollup benchmark:*",
|
91
35
|
"benchmark:install": "cd benchmark && npm install",
|
@@ -107,6 +51,25 @@
|
|
107
51
|
"test:only": "c8 ava",
|
108
52
|
"test:watch": "ava --watch"
|
109
53
|
},
|
110
|
-
"
|
111
|
-
|
54
|
+
"devDependencies": {
|
55
|
+
"@rollup/plugin-typescript": "8.5.0",
|
56
|
+
"@typescript-eslint/eslint-plugin": "5.39.0",
|
57
|
+
"@typescript-eslint/parser": "5.39.0",
|
58
|
+
"ava": "4.3.3",
|
59
|
+
"benchmark": "2.1.4",
|
60
|
+
"c8": "7.12.0",
|
61
|
+
"esbuild": "0.15.10",
|
62
|
+
"eslint": "8.25.0",
|
63
|
+
"eslint-config-prettier": "8.5.0",
|
64
|
+
"eslint-plugin-no-only-tests": "3.0.0",
|
65
|
+
"npm-run-all": "4.1.5",
|
66
|
+
"prettier": "2.7.1",
|
67
|
+
"rollup": "2.79.1",
|
68
|
+
"tsx": "3.10.1",
|
69
|
+
"typescript": "4.8.4"
|
70
|
+
},
|
71
|
+
"dependencies": {
|
72
|
+
"@jridgewell/resolve-uri": "^3.1.0",
|
73
|
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
74
|
+
}
|
112
75
|
}
|
@@ -1,43 +1,23 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
"_inBundle": false,
|
11
|
-
"_integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
|
12
|
-
"_location": "/@nicolo-ribaudo/chokidar-2",
|
13
|
-
"_optional": true,
|
14
|
-
"_phantomChildren": {},
|
15
|
-
"_requested": {
|
16
|
-
"type": "version",
|
17
|
-
"registry": true,
|
18
|
-
"raw": "@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3",
|
19
|
-
"name": "@nicolo-ribaudo/chokidar-2",
|
20
|
-
"escapedName": "@nicolo-ribaudo%2fchokidar-2",
|
21
|
-
"scope": "@nicolo-ribaudo",
|
22
|
-
"rawSpec": "2.1.8-no-fsevents.3",
|
23
|
-
"saveSpec": null,
|
24
|
-
"fetchSpec": "2.1.8-no-fsevents.3"
|
2
|
+
"name": "@nicolo-ribaudo/chokidar-2",
|
3
|
+
"version": "2.1.8-no-fsevents.3",
|
4
|
+
"description": "A wrapper around chokidar@2 to be able to specify both @2 and @3 as dependencies",
|
5
|
+
"main": "./dist/main.js",
|
6
|
+
"types": "./types.d.ts",
|
7
|
+
"scripts": {
|
8
|
+
"build": "./build-chokidar.sh",
|
9
|
+
"bundle": "webpack ./chokidar/index.js -o ./dist -t node --mode development"
|
25
10
|
},
|
26
|
-
"
|
27
|
-
|
28
|
-
|
29
|
-
"
|
30
|
-
|
31
|
-
"_where": "/home/sam/source/corellium/corellium-cli",
|
32
|
-
"author": {
|
33
|
-
"name": "Nicolò Ribaudo",
|
34
|
-
"email": "nicolo.ribaudo@gmail.com"
|
11
|
+
"dependencies": {},
|
12
|
+
"author": "Nicolò Ribaudo <nicolo.ribaudo@gmail.com>",
|
13
|
+
"license": "MIT",
|
14
|
+
"publishConfig": {
|
15
|
+
"access": "public"
|
35
16
|
},
|
36
|
-
"
|
37
|
-
"
|
17
|
+
"repository": {
|
18
|
+
"type": "git",
|
19
|
+
"url": "https://github.com/nicolo-ribaudo/chokidar-2"
|
38
20
|
},
|
39
|
-
"dependencies": {},
|
40
|
-
"description": "A wrapper around chokidar@2 to be able to specify both @2 and @3 as dependencies",
|
41
21
|
"devDependencies": {
|
42
22
|
"anymatch": "^2.0.0",
|
43
23
|
"async-each": "^1.0.1",
|
@@ -52,22 +32,5 @@
|
|
52
32
|
"upath": "^1.1.1",
|
53
33
|
"webpack": "^5.53.0",
|
54
34
|
"webpack-cli": "^4.8.0"
|
55
|
-
}
|
56
|
-
"homepage": "https://github.com/nicolo-ribaudo/chokidar-2#readme",
|
57
|
-
"license": "MIT",
|
58
|
-
"main": "./dist/main.js",
|
59
|
-
"name": "@nicolo-ribaudo/chokidar-2",
|
60
|
-
"publishConfig": {
|
61
|
-
"access": "public"
|
62
|
-
},
|
63
|
-
"repository": {
|
64
|
-
"type": "git",
|
65
|
-
"url": "git+https://github.com/nicolo-ribaudo/chokidar-2.git"
|
66
|
-
},
|
67
|
-
"scripts": {
|
68
|
-
"build": "./build-chokidar.sh",
|
69
|
-
"bundle": "webpack ./chokidar/index.js -o ./dist -t node --mode development"
|
70
|
-
},
|
71
|
-
"types": "./types.d.ts",
|
72
|
-
"version": "2.1.8-no-fsevents.3"
|
35
|
+
}
|
73
36
|
}
|
@@ -1,90 +1,55 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
"color",
|
56
|
-
"colour",
|
57
|
-
"colors",
|
58
|
-
"terminal",
|
59
|
-
"console",
|
60
|
-
"cli",
|
61
|
-
"string",
|
62
|
-
"tty",
|
63
|
-
"escape",
|
64
|
-
"formatting",
|
65
|
-
"rgb",
|
66
|
-
"256",
|
67
|
-
"shell",
|
68
|
-
"xterm",
|
69
|
-
"command-line",
|
70
|
-
"text",
|
71
|
-
"regex",
|
72
|
-
"regexp",
|
73
|
-
"re",
|
74
|
-
"match",
|
75
|
-
"test",
|
76
|
-
"find",
|
77
|
-
"pattern"
|
78
|
-
],
|
79
|
-
"license": "MIT",
|
80
|
-
"name": "ansi-regex",
|
81
|
-
"repository": {
|
82
|
-
"type": "git",
|
83
|
-
"url": "git+https://github.com/chalk/ansi-regex.git"
|
84
|
-
},
|
85
|
-
"scripts": {
|
86
|
-
"test": "xo && ava && tsd",
|
87
|
-
"view-supported": "node fixtures/view-codes.js"
|
88
|
-
},
|
89
|
-
"version": "5.0.1"
|
2
|
+
"name": "ansi-regex",
|
3
|
+
"version": "5.0.1",
|
4
|
+
"description": "Regular expression for matching ANSI escape codes",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "chalk/ansi-regex",
|
7
|
+
"author": {
|
8
|
+
"name": "Sindre Sorhus",
|
9
|
+
"email": "sindresorhus@gmail.com",
|
10
|
+
"url": "sindresorhus.com"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=8"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"test": "xo && ava && tsd",
|
17
|
+
"view-supported": "node fixtures/view-codes.js"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"index.js",
|
21
|
+
"index.d.ts"
|
22
|
+
],
|
23
|
+
"keywords": [
|
24
|
+
"ansi",
|
25
|
+
"styles",
|
26
|
+
"color",
|
27
|
+
"colour",
|
28
|
+
"colors",
|
29
|
+
"terminal",
|
30
|
+
"console",
|
31
|
+
"cli",
|
32
|
+
"string",
|
33
|
+
"tty",
|
34
|
+
"escape",
|
35
|
+
"formatting",
|
36
|
+
"rgb",
|
37
|
+
"256",
|
38
|
+
"shell",
|
39
|
+
"xterm",
|
40
|
+
"command-line",
|
41
|
+
"text",
|
42
|
+
"regex",
|
43
|
+
"regexp",
|
44
|
+
"re",
|
45
|
+
"match",
|
46
|
+
"test",
|
47
|
+
"find",
|
48
|
+
"pattern"
|
49
|
+
],
|
50
|
+
"devDependencies": {
|
51
|
+
"ava": "^2.4.0",
|
52
|
+
"tsd": "^0.9.0",
|
53
|
+
"xo": "^0.25.3"
|
54
|
+
}
|
90
55
|
}
|