{"_id":"@jridgewell/sourcemap-codec","_rev":"278408","name":"@jridgewell/sourcemap-codec","description":"Encode/decode sourcemap mappings","dist-tags":{"latest":"1.4.15"},"maintainers":[{"name":"jridgewell","email":""}],"time":{"modified":"2023-09-20T17:52:30.000Z","created":"2022-02-05T04:51:19.912Z","1.4.15":"2023-04-07T02:43:01.666Z","1.4.14":"2022-06-26T16:53:35.725Z","1.4.13":"2022-05-05T21:38:32.817Z","1.4.12":"2022-05-02T21:13:43.832Z","1.4.11":"2022-02-11T08:39:40.389Z","1.4.10":"2022-02-05T11:34:58.044Z","1.4.9":"2022-02-05T04:51:19.912Z"},"users":{},"author":{"name":"Rich Harris"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"versions":{"1.4.15":{"name":"@jridgewell/sourcemap-codec","version":"1.4.15","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","types":"dist/types/sourcemap-codec.d.ts","exports":{".":[{"types":"./dist/types/sourcemap-codec.d.ts","browser":"./dist/sourcemap-codec.umd.js","require":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs"},"./dist/sourcemap-codec.umd.js"],"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:*","benchmark:install":"cd benchmark && npm install","benchmark:only":"node --expose-gc benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.2","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"f3d95b857d24fc3f1692dec4d1ed724fe12488a3","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.15","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"d7c6e6755c78567a951e04ab52ef0fd26de59f32","size":8932,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.15.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.15.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.15_1680835381487_0.14823397894902168"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-07T02:43:01.666Z","publish_time":1680835381666,"_cnpm_publish_time":1680835381666},"1.4.14":{"name":"@jridgewell/sourcemap-codec","version":"1.4.14","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":[{"types":"./dist/types/sourcemap-codec.d.ts","browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./dist/sourcemap-codec.umd.js"],"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:*","benchmark:install":"cd benchmark && npm install","benchmark:only":"node --expose-gc benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.2","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"802e17965c9b5694b338412618a1b32bd07af166","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.14","_nodeVersion":"17.6.0","_npmVersion":"8.5.1","dist":{"shasum":"add4c98d341472a289190b424efbdb096991bb24","size":8387,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.14.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.14.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.14_1656262415475_0.6095138931654185"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-26T16:53:38.117Z","publish_time":1656262415725,"_cnpm_publish_time":1656262415725},"1.4.13":{"name":"@jridgewell/sourcemap-codec","version":"1.4.13","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":{"types":"./dist/types/sourcemap-codec.d.ts","browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:*","benchmark:install":"cd benchmark && npm install","benchmark:only":"node --expose-gc benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.2","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"3090a00f554f0d83110e3de232eeac3109634a0f","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.13","_nodeVersion":"17.6.0","_npmVersion":"8.5.1","dist":{"shasum":"b6461fb0c2964356c469e115f504c95ad97ab88c","size":7775,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.13.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.13.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.13_1651786712646_0.9068072624866026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-05T21:45:33.367Z","publish_time":1651786712817,"_cnpm_publish_time":1651786712817},"1.4.12":{"name":"@jridgewell/sourcemap-codec","version":"1.4.12","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":{"browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:*","benchmark:install":"cd benchmark && npm install","benchmark:only":"node --expose-gc benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"1407758616bf08ad8807c0c6380fda85567a158d","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.12","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"shasum":"7ed98f6fa525ffb7c56a2cbecb5f7bb91abd2baf","size":7803,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.12.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.12.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.12_1651526023647_0.29960361655136225"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-02T21:13:51.487Z","publish_time":1651526023832,"_cnpm_publish_time":1651526023832},"1.4.11":{"name":"@jridgewell/sourcemap-codec","version":"1.4.11","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":{"browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:only","benchmark:only":"node benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"2e11c3357477c5715fbb139687b9b38da1310b0a","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.11","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec","size":6674,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.11.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.11.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.11_1644568780215_0.44314274303373513"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-11T08:40:30.744Z","publish_time":1644568780389,"_cnpm_publish_time":1644568780389},"1.4.10":{"name":"@jridgewell/sourcemap-codec","version":"1.4.10","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":{"browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:only","benchmark:only":"node benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"2464a2b0da325a4c918ebc6e5668d2104fbac624","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.10","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"baf57b4e2a690d4f38560171f91783656b7f8186","size":6674,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.10.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.10.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.10_1644060897901_0.6871697945298141"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-05T11:35:04.885Z","publish_time":1644060898044,"_cnpm_publish_time":1644060898044},"1.4.9":{"name":"@jridgewell/sourcemap-codec","version":"1.4.9","description":"Encode/decode sourcemap mappings","keywords":["sourcemap","vlq"],"main":"dist/sourcemap-codec.umd.js","module":"dist/sourcemap-codec.mjs","typings":"dist/types/sourcemap-codec.d.ts","exports":{".":{"browser":"./dist/sourcemap-codec.umd.js","import":"./dist/sourcemap-codec.mjs","require":"./dist/sourcemap-codec.umd.js"},"./package.json":"./package.json"},"scripts":{"benchmark":"run-s build:rollup benchmark:only","benchmark:only":"node benchmark/index.js","build":"run-s -n build:*","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc --project tsconfig.build.json","lint":"run-s -n lint:*","lint:prettier":"npm run test:lint:prettier -- --write","lint:ts":"npm run test:lint:ts -- --fix","prebuild":"rm -rf dist","prepublishOnly":"npm run preversion","preversion":"run-s test build","pretest":"run-s build:rollup","test":"run-s -n test:lint test:only","test:debug":"mocha --inspect-brk","test:lint":"run-s -n test:lint:*","test:lint:prettier":"prettier --check '{src,test}/**/*.ts'","test:lint:ts":"eslint '{src,test}/**/*.ts'","test:only":"mocha","test:coverage":"c8 mocha","test:watch":"mocha --watch"},"repository":{"type":"git","url":"git+https://github.com/jridgewell/sourcemap-codec.git"},"author":{"name":"Rich Harris"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"8.3.0","@types/node":"17.0.15","@typescript-eslint/eslint-plugin":"5.10.0","@typescript-eslint/parser":"5.10.0","benchmark":"2.1.4","c8":"7.11.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","mocha":"9.2.0","npm-run-all":"4.1.5","prettier":"2.5.1","rollup":"2.64.0","source-map":"0.6.1","source-map-js":"1.0.2","sourcemap-codec":"1.4.8","typescript":"4.5.4"},"gitHead":"6e2f9e80f7ba29ad1856f0862ab4ae834be88045","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","_id":"@jridgewell/sourcemap-codec@1.4.9","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"6963babca1e1b8a8dc1c379bd4bd2bf9c21c356a","size":6845,"noattachment":false,"key":"/@jridgewell/sourcemap-codec/-/@jridgewell/sourcemap-codec-1.4.9.tgz","tarball":"http://name.csiicloud.com:7001/@jridgewell/sourcemap-codec/download/@jridgewell/sourcemap-codec-1.4.9.tgz"},"_npmUser":{"name":"jridgewell","email":"justin+npm@ridgewell.name"},"directories":{},"maintainers":[{"name":"jridgewell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sourcemap-codec_1.4.9_1644036679758_0.8290789718945382"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-05T04:51:28.061Z","publish_time":1644036679912,"_cnpm_publish_time":1644036679912}},"readme":"# @jridgewell/sourcemap-codec\n\nEncode/decode the `mappings` property of a [sourcemap](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit).\n\n\n## Why?\n\nSourcemaps are difficult to generate and manipulate, because the `mappings` property – the part that actually links the generated code back to the original source – is encoded using an obscure method called [Variable-length quantity](https://en.wikipedia.org/wiki/Variable-length_quantity). On top of that, each segment in the mapping contains offsets rather than absolute indices, which means that you can't look at a segment in isolation – you have to understand the whole sourcemap.\n\nThis package makes the process slightly easier.\n\n\n## Installation\n\n```bash\nnpm install @jridgewell/sourcemap-codec\n```\n\n\n## Usage\n\n```js\nimport { encode, decode } from '@jridgewell/sourcemap-codec';\n\nvar decoded = decode( ';EAEEA,EAAE,EAAC,CAAE;ECQY,UACC' );\n\nassert.deepEqual( decoded, [\n\t// the first line (of the generated code) has no mappings,\n\t// as shown by the starting semi-colon (which separates lines)\n\t[],\n\n\t// the second line contains four (comma-separated) segments\n\t[\n\t\t// segments are encoded as you'd expect:\n\t\t// [ generatedCodeColumn, sourceIndex, sourceCodeLine, sourceCodeColumn, nameIndex ]\n\n\t\t// i.e. the first segment begins at column 2, and maps back to the second column\n\t\t// of the second line (both zero-based) of the 0th source, and uses the 0th\n\t\t// name in the `map.names` array\n\t\t[ 2, 0, 2, 2, 0 ],\n\n\t\t// the remaining segments are 4-length rather than 5-length,\n\t\t// because they don't map a name\n\t\t[ 4, 0, 2, 4 ],\n\t\t[ 6, 0, 2, 5 ],\n\t\t[ 7, 0, 2, 7 ]\n\t],\n\n\t// the final line contains two segments\n\t[\n\t\t[ 2, 1, 10, 19 ],\n\t\t[ 12, 1, 11, 20 ]\n\t]\n]);\n\nvar encoded = encode( decoded );\nassert.equal( encoded, ';EAEEA,EAAE,EAAC,CAAE;ECQY,UACC' );\n```\n\n## Benchmarks\n\n```\nnode v18.0.0\n\namp.js.map - 45120 segments\n\nDecode Memory Usage:\n@jridgewell/sourcemap-codec       5479160 bytes\nsourcemap-codec                   5659336 bytes\nsource-map-0.6.1                 17144440 bytes\nsource-map-0.8.0                  6867424 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nDecode speed:\ndecode: @jridgewell/sourcemap-codec x 502 ops/sec ±1.03% (90 runs sampled)\ndecode: sourcemap-codec x 445 ops/sec ±0.97% (92 runs sampled)\ndecode: source-map-0.6.1 x 36.01 ops/sec ±1.64% (49 runs sampled)\ndecode: source-map-0.8.0 x 367 ops/sec ±0.04% (95 runs sampled)\nFastest is decode: @jridgewell/sourcemap-codec\n\nEncode Memory Usage:\n@jridgewell/sourcemap-codec       1261620 bytes\nsourcemap-codec                   9119248 bytes\nsource-map-0.6.1                  8968560 bytes\nsource-map-0.8.0                  8952952 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nEncode speed:\nencode: @jridgewell/sourcemap-codec x 738 ops/sec ±0.42% (98 runs sampled)\nencode: sourcemap-codec x 238 ops/sec ±0.73% (88 runs sampled)\nencode: source-map-0.6.1 x 162 ops/sec ±0.43% (84 runs sampled)\nencode: source-map-0.8.0 x 191 ops/sec ±0.34% (90 runs sampled)\nFastest is encode: @jridgewell/sourcemap-codec\n\n\n***\n\n\nbabel.min.js.map - 347793 segments\n\nDecode Memory Usage:\n@jridgewell/sourcemap-codec      35338184 bytes\nsourcemap-codec                  35922736 bytes\nsource-map-0.6.1                 62366360 bytes\nsource-map-0.8.0                 44337416 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nDecode speed:\ndecode: @jridgewell/sourcemap-codec x 40.35 ops/sec ±4.47% (54 runs sampled)\ndecode: sourcemap-codec x 36.76 ops/sec ±3.67% (51 runs sampled)\ndecode: source-map-0.6.1 x 4.44 ops/sec ±2.15% (16 runs sampled)\ndecode: source-map-0.8.0 x 59.35 ops/sec ±0.05% (78 runs sampled)\nFastest is decode: source-map-0.8.0\n\nEncode Memory Usage:\n@jridgewell/sourcemap-codec       7212604 bytes\nsourcemap-codec                  21421456 bytes\nsource-map-0.6.1                 25286888 bytes\nsource-map-0.8.0                 25498744 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nEncode speed:\nencode: @jridgewell/sourcemap-codec x 112 ops/sec ±0.13% (84 runs sampled)\nencode: sourcemap-codec x 30.23 ops/sec ±2.76% (53 runs sampled)\nencode: source-map-0.6.1 x 19.43 ops/sec ±3.70% (37 runs sampled)\nencode: source-map-0.8.0 x 19.40 ops/sec ±3.26% (37 runs sampled)\nFastest is encode: @jridgewell/sourcemap-codec\n\n\n***\n\n\npreact.js.map - 1992 segments\n\nDecode Memory Usage:\n@jridgewell/sourcemap-codec        500272 bytes\nsourcemap-codec                    516864 bytes\nsource-map-0.6.1                  1596672 bytes\nsource-map-0.8.0                   517272 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nDecode speed:\ndecode: @jridgewell/sourcemap-codec x 16,137 ops/sec ±0.17% (99 runs sampled)\ndecode: sourcemap-codec x 12,139 ops/sec ±0.13% (99 runs sampled)\ndecode: source-map-0.6.1 x 1,264 ops/sec ±0.12% (100 runs sampled)\ndecode: source-map-0.8.0 x 9,894 ops/sec ±0.08% (101 runs sampled)\nFastest is decode: @jridgewell/sourcemap-codec\n\nEncode Memory Usage:\n@jridgewell/sourcemap-codec        321026 bytes\nsourcemap-codec                    830832 bytes\nsource-map-0.6.1                   586608 bytes\nsource-map-0.8.0                   586680 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nEncode speed:\nencode: @jridgewell/sourcemap-codec x 19,876 ops/sec ±0.78% (95 runs sampled)\nencode: sourcemap-codec x 6,983 ops/sec ±0.15% (100 runs sampled)\nencode: source-map-0.6.1 x 5,070 ops/sec ±0.12% (102 runs sampled)\nencode: source-map-0.8.0 x 5,641 ops/sec ±0.17% (100 runs sampled)\nFastest is encode: @jridgewell/sourcemap-codec\n\n\n***\n\n\nreact.js.map - 5726 segments\n\nDecode Memory Usage:\n@jridgewell/sourcemap-codec        734848 bytes\nsourcemap-codec                    954200 bytes\nsource-map-0.6.1                  2276432 bytes\nsource-map-0.8.0                   955488 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nDecode speed:\ndecode: @jridgewell/sourcemap-codec x 5,723 ops/sec ±0.12% (98 runs sampled)\ndecode: sourcemap-codec x 4,555 ops/sec ±0.09% (101 runs sampled)\ndecode: source-map-0.6.1 x 437 ops/sec ±0.11% (93 runs sampled)\ndecode: source-map-0.8.0 x 3,441 ops/sec ±0.15% (100 runs sampled)\nFastest is decode: @jridgewell/sourcemap-codec\n\nEncode Memory Usage:\n@jridgewell/sourcemap-codec        638672 bytes\nsourcemap-codec                   1109840 bytes\nsource-map-0.6.1                  1321224 bytes\nsource-map-0.8.0                  1324448 bytes\nSmallest memory usage is @jridgewell/sourcemap-codec\n\nEncode speed:\nencode: @jridgewell/sourcemap-codec x 6,801 ops/sec ±0.48% (98 runs sampled)\nencode: sourcemap-codec x 2,533 ops/sec ±0.13% (101 runs sampled)\nencode: source-map-0.6.1 x 2,248 ops/sec ±0.08% (100 runs sampled)\nencode: source-map-0.8.0 x 2,303 ops/sec ±0.15% (100 runs sampled)\nFastest is encode: @jridgewell/sourcemap-codec\n```\n\n# License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/jridgewell/sourcemap-codec#readme","bugs":{"url":"https://github.com/jridgewell/sourcemap-codec/issues"},"license":"MIT"}