| 1 |
{ |
| 2 |
"_id": "webpack-sources", |
| 3 |
"_rev": "44-7d7d2272c602119826f530d25ba5fa28", |
| 4 |
"name": "webpack-sources", |
| 5 |
"description": "Source code handling classes for webpack", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.2.0", |
| 8 |
"beta": "2.0.0-beta.10" |
| 9 |
}, |
| 10 |
"versions": { |
| 11 |
"0.1.0": { |
| 12 |
"name": "webpack-sources", |
| 13 |
"version": "0.1.0", |
| 14 |
"description": "Source code handling classes for webpack", |
| 15 |
"main": "./lib/index.js", |
| 16 |
"scripts": { |
| 17 |
"pretest": "npm run lint && npm run beautify-lint", |
| 18 |
"test": "mocha --full-trace --check-leaks", |
| 19 |
"travis": "npm run cover -- --report lcovonly", |
| 20 |
"lint": "eslint lib test", |
| 21 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 22 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 23 |
"precover": "npm run lint && npm run beautify-lint", |
| 24 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 25 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 26 |
}, |
| 27 |
"dependencies": { |
| 28 |
"source-map": "~0.5.3", |
| 29 |
"source-list-map": "~0.1.0" |
| 30 |
}, |
| 31 |
"devDependencies": { |
| 32 |
"beautify-lint": "^1.0.3", |
| 33 |
"codecov.io": "^0.1.6", |
| 34 |
"coveralls": "^2.11.6", |
| 35 |
"eslint": "^1.1.0", |
| 36 |
"eslint-plugin-nodeca": "^1.0.3", |
| 37 |
"istanbul": "^0.4.1", |
| 38 |
"js-beautify": "^1.5.10", |
| 39 |
"mocha": "^2.3.4", |
| 40 |
"should": "^8.0.2" |
| 41 |
}, |
| 42 |
"repository": { |
| 43 |
"type": "git", |
| 44 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 45 |
}, |
| 46 |
"keywords": [ |
| 47 |
"webpack", |
| 48 |
"source-map" |
| 49 |
], |
| 50 |
"author": { |
| 51 |
"name": "Tobias Koppers @sokra" |
| 52 |
}, |
| 53 |
"license": "MIT", |
| 54 |
"bugs": { |
| 55 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 56 |
}, |
| 57 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 58 |
"_id": "[email protected]", |
| 59 |
"_shasum": "c814e701c276b83dfd512a19c4fcc3e6052aefde", |
| 60 |
"_from": ".", |
| 61 |
"_npmVersion": "2.10.1", |
| 62 |
"_nodeVersion": "0.12.4", |
| 63 |
"_npmUser": { |
| 64 |
"name": "sokra", |
| 65 |
"email": "[email protected]" |
| 66 |
}, |
| 67 |
"maintainers": [ |
| 68 |
{ |
| 69 |
"name": "sokra", |
| 70 |
"email": "[email protected]" |
| 71 |
} |
| 72 |
], |
| 73 |
"dist": { |
| 74 |
"shasum": "c814e701c276b83dfd512a19c4fcc3e6052aefde", |
| 75 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.0.tgz" |
| 76 |
}, |
| 77 |
"directories": {} |
| 78 |
}, |
| 79 |
"0.1.1": { |
| 80 |
"name": "webpack-sources", |
| 81 |
"version": "0.1.1", |
| 82 |
"description": "Source code handling classes for webpack", |
| 83 |
"main": "./lib/index.js", |
| 84 |
"scripts": { |
| 85 |
"pretest": "npm run lint && npm run beautify-lint", |
| 86 |
"test": "mocha --full-trace --check-leaks", |
| 87 |
"travis": "npm run cover -- --report lcovonly", |
| 88 |
"lint": "eslint lib test", |
| 89 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 90 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 91 |
"precover": "npm run lint && npm run beautify-lint", |
| 92 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 93 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 94 |
}, |
| 95 |
"dependencies": { |
| 96 |
"source-map": "~0.5.3", |
| 97 |
"source-list-map": "~0.1.0" |
| 98 |
}, |
| 99 |
"devDependencies": { |
| 100 |
"beautify-lint": "^1.0.3", |
| 101 |
"codecov.io": "^0.1.6", |
| 102 |
"coveralls": "^2.11.6", |
| 103 |
"eslint": "^1.1.0", |
| 104 |
"eslint-plugin-nodeca": "^1.0.3", |
| 105 |
"istanbul": "^0.4.1", |
| 106 |
"js-beautify": "^1.5.10", |
| 107 |
"mocha": "^2.3.4", |
| 108 |
"should": "^8.0.2" |
| 109 |
}, |
| 110 |
"repository": { |
| 111 |
"type": "git", |
| 112 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 113 |
}, |
| 114 |
"keywords": [ |
| 115 |
"webpack", |
| 116 |
"source-map" |
| 117 |
], |
| 118 |
"author": { |
| 119 |
"name": "Tobias Koppers @sokra" |
| 120 |
}, |
| 121 |
"license": "MIT", |
| 122 |
"bugs": { |
| 123 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 124 |
}, |
| 125 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 126 |
"gitHead": "7e24cdd86d071ddff82c5750b83916e30e1934cf", |
| 127 |
"_id": "[email protected]", |
| 128 |
"_shasum": "a71dd7c0ca3e264af088804bc384d93fad0442b6", |
| 129 |
"_from": ".", |
| 130 |
"_npmVersion": "3.3.3", |
| 131 |
"_nodeVersion": "5.4.1", |
| 132 |
"_npmUser": { |
| 133 |
"name": "sokra", |
| 134 |
"email": "[email protected]" |
| 135 |
}, |
| 136 |
"dist": { |
| 137 |
"shasum": "a71dd7c0ca3e264af088804bc384d93fad0442b6", |
| 138 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.1.tgz" |
| 139 |
}, |
| 140 |
"maintainers": [ |
| 141 |
{ |
| 142 |
"name": "sokra", |
| 143 |
"email": "[email protected]" |
| 144 |
} |
| 145 |
], |
| 146 |
"directories": {} |
| 147 |
}, |
| 148 |
"0.1.2": { |
| 149 |
"name": "webpack-sources", |
| 150 |
"version": "0.1.2", |
| 151 |
"description": "Source code handling classes for webpack", |
| 152 |
"main": "./lib/index.js", |
| 153 |
"scripts": { |
| 154 |
"pretest": "npm run lint && npm run beautify-lint", |
| 155 |
"test": "mocha --full-trace --check-leaks", |
| 156 |
"travis": "npm run cover -- --report lcovonly", |
| 157 |
"lint": "eslint lib test", |
| 158 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 159 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 160 |
"precover": "npm run lint && npm run beautify-lint", |
| 161 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 162 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 163 |
}, |
| 164 |
"dependencies": { |
| 165 |
"source-map": "~0.5.3", |
| 166 |
"source-list-map": "~0.1.0" |
| 167 |
}, |
| 168 |
"devDependencies": { |
| 169 |
"beautify-lint": "^1.0.3", |
| 170 |
"codecov.io": "^0.1.6", |
| 171 |
"coveralls": "^2.11.6", |
| 172 |
"eslint": "^1.1.0", |
| 173 |
"eslint-plugin-nodeca": "^1.0.3", |
| 174 |
"istanbul": "^0.4.1", |
| 175 |
"js-beautify": "^1.5.10", |
| 176 |
"mocha": "^2.3.4", |
| 177 |
"should": "^8.0.2" |
| 178 |
}, |
| 179 |
"repository": { |
| 180 |
"type": "git", |
| 181 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 182 |
}, |
| 183 |
"keywords": [ |
| 184 |
"webpack", |
| 185 |
"source-map" |
| 186 |
], |
| 187 |
"author": { |
| 188 |
"name": "Tobias Koppers @sokra" |
| 189 |
}, |
| 190 |
"license": "MIT", |
| 191 |
"bugs": { |
| 192 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 193 |
}, |
| 194 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 195 |
"gitHead": "ab33c46cb6cc67505e0b8ccc99fed55f1cafc922", |
| 196 |
"_id": "[email protected]", |
| 197 |
"_shasum": "057a3f3255f8ba561b901d9150589aa103a57e65", |
| 198 |
"_from": ".", |
| 199 |
"_npmVersion": "3.3.3", |
| 200 |
"_nodeVersion": "5.4.1", |
| 201 |
"_npmUser": { |
| 202 |
"name": "sokra", |
| 203 |
"email": "[email protected]" |
| 204 |
}, |
| 205 |
"dist": { |
| 206 |
"shasum": "057a3f3255f8ba561b901d9150589aa103a57e65", |
| 207 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.2.tgz" |
| 208 |
}, |
| 209 |
"maintainers": [ |
| 210 |
{ |
| 211 |
"name": "sokra", |
| 212 |
"email": "[email protected]" |
| 213 |
} |
| 214 |
], |
| 215 |
"_npmOperationalInternal": { |
| 216 |
"host": "packages-16-east.internal.npmjs.com", |
| 217 |
"tmp": "tmp/webpack-sources-0.1.2.tgz_1461278357602_0.4156553049106151" |
| 218 |
}, |
| 219 |
"directories": {} |
| 220 |
}, |
| 221 |
"0.1.3": { |
| 222 |
"name": "webpack-sources", |
| 223 |
"version": "0.1.3", |
| 224 |
"description": "Source code handling classes for webpack", |
| 225 |
"main": "./lib/index.js", |
| 226 |
"scripts": { |
| 227 |
"pretest": "npm run lint && npm run beautify-lint", |
| 228 |
"test": "mocha --full-trace --check-leaks", |
| 229 |
"travis": "npm run cover -- --report lcovonly", |
| 230 |
"lint": "eslint lib test", |
| 231 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 232 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 233 |
"precover": "npm run lint && npm run beautify-lint", |
| 234 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 235 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 236 |
}, |
| 237 |
"dependencies": { |
| 238 |
"source-map": "~0.5.3", |
| 239 |
"source-list-map": "~0.1.0" |
| 240 |
}, |
| 241 |
"devDependencies": { |
| 242 |
"beautify-lint": "^1.0.3", |
| 243 |
"codecov.io": "^0.1.6", |
| 244 |
"coveralls": "^2.11.6", |
| 245 |
"eslint": "^1.1.0", |
| 246 |
"eslint-plugin-nodeca": "^1.0.3", |
| 247 |
"istanbul": "^0.4.1", |
| 248 |
"js-beautify": "^1.5.10", |
| 249 |
"mocha": "^2.3.4", |
| 250 |
"should": "^8.0.2" |
| 251 |
}, |
| 252 |
"repository": { |
| 253 |
"type": "git", |
| 254 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 255 |
}, |
| 256 |
"keywords": [ |
| 257 |
"webpack", |
| 258 |
"source-map" |
| 259 |
], |
| 260 |
"author": { |
| 261 |
"name": "Tobias Koppers @sokra" |
| 262 |
}, |
| 263 |
"license": "MIT", |
| 264 |
"bugs": { |
| 265 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 266 |
}, |
| 267 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 268 |
"gitHead": "fb0ed29f0e1bedbd87967011556faa7644f5a1e8", |
| 269 |
"_id": "[email protected]", |
| 270 |
"_shasum": "15ce2fb79d0a1da727444ba7c757bf164294f310", |
| 271 |
"_from": ".", |
| 272 |
"_npmVersion": "3.3.3", |
| 273 |
"_nodeVersion": "6.9.1", |
| 274 |
"_npmUser": { |
| 275 |
"name": "sokra", |
| 276 |
"email": "[email protected]" |
| 277 |
}, |
| 278 |
"dist": { |
| 279 |
"shasum": "15ce2fb79d0a1da727444ba7c757bf164294f310", |
| 280 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.3.tgz" |
| 281 |
}, |
| 282 |
"maintainers": [ |
| 283 |
{ |
| 284 |
"name": "sokra", |
| 285 |
"email": "[email protected]" |
| 286 |
} |
| 287 |
], |
| 288 |
"_npmOperationalInternal": { |
| 289 |
"host": "packages-12-west.internal.npmjs.com", |
| 290 |
"tmp": "tmp/webpack-sources-0.1.3.tgz_1478966594151_0.9760280998889357" |
| 291 |
}, |
| 292 |
"directories": {} |
| 293 |
}, |
| 294 |
"0.1.4": { |
| 295 |
"name": "webpack-sources", |
| 296 |
"version": "0.1.4", |
| 297 |
"description": "Source code handling classes for webpack", |
| 298 |
"main": "./lib/index.js", |
| 299 |
"scripts": { |
| 300 |
"pretest": "npm run lint && npm run beautify-lint", |
| 301 |
"test": "mocha --full-trace --check-leaks", |
| 302 |
"travis": "npm run cover -- --report lcovonly", |
| 303 |
"lint": "eslint lib test", |
| 304 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 305 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 306 |
"precover": "npm run lint && npm run beautify-lint", |
| 307 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 308 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 309 |
}, |
| 310 |
"dependencies": { |
| 311 |
"source-map": "~0.5.3", |
| 312 |
"source-list-map": "~0.1.7" |
| 313 |
}, |
| 314 |
"devDependencies": { |
| 315 |
"beautify-lint": "^1.0.3", |
| 316 |
"codecov.io": "^0.1.6", |
| 317 |
"coveralls": "^2.11.6", |
| 318 |
"eslint": "^1.1.0", |
| 319 |
"eslint-plugin-nodeca": "^1.0.3", |
| 320 |
"istanbul": "^0.4.1", |
| 321 |
"js-beautify": "^1.5.10", |
| 322 |
"mocha": "^2.3.4", |
| 323 |
"should": "^8.0.2" |
| 324 |
}, |
| 325 |
"files": [ |
| 326 |
"lib/" |
| 327 |
], |
| 328 |
"repository": { |
| 329 |
"type": "git", |
| 330 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 331 |
}, |
| 332 |
"keywords": [ |
| 333 |
"webpack", |
| 334 |
"source-map" |
| 335 |
], |
| 336 |
"author": { |
| 337 |
"name": "Tobias Koppers @sokra" |
| 338 |
}, |
| 339 |
"license": "MIT", |
| 340 |
"bugs": { |
| 341 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 342 |
}, |
| 343 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 344 |
"gitHead": "9ebc91cf8d8b5eac523230cd31fd6789606598cd", |
| 345 |
"_id": "[email protected]", |
| 346 |
"_shasum": "ccc2c817e08e5fa393239412690bb481821393cd", |
| 347 |
"_from": ".", |
| 348 |
"_npmVersion": "3.10.8", |
| 349 |
"_nodeVersion": "6.9.1", |
| 350 |
"_npmUser": { |
| 351 |
"name": "sokra", |
| 352 |
"email": "[email protected]" |
| 353 |
}, |
| 354 |
"dist": { |
| 355 |
"shasum": "ccc2c817e08e5fa393239412690bb481821393cd", |
| 356 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.4.tgz" |
| 357 |
}, |
| 358 |
"maintainers": [ |
| 359 |
{ |
| 360 |
"name": "sokra", |
| 361 |
"email": "[email protected]" |
| 362 |
} |
| 363 |
], |
| 364 |
"_npmOperationalInternal": { |
| 365 |
"host": "packages-12-west.internal.npmjs.com", |
| 366 |
"tmp": "tmp/webpack-sources-0.1.4.tgz_1484494496673_0.4281313957180828" |
| 367 |
}, |
| 368 |
"directories": {} |
| 369 |
}, |
| 370 |
"0.1.5": { |
| 371 |
"name": "webpack-sources", |
| 372 |
"version": "0.1.5", |
| 373 |
"description": "Source code handling classes for webpack", |
| 374 |
"main": "./lib/index.js", |
| 375 |
"scripts": { |
| 376 |
"pretest": "npm run lint && npm run beautify-lint", |
| 377 |
"test": "mocha --full-trace --check-leaks", |
| 378 |
"travis": "npm run cover -- --report lcovonly", |
| 379 |
"lint": "eslint lib test", |
| 380 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 381 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 382 |
"precover": "npm run lint && npm run beautify-lint", |
| 383 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 384 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 385 |
}, |
| 386 |
"dependencies": { |
| 387 |
"source-map": "~0.5.3", |
| 388 |
"source-list-map": "~0.1.7" |
| 389 |
}, |
| 390 |
"devDependencies": { |
| 391 |
"beautify-lint": "^1.0.3", |
| 392 |
"codecov.io": "^0.1.6", |
| 393 |
"coveralls": "^2.11.6", |
| 394 |
"eslint": "^1.1.0", |
| 395 |
"eslint-plugin-nodeca": "^1.0.3", |
| 396 |
"istanbul": "^0.4.1", |
| 397 |
"js-beautify": "^1.5.10", |
| 398 |
"mocha": "^2.3.4", |
| 399 |
"should": "^8.0.2" |
| 400 |
}, |
| 401 |
"files": [ |
| 402 |
"lib/" |
| 403 |
], |
| 404 |
"repository": { |
| 405 |
"type": "git", |
| 406 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 407 |
}, |
| 408 |
"keywords": [ |
| 409 |
"webpack", |
| 410 |
"source-map" |
| 411 |
], |
| 412 |
"author": { |
| 413 |
"name": "Tobias Koppers @sokra" |
| 414 |
}, |
| 415 |
"license": "MIT", |
| 416 |
"bugs": { |
| 417 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 418 |
}, |
| 419 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 420 |
"gitHead": "d4cbf577bc12570c079c1aed4ad8c196b6c919d5", |
| 421 |
"_id": "[email protected]", |
| 422 |
"_shasum": "aa1f3abf0f0d74db7111c40e500b84f966640750", |
| 423 |
"_from": ".", |
| 424 |
"_npmVersion": "4.1.2", |
| 425 |
"_nodeVersion": "7.7.1", |
| 426 |
"_npmUser": { |
| 427 |
"name": "thelarkinn", |
| 428 |
"email": "[email protected]" |
| 429 |
}, |
| 430 |
"dist": { |
| 431 |
"shasum": "aa1f3abf0f0d74db7111c40e500b84f966640750", |
| 432 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz" |
| 433 |
}, |
| 434 |
"maintainers": [ |
| 435 |
{ |
| 436 |
"name": "bebraw", |
| 437 |
"email": "[email protected]" |
| 438 |
}, |
| 439 |
{ |
| 440 |
"name": "jhnns", |
| 441 |
"email": "[email protected]" |
| 442 |
}, |
| 443 |
{ |
| 444 |
"name": "sokra", |
| 445 |
"email": "[email protected]" |
| 446 |
}, |
| 447 |
{ |
| 448 |
"name": "spacek33z", |
| 449 |
"email": "[email protected]" |
| 450 |
}, |
| 451 |
{ |
| 452 |
"name": "thelarkinn", |
| 453 |
"email": "[email protected]" |
| 454 |
} |
| 455 |
], |
| 456 |
"_npmOperationalInternal": { |
| 457 |
"host": "packages-18-east.internal.npmjs.com", |
| 458 |
"tmp": "tmp/webpack-sources-0.1.5.tgz_1488917506799_0.5009965947829187" |
| 459 |
}, |
| 460 |
"directories": {} |
| 461 |
}, |
| 462 |
"0.2.0": { |
| 463 |
"name": "webpack-sources", |
| 464 |
"version": "0.2.0", |
| 465 |
"description": "Source code handling classes for webpack", |
| 466 |
"main": "./lib/index.js", |
| 467 |
"scripts": { |
| 468 |
"pretest": "npm run lint && npm run beautify-lint", |
| 469 |
"test": "mocha --full-trace --check-leaks", |
| 470 |
"travis": "npm run cover -- --report lcovonly", |
| 471 |
"lint": "eslint lib test", |
| 472 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 473 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 474 |
"precover": "npm run lint && npm run beautify-lint", |
| 475 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 476 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 477 |
}, |
| 478 |
"dependencies": { |
| 479 |
"source-map": "~0.5.3", |
| 480 |
"source-list-map": "^1.0.1" |
| 481 |
}, |
| 482 |
"devDependencies": { |
| 483 |
"beautify-lint": "^1.0.3", |
| 484 |
"codecov.io": "^0.1.6", |
| 485 |
"coveralls": "^2.11.6", |
| 486 |
"eslint": "^1.1.0", |
| 487 |
"eslint-plugin-nodeca": "^1.0.3", |
| 488 |
"istanbul": "^0.4.1", |
| 489 |
"js-beautify": "^1.5.10", |
| 490 |
"mocha": "^2.3.4", |
| 491 |
"should": "^8.0.2" |
| 492 |
}, |
| 493 |
"files": [ |
| 494 |
"lib/" |
| 495 |
], |
| 496 |
"repository": { |
| 497 |
"type": "git", |
| 498 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 499 |
}, |
| 500 |
"keywords": [ |
| 501 |
"webpack", |
| 502 |
"source-map" |
| 503 |
], |
| 504 |
"author": { |
| 505 |
"name": "Tobias Koppers @sokra" |
| 506 |
}, |
| 507 |
"license": "MIT", |
| 508 |
"bugs": { |
| 509 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 510 |
}, |
| 511 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 512 |
"gitHead": "5154e49af10bcefc1e58505f3563da4a07763eda", |
| 513 |
"_id": "[email protected]", |
| 514 |
"_shasum": "fea93ba840f16cdd3f246f0ee95f88a9492c69fb", |
| 515 |
"_from": ".", |
| 516 |
"_npmVersion": "4.0.5", |
| 517 |
"_nodeVersion": "7.4.0", |
| 518 |
"_npmUser": { |
| 519 |
"name": "sokra", |
| 520 |
"email": "[email protected]" |
| 521 |
}, |
| 522 |
"dist": { |
| 523 |
"shasum": "fea93ba840f16cdd3f246f0ee95f88a9492c69fb", |
| 524 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.0.tgz" |
| 525 |
}, |
| 526 |
"maintainers": [ |
| 527 |
{ |
| 528 |
"name": "bebraw", |
| 529 |
"email": "[email protected]" |
| 530 |
}, |
| 531 |
{ |
| 532 |
"name": "jhnns", |
| 533 |
"email": "[email protected]" |
| 534 |
}, |
| 535 |
{ |
| 536 |
"name": "sokra", |
| 537 |
"email": "[email protected]" |
| 538 |
}, |
| 539 |
{ |
| 540 |
"name": "spacek33z", |
| 541 |
"email": "[email protected]" |
| 542 |
}, |
| 543 |
{ |
| 544 |
"name": "thelarkinn", |
| 545 |
"email": "[email protected]" |
| 546 |
} |
| 547 |
], |
| 548 |
"_npmOperationalInternal": { |
| 549 |
"host": "packages-12-west.internal.npmjs.com", |
| 550 |
"tmp": "tmp/webpack-sources-0.2.0.tgz_1488918763935_0.25536337518133223" |
| 551 |
}, |
| 552 |
"directories": {} |
| 553 |
}, |
| 554 |
"0.2.1": { |
| 555 |
"name": "webpack-sources", |
| 556 |
"version": "0.2.1", |
| 557 |
"description": "Source code handling classes for webpack", |
| 558 |
"main": "./lib/index.js", |
| 559 |
"scripts": { |
| 560 |
"pretest": "npm run lint && npm run beautify-lint", |
| 561 |
"test": "mocha --full-trace --check-leaks", |
| 562 |
"travis": "npm run cover -- --report lcovonly", |
| 563 |
"lint": "eslint lib test", |
| 564 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 565 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 566 |
"precover": "npm run lint && npm run beautify-lint", |
| 567 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 568 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 569 |
}, |
| 570 |
"dependencies": { |
| 571 |
"source-map": "~0.5.3", |
| 572 |
"source-list-map": "^1.1.0" |
| 573 |
}, |
| 574 |
"devDependencies": { |
| 575 |
"beautify-lint": "^1.0.3", |
| 576 |
"codecov.io": "^0.1.6", |
| 577 |
"coveralls": "^2.11.6", |
| 578 |
"eslint": "^1.1.0", |
| 579 |
"eslint-plugin-nodeca": "^1.0.3", |
| 580 |
"istanbul": "^0.4.1", |
| 581 |
"js-beautify": "^1.5.10", |
| 582 |
"mocha": "^2.3.4", |
| 583 |
"should": "^8.0.2" |
| 584 |
}, |
| 585 |
"files": [ |
| 586 |
"lib/" |
| 587 |
], |
| 588 |
"repository": { |
| 589 |
"type": "git", |
| 590 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 591 |
}, |
| 592 |
"keywords": [ |
| 593 |
"webpack", |
| 594 |
"source-map" |
| 595 |
], |
| 596 |
"author": { |
| 597 |
"name": "Tobias Koppers @sokra" |
| 598 |
}, |
| 599 |
"license": "MIT", |
| 600 |
"bugs": { |
| 601 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 602 |
}, |
| 603 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 604 |
"gitHead": "1692f4be47a74e8b50e124f797db99cd87b9186f", |
| 605 |
"_id": "[email protected]", |
| 606 |
"_shasum": "2abccabc209afbf1d8cb62d533b54dbbc7fc6e27", |
| 607 |
"_from": ".", |
| 608 |
"_npmVersion": "4.0.5", |
| 609 |
"_nodeVersion": "7.4.0", |
| 610 |
"_npmUser": { |
| 611 |
"name": "sokra", |
| 612 |
"email": "[email protected]" |
| 613 |
}, |
| 614 |
"dist": { |
| 615 |
"shasum": "2abccabc209afbf1d8cb62d533b54dbbc7fc6e27", |
| 616 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.1.tgz" |
| 617 |
}, |
| 618 |
"maintainers": [ |
| 619 |
{ |
| 620 |
"name": "bebraw", |
| 621 |
"email": "[email protected]" |
| 622 |
}, |
| 623 |
{ |
| 624 |
"name": "jhnns", |
| 625 |
"email": "[email protected]" |
| 626 |
}, |
| 627 |
{ |
| 628 |
"name": "sokra", |
| 629 |
"email": "[email protected]" |
| 630 |
}, |
| 631 |
{ |
| 632 |
"name": "spacek33z", |
| 633 |
"email": "[email protected]" |
| 634 |
}, |
| 635 |
{ |
| 636 |
"name": "thelarkinn", |
| 637 |
"email": "[email protected]" |
| 638 |
} |
| 639 |
], |
| 640 |
"_npmOperationalInternal": { |
| 641 |
"host": "packages-12-west.internal.npmjs.com", |
| 642 |
"tmp": "tmp/webpack-sources-0.2.1.tgz_1490389526371_0.09579946473240852" |
| 643 |
}, |
| 644 |
"directories": {} |
| 645 |
}, |
| 646 |
"0.2.2": { |
| 647 |
"name": "webpack-sources", |
| 648 |
"version": "0.2.2", |
| 649 |
"description": "Source code handling classes for webpack", |
| 650 |
"main": "./lib/index.js", |
| 651 |
"scripts": { |
| 652 |
"pretest": "npm run lint && npm run beautify-lint", |
| 653 |
"test": "mocha --full-trace --check-leaks", |
| 654 |
"travis": "npm run cover -- --report lcovonly", |
| 655 |
"lint": "eslint lib test", |
| 656 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 657 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 658 |
"precover": "npm run lint && npm run beautify-lint", |
| 659 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 660 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 661 |
}, |
| 662 |
"dependencies": { |
| 663 |
"source-map": "~0.5.3", |
| 664 |
"source-list-map": "^1.1.0" |
| 665 |
}, |
| 666 |
"devDependencies": { |
| 667 |
"beautify-lint": "^1.0.3", |
| 668 |
"codecov.io": "^0.1.6", |
| 669 |
"coveralls": "^2.11.6", |
| 670 |
"eslint": "^1.1.0", |
| 671 |
"eslint-plugin-nodeca": "^1.0.3", |
| 672 |
"istanbul": "^0.4.1", |
| 673 |
"js-beautify": "^1.5.10", |
| 674 |
"mocha": "^2.3.4", |
| 675 |
"should": "^8.0.2" |
| 676 |
}, |
| 677 |
"files": [ |
| 678 |
"lib/" |
| 679 |
], |
| 680 |
"repository": { |
| 681 |
"type": "git", |
| 682 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 683 |
}, |
| 684 |
"keywords": [ |
| 685 |
"webpack", |
| 686 |
"source-map" |
| 687 |
], |
| 688 |
"author": { |
| 689 |
"name": "Tobias Koppers @sokra" |
| 690 |
}, |
| 691 |
"license": "MIT", |
| 692 |
"bugs": { |
| 693 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 694 |
}, |
| 695 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 696 |
"gitHead": "2857561d723db6f8cc2f25cef9534d13dddde06a", |
| 697 |
"_id": "[email protected]", |
| 698 |
"_shasum": "708714db9cc8152b9f8674e4acb119efecdb23fa", |
| 699 |
"_from": ".", |
| 700 |
"_npmVersion": "4.0.5", |
| 701 |
"_nodeVersion": "7.4.0", |
| 702 |
"_npmUser": { |
| 703 |
"name": "sokra", |
| 704 |
"email": "[email protected]" |
| 705 |
}, |
| 706 |
"dist": { |
| 707 |
"shasum": "708714db9cc8152b9f8674e4acb119efecdb23fa", |
| 708 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.2.tgz" |
| 709 |
}, |
| 710 |
"maintainers": [ |
| 711 |
{ |
| 712 |
"name": "bebraw", |
| 713 |
"email": "[email protected]" |
| 714 |
}, |
| 715 |
{ |
| 716 |
"name": "jhnns", |
| 717 |
"email": "[email protected]" |
| 718 |
}, |
| 719 |
{ |
| 720 |
"name": "sokra", |
| 721 |
"email": "[email protected]" |
| 722 |
}, |
| 723 |
{ |
| 724 |
"name": "spacek33z", |
| 725 |
"email": "[email protected]" |
| 726 |
}, |
| 727 |
{ |
| 728 |
"name": "thelarkinn", |
| 729 |
"email": "[email protected]" |
| 730 |
} |
| 731 |
], |
| 732 |
"_npmOperationalInternal": { |
| 733 |
"host": "packages-12-west.internal.npmjs.com", |
| 734 |
"tmp": "tmp/webpack-sources-0.2.2.tgz_1490393113183_0.09044172172434628" |
| 735 |
}, |
| 736 |
"directories": {} |
| 737 |
}, |
| 738 |
"0.2.3": { |
| 739 |
"name": "webpack-sources", |
| 740 |
"version": "0.2.3", |
| 741 |
"description": "Source code handling classes for webpack", |
| 742 |
"main": "./lib/index.js", |
| 743 |
"scripts": { |
| 744 |
"pretest": "npm run lint && npm run beautify-lint", |
| 745 |
"test": "mocha --full-trace --check-leaks", |
| 746 |
"travis": "npm run cover -- --report lcovonly", |
| 747 |
"lint": "eslint lib test", |
| 748 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 749 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 750 |
"precover": "npm run lint && npm run beautify-lint", |
| 751 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 752 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 753 |
}, |
| 754 |
"dependencies": { |
| 755 |
"source-map": "~0.5.3", |
| 756 |
"source-list-map": "^1.1.1" |
| 757 |
}, |
| 758 |
"devDependencies": { |
| 759 |
"beautify-lint": "^1.0.3", |
| 760 |
"codecov.io": "^0.1.6", |
| 761 |
"coveralls": "^2.11.6", |
| 762 |
"eslint": "^1.1.0", |
| 763 |
"eslint-plugin-nodeca": "^1.0.3", |
| 764 |
"istanbul": "^0.4.1", |
| 765 |
"js-beautify": "^1.5.10", |
| 766 |
"mocha": "^2.3.4", |
| 767 |
"should": "^8.0.2" |
| 768 |
}, |
| 769 |
"files": [ |
| 770 |
"lib/" |
| 771 |
], |
| 772 |
"repository": { |
| 773 |
"type": "git", |
| 774 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 775 |
}, |
| 776 |
"keywords": [ |
| 777 |
"webpack", |
| 778 |
"source-map" |
| 779 |
], |
| 780 |
"author": { |
| 781 |
"name": "Tobias Koppers @sokra" |
| 782 |
}, |
| 783 |
"license": "MIT", |
| 784 |
"bugs": { |
| 785 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 786 |
}, |
| 787 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 788 |
"gitHead": "828a85acb96faf69c1ba0b78ba6d3a2acc9dcd92", |
| 789 |
"_id": "[email protected]", |
| 790 |
"_shasum": "17c62bfaf13c707f9d02c479e0dcdde8380697fb", |
| 791 |
"_from": ".", |
| 792 |
"_npmVersion": "4.0.5", |
| 793 |
"_nodeVersion": "7.4.0", |
| 794 |
"_npmUser": { |
| 795 |
"name": "sokra", |
| 796 |
"email": "[email protected]" |
| 797 |
}, |
| 798 |
"dist": { |
| 799 |
"shasum": "17c62bfaf13c707f9d02c479e0dcdde8380697fb", |
| 800 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.3.tgz" |
| 801 |
}, |
| 802 |
"maintainers": [ |
| 803 |
{ |
| 804 |
"name": "bebraw", |
| 805 |
"email": "[email protected]" |
| 806 |
}, |
| 807 |
{ |
| 808 |
"name": "jhnns", |
| 809 |
"email": "[email protected]" |
| 810 |
}, |
| 811 |
{ |
| 812 |
"name": "sokra", |
| 813 |
"email": "[email protected]" |
| 814 |
}, |
| 815 |
{ |
| 816 |
"name": "spacek33z", |
| 817 |
"email": "[email protected]" |
| 818 |
}, |
| 819 |
{ |
| 820 |
"name": "thelarkinn", |
| 821 |
"email": "[email protected]" |
| 822 |
} |
| 823 |
], |
| 824 |
"_npmOperationalInternal": { |
| 825 |
"host": "packages-18-east.internal.npmjs.com", |
| 826 |
"tmp": "tmp/webpack-sources-0.2.3.tgz_1490398694081_0.5428378875367343" |
| 827 |
}, |
| 828 |
"directories": {} |
| 829 |
}, |
| 830 |
"1.0.0": { |
| 831 |
"name": "webpack-sources", |
| 832 |
"version": "1.0.0", |
| 833 |
"description": "Source code handling classes for webpack", |
| 834 |
"main": "./lib/index.js", |
| 835 |
"scripts": { |
| 836 |
"pretest": "npm run lint && npm run beautify-lint", |
| 837 |
"test": "mocha --full-trace --check-leaks", |
| 838 |
"travis": "npm run cover -- --report lcovonly", |
| 839 |
"lint": "eslint lib test", |
| 840 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 841 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 842 |
"precover": "npm run lint && npm run beautify-lint", |
| 843 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 844 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 845 |
}, |
| 846 |
"dependencies": { |
| 847 |
"source-list-map": "^2.0.0", |
| 848 |
"source-map": "~0.5.3" |
| 849 |
}, |
| 850 |
"devDependencies": { |
| 851 |
"beautify-lint": "^1.0.3", |
| 852 |
"codecov.io": "^0.1.6", |
| 853 |
"coveralls": "^2.11.6", |
| 854 |
"eslint": "^3.19.0", |
| 855 |
"eslint-plugin-nodeca": "^1.0.3", |
| 856 |
"istanbul": "^0.4.1", |
| 857 |
"js-beautify": "^1.5.10", |
| 858 |
"mocha": "^3.4.2", |
| 859 |
"should": "^11.2.1" |
| 860 |
}, |
| 861 |
"files": [ |
| 862 |
"lib/" |
| 863 |
], |
| 864 |
"repository": { |
| 865 |
"type": "git", |
| 866 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 867 |
}, |
| 868 |
"keywords": [ |
| 869 |
"webpack", |
| 870 |
"source-map" |
| 871 |
], |
| 872 |
"author": { |
| 873 |
"name": "Tobias Koppers @sokra" |
| 874 |
}, |
| 875 |
"license": "MIT", |
| 876 |
"bugs": { |
| 877 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 878 |
}, |
| 879 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 880 |
"gitHead": "aa47eb9dc433ad236cf8328b4be92c62ff069904", |
| 881 |
"_id": "[email protected]", |
| 882 |
"_npmVersion": "5.0.0", |
| 883 |
"_nodeVersion": "8.0.0", |
| 884 |
"_npmUser": { |
| 885 |
"name": "sokra", |
| 886 |
"email": "[email protected]" |
| 887 |
}, |
| 888 |
"dist": { |
| 889 |
"integrity": "sha512-yCPXB6Aqbn0w4rp7KqiF8m8bsL6gMRtRyGzd/ZMIS2VPAusZ92gsOCVTIGhEy7faQS1mw//6S5bD10B0zRNa0g==", |
| 890 |
"shasum": "fbbaa2cce01333412281a7e40cbe4b0c9c3344fa", |
| 891 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.0.tgz" |
| 892 |
}, |
| 893 |
"maintainers": [ |
| 894 |
{ |
| 895 |
"name": "bebraw", |
| 896 |
"email": "[email protected]" |
| 897 |
}, |
| 898 |
{ |
| 899 |
"name": "jhnns", |
| 900 |
"email": "[email protected]" |
| 901 |
}, |
| 902 |
{ |
| 903 |
"name": "sokra", |
| 904 |
"email": "[email protected]" |
| 905 |
}, |
| 906 |
{ |
| 907 |
"name": "spacek33z", |
| 908 |
"email": "[email protected]" |
| 909 |
}, |
| 910 |
{ |
| 911 |
"name": "thelarkinn", |
| 912 |
"email": "[email protected]" |
| 913 |
} |
| 914 |
], |
| 915 |
"_npmOperationalInternal": { |
| 916 |
"host": "s3://npm-registry-packages", |
| 917 |
"tmp": "tmp/webpack-sources-1.0.0.tgz_1496492594647_0.6798736609052867" |
| 918 |
}, |
| 919 |
"directories": {} |
| 920 |
}, |
| 921 |
"1.0.1": { |
| 922 |
"name": "webpack-sources", |
| 923 |
"version": "1.0.1", |
| 924 |
"description": "Source code handling classes for webpack", |
| 925 |
"main": "./lib/index.js", |
| 926 |
"scripts": { |
| 927 |
"pretest": "npm run lint && npm run beautify-lint", |
| 928 |
"test": "mocha --full-trace --check-leaks", |
| 929 |
"travis": "npm run cover -- --report lcovonly", |
| 930 |
"lint": "eslint lib test", |
| 931 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 932 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 933 |
"precover": "npm run lint && npm run beautify-lint", |
| 934 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 935 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 936 |
}, |
| 937 |
"dependencies": { |
| 938 |
"source-list-map": "^2.0.0", |
| 939 |
"source-map": "~0.5.3" |
| 940 |
}, |
| 941 |
"devDependencies": { |
| 942 |
"beautify-lint": "^1.0.3", |
| 943 |
"codecov.io": "^0.1.6", |
| 944 |
"coveralls": "^2.11.6", |
| 945 |
"eslint": "^3.19.0", |
| 946 |
"eslint-plugin-nodeca": "^1.0.3", |
| 947 |
"istanbul": "^0.4.1", |
| 948 |
"js-beautify": "^1.5.10", |
| 949 |
"mocha": "^3.4.2", |
| 950 |
"should": "^11.2.1" |
| 951 |
}, |
| 952 |
"files": [ |
| 953 |
"lib/" |
| 954 |
], |
| 955 |
"repository": { |
| 956 |
"type": "git", |
| 957 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 958 |
}, |
| 959 |
"keywords": [ |
| 960 |
"webpack", |
| 961 |
"source-map" |
| 962 |
], |
| 963 |
"author": { |
| 964 |
"name": "Tobias Koppers @sokra" |
| 965 |
}, |
| 966 |
"license": "MIT", |
| 967 |
"bugs": { |
| 968 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 969 |
}, |
| 970 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 971 |
"gitHead": "5cadaf4ab143a32cf994365db4b2ddacd0ab0eb9", |
| 972 |
"_id": "[email protected]", |
| 973 |
"_npmVersion": "5.0.0", |
| 974 |
"_nodeVersion": "8.0.0", |
| 975 |
"_npmUser": { |
| 976 |
"name": "sokra", |
| 977 |
"email": "[email protected]" |
| 978 |
}, |
| 979 |
"dist": { |
| 980 |
"integrity": "sha512-05tMxipUCwHqYaVS8xc7sYPTly8PzXayRCB4dTxLhWTqlKUiwH6ezmEe0OSreL1c30LAuA3Zqmc+uEBUGFJDjw==", |
| 981 |
"shasum": "c7356436a4d13123be2e2426a05d1dad9cbe65cf", |
| 982 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.1.tgz" |
| 983 |
}, |
| 984 |
"maintainers": [ |
| 985 |
{ |
| 986 |
"name": "bebraw", |
| 987 |
"email": "[email protected]" |
| 988 |
}, |
| 989 |
{ |
| 990 |
"name": "jhnns", |
| 991 |
"email": "[email protected]" |
| 992 |
}, |
| 993 |
{ |
| 994 |
"name": "sokra", |
| 995 |
"email": "[email protected]" |
| 996 |
}, |
| 997 |
{ |
| 998 |
"name": "spacek33z", |
| 999 |
"email": "[email protected]" |
| 1000 |
}, |
| 1001 |
{ |
| 1002 |
"name": "thelarkinn", |
| 1003 |
"email": "[email protected]" |
| 1004 |
} |
| 1005 |
], |
| 1006 |
"_npmOperationalInternal": { |
| 1007 |
"host": "s3://npm-registry-packages", |
| 1008 |
"tmp": "tmp/webpack-sources-1.0.1.tgz_1496500323403_0.9926682878285646" |
| 1009 |
}, |
| 1010 |
"directories": {} |
| 1011 |
}, |
| 1012 |
"1.0.2": { |
| 1013 |
"name": "webpack-sources", |
| 1014 |
"version": "1.0.2", |
| 1015 |
"description": "Source code handling classes for webpack", |
| 1016 |
"main": "./lib/index.js", |
| 1017 |
"scripts": { |
| 1018 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1019 |
"test": "mocha --full-trace --check-leaks", |
| 1020 |
"travis": "npm run cover -- --report lcovonly", |
| 1021 |
"lint": "eslint lib test", |
| 1022 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1023 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1024 |
"precover": "npm run lint && npm run beautify-lint", |
| 1025 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1026 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1027 |
}, |
| 1028 |
"dependencies": { |
| 1029 |
"source-list-map": "^2.0.0", |
| 1030 |
"source-map": "~0.6.1" |
| 1031 |
}, |
| 1032 |
"devDependencies": { |
| 1033 |
"beautify-lint": "^1.0.3", |
| 1034 |
"codecov.io": "^0.1.6", |
| 1035 |
"coveralls": "^2.11.6", |
| 1036 |
"eslint": "^3.19.0", |
| 1037 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1038 |
"istanbul": "^0.4.1", |
| 1039 |
"js-beautify": "^1.5.10", |
| 1040 |
"mocha": "^3.4.2", |
| 1041 |
"should": "^11.2.1" |
| 1042 |
}, |
| 1043 |
"files": [ |
| 1044 |
"lib/" |
| 1045 |
], |
| 1046 |
"repository": { |
| 1047 |
"type": "git", |
| 1048 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1049 |
}, |
| 1050 |
"keywords": [ |
| 1051 |
"webpack", |
| 1052 |
"source-map" |
| 1053 |
], |
| 1054 |
"author": { |
| 1055 |
"name": "Tobias Koppers @sokra" |
| 1056 |
}, |
| 1057 |
"license": "MIT", |
| 1058 |
"bugs": { |
| 1059 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1060 |
}, |
| 1061 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1062 |
"gitHead": "e1880a046420dd2ebe8aa04f186c59e33c0d3578", |
| 1063 |
"_id": "[email protected]", |
| 1064 |
"_npmVersion": "5.5.1", |
| 1065 |
"_nodeVersion": "8.9.0", |
| 1066 |
"_npmUser": { |
| 1067 |
"name": "thelarkinn", |
| 1068 |
"email": "[email protected]" |
| 1069 |
}, |
| 1070 |
"dist": { |
| 1071 |
"integrity": "sha512-Y7UddMCv6dGjy81nBv6nuQeFFIt5aalHm7uyDsAsW86nZwfOVPGRr3XMjEQLaT+WKo8rlzhC9qtbJvYKLtAwaw==", |
| 1072 |
"shasum": "d0148ec083b3b5ccef1035a6b3ec16442983b27a", |
| 1073 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.2.tgz" |
| 1074 |
}, |
| 1075 |
"maintainers": [ |
| 1076 |
{ |
| 1077 |
"name": "bebraw", |
| 1078 |
"email": "[email protected]" |
| 1079 |
}, |
| 1080 |
{ |
| 1081 |
"name": "jhnns", |
| 1082 |
"email": "[email protected]" |
| 1083 |
}, |
| 1084 |
{ |
| 1085 |
"name": "sokra", |
| 1086 |
"email": "[email protected]" |
| 1087 |
}, |
| 1088 |
{ |
| 1089 |
"name": "spacek33z", |
| 1090 |
"email": "[email protected]" |
| 1091 |
}, |
| 1092 |
{ |
| 1093 |
"name": "thelarkinn", |
| 1094 |
"email": "[email protected]" |
| 1095 |
} |
| 1096 |
], |
| 1097 |
"_npmOperationalInternal": { |
| 1098 |
"host": "s3://npm-registry-packages", |
| 1099 |
"tmp": "tmp/webpack-sources-1.0.2.tgz_1509780058239_0.18867489928379655" |
| 1100 |
}, |
| 1101 |
"directories": {} |
| 1102 |
}, |
| 1103 |
"1.1.0": { |
| 1104 |
"name": "webpack-sources", |
| 1105 |
"version": "1.1.0", |
| 1106 |
"description": "Source code handling classes for webpack", |
| 1107 |
"main": "./lib/index.js", |
| 1108 |
"scripts": { |
| 1109 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1110 |
"test": "mocha --full-trace --check-leaks", |
| 1111 |
"travis": "npm run cover -- --report lcovonly", |
| 1112 |
"lint": "eslint lib test", |
| 1113 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1114 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1115 |
"precover": "npm run lint && npm run beautify-lint", |
| 1116 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1117 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1118 |
}, |
| 1119 |
"dependencies": { |
| 1120 |
"source-list-map": "^2.0.0", |
| 1121 |
"source-map": "~0.6.1" |
| 1122 |
}, |
| 1123 |
"devDependencies": { |
| 1124 |
"beautify-lint": "^1.0.3", |
| 1125 |
"codecov.io": "^0.1.6", |
| 1126 |
"coveralls": "^2.11.6", |
| 1127 |
"eslint": "^3.19.0", |
| 1128 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1129 |
"istanbul": "^0.4.1", |
| 1130 |
"js-beautify": "^1.5.10", |
| 1131 |
"mocha": "^3.4.2", |
| 1132 |
"should": "^11.2.1" |
| 1133 |
}, |
| 1134 |
"files": [ |
| 1135 |
"lib/" |
| 1136 |
], |
| 1137 |
"repository": { |
| 1138 |
"type": "git", |
| 1139 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1140 |
}, |
| 1141 |
"keywords": [ |
| 1142 |
"webpack", |
| 1143 |
"source-map" |
| 1144 |
], |
| 1145 |
"author": { |
| 1146 |
"name": "Tobias Koppers @sokra" |
| 1147 |
}, |
| 1148 |
"license": "MIT", |
| 1149 |
"bugs": { |
| 1150 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1151 |
}, |
| 1152 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1153 |
"gitHead": "b643bfba58c5820f9cf8f00a19979c1208e47692", |
| 1154 |
"_id": "[email protected]", |
| 1155 |
"_npmVersion": "5.4.2", |
| 1156 |
"_nodeVersion": "8.7.0", |
| 1157 |
"_npmUser": { |
| 1158 |
"name": "sokra", |
| 1159 |
"email": "[email protected]" |
| 1160 |
}, |
| 1161 |
"dist": { |
| 1162 |
"integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", |
| 1163 |
"shasum": "a101ebae59d6507354d71d8013950a3a8b7a5a54", |
| 1164 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz" |
| 1165 |
}, |
| 1166 |
"maintainers": [ |
| 1167 |
{ |
| 1168 |
"name": "bebraw", |
| 1169 |
"email": "[email protected]" |
| 1170 |
}, |
| 1171 |
{ |
| 1172 |
"name": "jhnns", |
| 1173 |
"email": "[email protected]" |
| 1174 |
}, |
| 1175 |
{ |
| 1176 |
"name": "sokra", |
| 1177 |
"email": "[email protected]" |
| 1178 |
}, |
| 1179 |
{ |
| 1180 |
"name": "spacek33z", |
| 1181 |
"email": "[email protected]" |
| 1182 |
}, |
| 1183 |
{ |
| 1184 |
"name": "thelarkinn", |
| 1185 |
"email": "[email protected]" |
| 1186 |
} |
| 1187 |
], |
| 1188 |
"_npmOperationalInternal": { |
| 1189 |
"host": "s3://npm-registry-packages", |
| 1190 |
"tmp": "tmp/webpack-sources-1.1.0.tgz_1511694386044_0.519901181338355" |
| 1191 |
}, |
| 1192 |
"directories": {} |
| 1193 |
}, |
| 1194 |
"1.2.0": { |
| 1195 |
"name": "webpack-sources", |
| 1196 |
"version": "1.2.0", |
| 1197 |
"description": "Source code handling classes for webpack", |
| 1198 |
"main": "./lib/index.js", |
| 1199 |
"scripts": { |
| 1200 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1201 |
"test": "mocha --full-trace --check-leaks", |
| 1202 |
"travis": "npm run cover -- --report lcovonly", |
| 1203 |
"lint": "eslint lib test", |
| 1204 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1205 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1206 |
"precover": "npm run lint && npm run beautify-lint", |
| 1207 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1208 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1209 |
}, |
| 1210 |
"dependencies": { |
| 1211 |
"source-list-map": "^2.0.0", |
| 1212 |
"source-map": "~0.6.1" |
| 1213 |
}, |
| 1214 |
"devDependencies": { |
| 1215 |
"beautify-lint": "^1.0.3", |
| 1216 |
"codecov.io": "^0.1.6", |
| 1217 |
"coveralls": "^2.11.6", |
| 1218 |
"eslint": "^3.19.0", |
| 1219 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1220 |
"istanbul": "^0.4.1", |
| 1221 |
"js-beautify": "^1.5.10", |
| 1222 |
"mocha": "^3.4.2", |
| 1223 |
"should": "^11.2.1" |
| 1224 |
}, |
| 1225 |
"repository": { |
| 1226 |
"type": "git", |
| 1227 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1228 |
}, |
| 1229 |
"keywords": [ |
| 1230 |
"webpack", |
| 1231 |
"source-map" |
| 1232 |
], |
| 1233 |
"author": { |
| 1234 |
"name": "Tobias Koppers @sokra" |
| 1235 |
}, |
| 1236 |
"license": "MIT", |
| 1237 |
"bugs": { |
| 1238 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1239 |
}, |
| 1240 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1241 |
"gitHead": "30d2a800c36906a0f28e62dac8b8cb239d1403c5", |
| 1242 |
"_id": "[email protected]", |
| 1243 |
"_npmVersion": "6.1.0", |
| 1244 |
"_nodeVersion": "10.6.0", |
| 1245 |
"_npmUser": { |
| 1246 |
"name": "sokra", |
| 1247 |
"email": "[email protected]" |
| 1248 |
}, |
| 1249 |
"dist": { |
| 1250 |
"integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==", |
| 1251 |
"shasum": "18181e0d013fce096faf6f8e6d41eeffffdceac2", |
| 1252 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz", |
| 1253 |
"fileCount": 14, |
| 1254 |
"unpackedSize": 30017, |
| 1255 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhoz0CRA9TVsSAnZWagAA5CMQAID/Qatt3Rfz+cLxZLM4\nacb1ecA7wgV55iqAABKuo73vdjHTdLZiDHU7aoEURVLD8LQP3K0G59zoDVXo\nJcrP/44vp0bPabcwavJjADMKJ5i7Z79X5zrkrgzLsP32c+XoR9iU8/6ABV3y\nDtLVKE5rgZlU9+E8kerUuyc5hsedIXyEnn6KKGSJY2Y6OjGXHjVWEC/5J4/e\nRhsoW3x5958eavxc+tkheftiZu/sx/3Tkxz3devSqn8eHN7JI7vADUd4kUsg\n/tPrV9MwuDrm+rQ8kpc1F9QlclatUzg+eHvEWSIpvZyJiMq/2vEA4g2pIghk\n87uM/5EZWBSpNKRvHhpnOg4vKVdzBsjCYa7epQ0MzEhnUHfXerMVOogDzSO8\nD52h/13RSuVJqCY7OU2pO2x/4PQXes76/A7xrGwTHgF9aL25RiL4b2JGnUKO\nSPXcrzh6dJE5cMIvBoPcOa1A9YeXOOYLuGrnklG76rYq+C12EpqFMz+uoa+r\nBsTFFBcJoDI6Wzh1+rKPR3spe9g5+VtdBGIyM+jijNYzCiBtYl5xW503LIt7\nwdhr6HOfyr9tndJnfUO5s26ZUkqYviVm5DELY9g8HiXvGl9KuImjhD/Gh5bh\nkfZCOCByDQiW/C6B0InFxzbHhE/lKxN0QFAvQBA9mp5neGT1WDyU6V2AQBvq\nPMDt\r\n=zF3m\r\n-----END PGP SIGNATURE-----\r\n" |
| 1256 |
}, |
| 1257 |
"maintainers": [ |
| 1258 |
{ |
| 1259 |
"name": "bebraw", |
| 1260 |
"email": "[email protected]" |
| 1261 |
}, |
| 1262 |
{ |
| 1263 |
"name": "jhnns", |
| 1264 |
"email": "[email protected]" |
| 1265 |
}, |
| 1266 |
{ |
| 1267 |
"name": "sokra", |
| 1268 |
"email": "[email protected]" |
| 1269 |
}, |
| 1270 |
{ |
| 1271 |
"name": "spacek33z", |
| 1272 |
"email": "[email protected]" |
| 1273 |
}, |
| 1274 |
{ |
| 1275 |
"name": "thelarkinn", |
| 1276 |
"email": "[email protected]" |
| 1277 |
} |
| 1278 |
], |
| 1279 |
"directories": {}, |
| 1280 |
"_npmOperationalInternal": { |
| 1281 |
"host": "s3://npm-registry-packages", |
| 1282 |
"tmp": "tmp/webpack-sources_1.2.0_1535544563641_0.6014773428826166" |
| 1283 |
}, |
| 1284 |
"_hasShrinkwrap": false |
| 1285 |
}, |
| 1286 |
"1.3.0": { |
| 1287 |
"name": "webpack-sources", |
| 1288 |
"version": "1.3.0", |
| 1289 |
"description": "Source code handling classes for webpack", |
| 1290 |
"main": "./lib/index.js", |
| 1291 |
"scripts": { |
| 1292 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1293 |
"test": "mocha --full-trace --check-leaks", |
| 1294 |
"travis": "npm run cover -- --report lcovonly", |
| 1295 |
"lint": "eslint lib test", |
| 1296 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1297 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1298 |
"precover": "npm run lint && npm run beautify-lint", |
| 1299 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1300 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1301 |
}, |
| 1302 |
"dependencies": { |
| 1303 |
"source-list-map": "^2.0.0", |
| 1304 |
"source-map": "~0.6.1" |
| 1305 |
}, |
| 1306 |
"devDependencies": { |
| 1307 |
"beautify-lint": "^1.0.3", |
| 1308 |
"codecov.io": "^0.1.6", |
| 1309 |
"coveralls": "^2.11.6", |
| 1310 |
"eslint": "^3.19.0", |
| 1311 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1312 |
"istanbul": "^0.4.1", |
| 1313 |
"js-beautify": "^1.5.10", |
| 1314 |
"mocha": "^3.4.2", |
| 1315 |
"should": "^11.2.1", |
| 1316 |
"sourcemap-validator": "^1.1.0" |
| 1317 |
}, |
| 1318 |
"repository": { |
| 1319 |
"type": "git", |
| 1320 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1321 |
}, |
| 1322 |
"keywords": [ |
| 1323 |
"webpack", |
| 1324 |
"source-map" |
| 1325 |
], |
| 1326 |
"author": { |
| 1327 |
"name": "Tobias Koppers @sokra" |
| 1328 |
}, |
| 1329 |
"license": "MIT", |
| 1330 |
"bugs": { |
| 1331 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1332 |
}, |
| 1333 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1334 |
"gitHead": "0f9996427a2ee80c908237d917d60e62473a0e2c", |
| 1335 |
"_id": "[email protected]", |
| 1336 |
"_npmVersion": "5.6.0", |
| 1337 |
"_nodeVersion": "8.11.4", |
| 1338 |
"_npmUser": { |
| 1339 |
"name": "sokra", |
| 1340 |
"email": "[email protected]" |
| 1341 |
}, |
| 1342 |
"dist": { |
| 1343 |
"integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", |
| 1344 |
"shasum": "2a28dcb9f1f45fe960d8f1493252b5ee6530fa85", |
| 1345 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", |
| 1346 |
"fileCount": 14, |
| 1347 |
"unpackedSize": 30046, |
| 1348 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo2LDCRA9TVsSAnZWagAATncP/3xrZTDrnHetMCtIxJ9H\ns2dIdpV+OSrw34t4jCkFCEEzZj9d3fyFKlstvkEboWsCzBqCwQbcBRInFIeW\nStdDFUsrSytHLIu/qcF1QnJ+NmGKnXfrrhuArtud+Is6oIuCPOM69fLDzbd1\nQCU7lO2mgWdVuRBY6V/lXsE+xElHd6xBe8kKND3Ba+0Hq6wb0k80Xl+dybz/\n67fYe4AsiYNDxqd/h+tXrHS9AtSbPVkyvkqky01qOTUwbHGBpZZ6dzDLw0Ux\nqnBg5MoRhO6PxiRElpo0zlZKSYL8evkAR/6P6CvvuqTYkmEBKO9DjeTMkSq0\nTHFfMDNVlaJBNn3KsLEcEuHfAxEWTc8ffiGfdnG0uS9zkiUIildS4c70/vzz\nGNqATzvgVOtatz2uTDxs4c+zfp1xpN8oqRmjlSjeWSvyPME7QzhpYmJQRYrn\nqAlVRLcm7z1siQm5b39lJxsJqau0vn4Q7hENtgsK4qvBC4/HaLGJRfPTXeQw\nHfSRvaPuGhgwEHUd+uYbJGutfsdm6obNkyDYLuY9Huj855LWwElxv7KQPlys\nrdsu3fAXwViDHRgxohqPR7a4YYODDiGnehA8QSkmlQeFFmQni7z0Ir3SmzWE\nPY8uE1lzxAe7koHPZjrYNcf/myeMLvinUtaWg447aoR78ooCWexy6x7qqtz3\nPecF\r\n=It7K\r\n-----END PGP SIGNATURE-----\r\n" |
| 1349 |
}, |
| 1350 |
"maintainers": [ |
| 1351 |
{ |
| 1352 |
"name": "bebraw", |
| 1353 |
"email": "[email protected]" |
| 1354 |
}, |
| 1355 |
{ |
| 1356 |
"name": "jhnns", |
| 1357 |
"email": "[email protected]" |
| 1358 |
}, |
| 1359 |
{ |
| 1360 |
"name": "sokra", |
| 1361 |
"email": "[email protected]" |
| 1362 |
}, |
| 1363 |
{ |
| 1364 |
"name": "spacek33z", |
| 1365 |
"email": "[email protected]" |
| 1366 |
}, |
| 1367 |
{ |
| 1368 |
"name": "thelarkinn", |
| 1369 |
"email": "[email protected]" |
| 1370 |
} |
| 1371 |
], |
| 1372 |
"directories": {}, |
| 1373 |
"_npmOperationalInternal": { |
| 1374 |
"host": "s3://npm-registry-packages", |
| 1375 |
"tmp": "tmp/webpack-sources_1.3.0_1537434306785_0.2281706249888662" |
| 1376 |
}, |
| 1377 |
"_hasShrinkwrap": false |
| 1378 |
}, |
| 1379 |
"2.0.0-beta.0": { |
| 1380 |
"name": "webpack-sources", |
| 1381 |
"version": "2.0.0-beta.0", |
| 1382 |
"description": "Source code handling classes for webpack", |
| 1383 |
"main": "./lib/index.js", |
| 1384 |
"scripts": { |
| 1385 |
"pretest": "yarn lint", |
| 1386 |
"test": "mocha --full-trace --check-leaks", |
| 1387 |
"travis": "yarn cover --report lcovonly", |
| 1388 |
"lint": "eslint lib test", |
| 1389 |
"precover": "yarn lint", |
| 1390 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 1391 |
}, |
| 1392 |
"dependencies": { |
| 1393 |
"source-list-map": "^2.0.1", |
| 1394 |
"source-map": "~0.6.1" |
| 1395 |
}, |
| 1396 |
"devDependencies": { |
| 1397 |
"coveralls": "^3.0.2", |
| 1398 |
"eslint": "^5.12.0", |
| 1399 |
"eslint-config-prettier": "^3.5.0", |
| 1400 |
"eslint-plugin-mocha": "^5.2.1", |
| 1401 |
"eslint-plugin-node": "^8.0.1", |
| 1402 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1403 |
"eslint-plugin-prettier": "^3.0.1", |
| 1404 |
"istanbul": "^0.4.1", |
| 1405 |
"mocha": "^5.2.0", |
| 1406 |
"prettier": "^1.15.3", |
| 1407 |
"should": "^13.2.3", |
| 1408 |
"sourcemap-validator": "^1.1.0" |
| 1409 |
}, |
| 1410 |
"engines": { |
| 1411 |
"node": ">=6.11.5" |
| 1412 |
}, |
| 1413 |
"repository": { |
| 1414 |
"type": "git", |
| 1415 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1416 |
}, |
| 1417 |
"keywords": [ |
| 1418 |
"webpack", |
| 1419 |
"source-map" |
| 1420 |
], |
| 1421 |
"author": { |
| 1422 |
"name": "Tobias Koppers @sokra" |
| 1423 |
}, |
| 1424 |
"license": "MIT", |
| 1425 |
"bugs": { |
| 1426 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1427 |
}, |
| 1428 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1429 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 1430 |
"readmeFilename": "README.md", |
| 1431 |
"gitHead": "6438e9022885426431f581c8437855d17b6e0e44", |
| 1432 |
"_id": "[email protected]", |
| 1433 |
"_npmVersion": "6.4.1", |
| 1434 |
"_nodeVersion": "10.12.0", |
| 1435 |
"_npmUser": { |
| 1436 |
"name": "sokra", |
| 1437 |
"email": "[email protected]" |
| 1438 |
}, |
| 1439 |
"dist": { |
| 1440 |
"integrity": "sha512-d7mJcjNdNa0hTOzGNdhIM/lVU+Xp1UxTVh42rEjH2/0U/deiaUXJtzj1npqo4TJzEjnXHaIvrMDgWwM/mpiQMw==", |
| 1441 |
"shasum": "f57b7a466f015132c70d8125d6d36993968854d5", |
| 1442 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.0.tgz", |
| 1443 |
"fileCount": 14, |
| 1444 |
"unpackedSize": 32584, |
| 1445 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQixoCRA9TVsSAnZWagAAN6oQAIRMmn2d7v7TIVnRFaGN\nQUqCpysiN/yvtshHq/CavgqCrqT6g+2trPSANQKUDf/h/i4kLyxTHEMD3Ydz\n1lrGxqtYnGYyx6JZZGFDFMiFQNk8ysZuKTE18tp7Lolvxwix77DvDYW5kSWj\nZAysEfr5x90s0EqW/NvfTgR3JrGoSP1GepGC8StxMYUIDMceLjxD4uFwl4AG\nRKc6qtha3gWZeuXBpr+gBovAofpozJoQGH23BkQSykj+Tc1UPo+nmnoPjkhJ\nSxu6eg0lYfMYZo44LWIbGhrNYym6BH82rPusmSfAmj0H1c+vQ3+ujPkkE/UC\nlsvUVSRzobsyDxe4JHbp/FFtIuyXQkzqkCbgb0QVDMoYK+1FexI0Xvhv9U0w\nGTVyK512SMOK2fXg7C1P8NYKcAdaqDbYdj4KHDe69XGC0lWOY+99sF2FATMP\n+7CFS3V1NMoQ/6O4EZUtznepxKRiKiZI0ghZZAN24EnUuFPiMjf1NK/a8Irg\n2wiDva7tPd/N0CtCTKhtIX9HmBSb1VPsj8NiGCNZaktrL8roKqBM3+IG+x75\n29s+Ti6Fj48xqgtzU+EW0pcMyQ00mjF91iHanCwIZwLc2iF1MNh0gs5ji5Yr\nW/4FpH0xLFBHS7HZw9TxJb5midlMp54VlRW0Zr4TT5LFxYODMWf66faFcf9l\nD8NN\r\n=t/t1\r\n-----END PGP SIGNATURE-----\r\n" |
| 1446 |
}, |
| 1447 |
"maintainers": [ |
| 1448 |
{ |
| 1449 |
"name": "bebraw", |
| 1450 |
"email": "[email protected]" |
| 1451 |
}, |
| 1452 |
{ |
| 1453 |
"name": "jhnns", |
| 1454 |
"email": "[email protected]" |
| 1455 |
}, |
| 1456 |
{ |
| 1457 |
"name": "sokra", |
| 1458 |
"email": "[email protected]" |
| 1459 |
}, |
| 1460 |
{ |
| 1461 |
"name": "spacek33z", |
| 1462 |
"email": "[email protected]" |
| 1463 |
}, |
| 1464 |
{ |
| 1465 |
"name": "thelarkinn", |
| 1466 |
"email": "[email protected]" |
| 1467 |
} |
| 1468 |
], |
| 1469 |
"directories": {}, |
| 1470 |
"_npmOperationalInternal": { |
| 1471 |
"host": "s3://npm-registry-packages", |
| 1472 |
"tmp": "tmp/webpack-sources_2.0.0-beta.0_1547840615877_0.9774733786111278" |
| 1473 |
}, |
| 1474 |
"_hasShrinkwrap": false |
| 1475 |
}, |
| 1476 |
"2.0.0-beta.1": { |
| 1477 |
"name": "webpack-sources", |
| 1478 |
"version": "2.0.0-beta.1", |
| 1479 |
"description": "Source code handling classes for webpack", |
| 1480 |
"main": "./lib/index.js", |
| 1481 |
"scripts": { |
| 1482 |
"pretest": "yarn lint", |
| 1483 |
"test": "mocha --full-trace --check-leaks", |
| 1484 |
"travis": "yarn cover --report lcovonly", |
| 1485 |
"lint": "eslint lib test", |
| 1486 |
"precover": "yarn lint", |
| 1487 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 1488 |
}, |
| 1489 |
"dependencies": { |
| 1490 |
"source-list-map": "^2.0.1", |
| 1491 |
"source-map": "~0.6.1" |
| 1492 |
}, |
| 1493 |
"devDependencies": { |
| 1494 |
"coveralls": "^3.0.2", |
| 1495 |
"eslint": "^5.12.0", |
| 1496 |
"eslint-config-prettier": "^3.5.0", |
| 1497 |
"eslint-plugin-mocha": "^5.2.1", |
| 1498 |
"eslint-plugin-node": "^8.0.1", |
| 1499 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1500 |
"eslint-plugin-prettier": "^3.0.1", |
| 1501 |
"istanbul": "^0.4.1", |
| 1502 |
"mocha": "^5.2.0", |
| 1503 |
"prettier": "^1.15.3", |
| 1504 |
"should": "^13.2.3", |
| 1505 |
"sourcemap-validator": "^1.1.0" |
| 1506 |
}, |
| 1507 |
"engines": { |
| 1508 |
"node": ">=6.11.5" |
| 1509 |
}, |
| 1510 |
"repository": { |
| 1511 |
"type": "git", |
| 1512 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1513 |
}, |
| 1514 |
"keywords": [ |
| 1515 |
"webpack", |
| 1516 |
"source-map" |
| 1517 |
], |
| 1518 |
"author": { |
| 1519 |
"name": "Tobias Koppers @sokra" |
| 1520 |
}, |
| 1521 |
"license": "MIT", |
| 1522 |
"bugs": { |
| 1523 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1524 |
}, |
| 1525 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1526 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 1527 |
"readmeFilename": "README.md", |
| 1528 |
"gitHead": "e3fb93fe5b8a7799cc6fcdcbdc271d11effc271a", |
| 1529 |
"_id": "[email protected]", |
| 1530 |
"_npmVersion": "6.4.1", |
| 1531 |
"_nodeVersion": "10.15.0", |
| 1532 |
"_npmUser": { |
| 1533 |
"name": "sokra", |
| 1534 |
"email": "[email protected]" |
| 1535 |
}, |
| 1536 |
"dist": { |
| 1537 |
"integrity": "sha512-crzDTpRrXVAc5E/PSs3CP4bieKaFUqcKh1fLkul5BGyh9zI/FRK0QCfD4ufmReeEgbWTP7lhmkuSASQeM/dnwQ==", |
| 1538 |
"shasum": "7502135a42b18e5c6e88f85d706729fef1f9aee9", |
| 1539 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.1.tgz", |
| 1540 |
"fileCount": 14, |
| 1541 |
"unpackedSize": 33232, |
| 1542 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQwziCRA9TVsSAnZWagAAM8IP/3z6qhTOS2BV431PtoaS\n2GvODqbHM0DhCqVz/B+wIGzQkGeN5OdkExhdWdL3bIXS2OPnyLUsb2xlslDc\nq+tJZ+Rc3qZG4z+UE3u4ms4LGSOx0NcL2J1kr3Ldvj5Aq06ckeD5CGn8PoOh\nYTdyYk61ImNgL0fNSDlrz358tS6U/XQEE709WIjuZE5eC3/6II8RalCRQWLi\n1w1GJ/aLVE1o2flBeZJzI9DFH0TZ2GIDc6WPTjkufekGebs74kmk0F3BM+vB\nniaKgklDLSJX7a8Yjn30ZtfvlgEdgMIx8cM1dx6zLseCFHAtNLlijtTEr5px\nHt+j0PM/u/vL5uE3r5FbG9X22BEhtXBCZZhR1gG03AG7kBpzEO3UjqxsE0em\n1hSaozn2GZaLrn9kUXb6XZeTdTjj5hWB5svQXNGkiD0gX2M3NV+IvqXZIQeI\nmLX3GoPfe4ONQUTK6h7m75L53kd29jm07Y1gdQjNcMB1eVdoMfg7E6isDF7P\nW5cmgGXDnuyBpTmw2yQVTMbPrkVbMC6U7tHv/ym1o+nb4rcRFE0OOXl/dFaf\nxjv66/ysWpK6wlK97m9g2EbUDgHN41gl5Q9Q96soUVK8UY9fcln7CH8sDFaI\nq5xJ1acOffWUhqD6uBxO+5mazlhIqIrf1OVSh2g2q8SZYQlS9f4g8EXLdSep\nzbD7\r\n=22NR\r\n-----END PGP SIGNATURE-----\r\n" |
| 1543 |
}, |
| 1544 |
"maintainers": [ |
| 1545 |
{ |
| 1546 |
"name": "bebraw", |
| 1547 |
"email": "[email protected]" |
| 1548 |
}, |
| 1549 |
{ |
| 1550 |
"name": "jhnns", |
| 1551 |
"email": "[email protected]" |
| 1552 |
}, |
| 1553 |
{ |
| 1554 |
"name": "sokra", |
| 1555 |
"email": "[email protected]" |
| 1556 |
}, |
| 1557 |
{ |
| 1558 |
"name": "spacek33z", |
| 1559 |
"email": "[email protected]" |
| 1560 |
}, |
| 1561 |
{ |
| 1562 |
"name": "thelarkinn", |
| 1563 |
"email": "[email protected]" |
| 1564 |
} |
| 1565 |
], |
| 1566 |
"directories": {}, |
| 1567 |
"_npmOperationalInternal": { |
| 1568 |
"host": "s3://npm-registry-packages", |
| 1569 |
"tmp": "tmp/webpack-sources_2.0.0-beta.1_1547898081677_0.25216097781514524" |
| 1570 |
}, |
| 1571 |
"_hasShrinkwrap": false |
| 1572 |
}, |
| 1573 |
"1.4.0": { |
| 1574 |
"name": "webpack-sources", |
| 1575 |
"version": "1.4.0", |
| 1576 |
"description": "Source code handling classes for webpack", |
| 1577 |
"main": "./lib/index.js", |
| 1578 |
"scripts": { |
| 1579 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1580 |
"test": "mocha --full-trace --check-leaks", |
| 1581 |
"travis": "npm run cover -- --report lcovonly", |
| 1582 |
"lint": "eslint lib test", |
| 1583 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1584 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1585 |
"precover": "npm run lint && npm run beautify-lint", |
| 1586 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1587 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1588 |
}, |
| 1589 |
"dependencies": { |
| 1590 |
"source-list-map": "^2.0.0", |
| 1591 |
"source-map": "~0.6.1" |
| 1592 |
}, |
| 1593 |
"devDependencies": { |
| 1594 |
"beautify-lint": "^1.0.3", |
| 1595 |
"codecov.io": "^0.1.6", |
| 1596 |
"coveralls": "^2.11.6", |
| 1597 |
"eslint": "^3.19.0", |
| 1598 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1599 |
"istanbul": "^0.4.1", |
| 1600 |
"js-beautify": "^1.5.10", |
| 1601 |
"mocha": "^3.4.2", |
| 1602 |
"should": "^11.2.1", |
| 1603 |
"sourcemap-validator": "^1.1.0" |
| 1604 |
}, |
| 1605 |
"repository": { |
| 1606 |
"type": "git", |
| 1607 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1608 |
}, |
| 1609 |
"keywords": [ |
| 1610 |
"webpack", |
| 1611 |
"source-map" |
| 1612 |
], |
| 1613 |
"author": { |
| 1614 |
"name": "Tobias Koppers @sokra" |
| 1615 |
}, |
| 1616 |
"license": "MIT", |
| 1617 |
"bugs": { |
| 1618 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1619 |
}, |
| 1620 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1621 |
"gitHead": "dd11ce64012927058a87b805b2c0dffd9f6641b4", |
| 1622 |
"_id": "[email protected]", |
| 1623 |
"_npmVersion": "6.4.1", |
| 1624 |
"_nodeVersion": "8.16.0", |
| 1625 |
"_npmUser": { |
| 1626 |
"name": "sokra", |
| 1627 |
"email": "[email protected]" |
| 1628 |
}, |
| 1629 |
"dist": { |
| 1630 |
"integrity": "sha512-1e4Cxgqfl8vnDhXMMpegX7JWWP7HwV8Kp8/Oefs6EG52bRtOR9vuOXM1Gl1vy6NwHfUxHeuR6ElD4HamuRPO0A==", |
| 1631 |
"shasum": "be93d629601aa3ea48e8686ee4d78d9c4e706061", |
| 1632 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.0.tgz", |
| 1633 |
"fileCount": 15, |
| 1634 |
"unpackedSize": 36352, |
| 1635 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQWPDCRA9TVsSAnZWagAAZL0QAJ0rT8kBK7Iclpdc3h2B\nhkbcPD4RKpLGCrtcITpE+CiwPBjZoHLhO6QJ1dZliq/vNw6/Xs/Ea6RreAkR\n6xNW0QM2BPBobgBrUTKYMBF7kzGworJ4s+4ed8DgoCnpOQdd5PCqojYNWh/D\nX7Dtfih+KDLe19Z+OUaHs7BXQMQ79uLTTZslh9GWjm7E96VdfEHV+QCzOzy3\nFOlCS94EKSQpVAvmZzOT6Kn5g4lZik1DRQrHOKHR7fkMwzDNu8QYX7bLIUwo\n9M42aLuGYG3p3eeC4roDhzxfVrlOV5xcmbpmEcy1VXaEde8CzKz3lCR15YrR\n1v7giLAcPYBttEftnHAKWisdEnJxYjQB0p+yiHZeEb8AS8LgQv2wKw0DIA8R\nBIAc0FCLNm6QZ5qHPRepQIUOYkoO2bwCI1h1YzHiH7JDQnhtW14GNLTJ51lN\nm0YTWyow6qZ0Gzje5BLxf7V8OMOYrQ0n8d3W3Zd6mv/lGV3/oxFXcPF6XUfP\ngexo7mBmVLxBkOtj1l4rggUtPM5DaVetMgwF6mNuu/+AGiafhMesNdMhDD1g\n43OL0exuzVY3GOrpaItrelZV7/W36LmN3X+8Vwet4Uh+H1nZRuMzWEcdpCOb\nMmrkOVsA1EO8APu3aC3NaPOLuDntrkrhwEhVHLM5FKxa6HCDd0JsLQ9rIWju\n9JAv\r\n=Ufz1\r\n-----END PGP SIGNATURE-----\r\n" |
| 1636 |
}, |
| 1637 |
"maintainers": [ |
| 1638 |
{ |
| 1639 |
"name": "bebraw", |
| 1640 |
"email": "[email protected]" |
| 1641 |
}, |
| 1642 |
{ |
| 1643 |
"name": "jhnns", |
| 1644 |
"email": "[email protected]" |
| 1645 |
}, |
| 1646 |
{ |
| 1647 |
"name": "sokra", |
| 1648 |
"email": "[email protected]" |
| 1649 |
}, |
| 1650 |
{ |
| 1651 |
"name": "spacek33z", |
| 1652 |
"email": "[email protected]" |
| 1653 |
}, |
| 1654 |
{ |
| 1655 |
"name": "thelarkinn", |
| 1656 |
"email": "[email protected]" |
| 1657 |
} |
| 1658 |
], |
| 1659 |
"directories": {}, |
| 1660 |
"_npmOperationalInternal": { |
| 1661 |
"host": "s3://npm-registry-packages", |
| 1662 |
"tmp": "tmp/webpack-sources_1.4.0_1564566466651_0.10388116617983933" |
| 1663 |
}, |
| 1664 |
"_hasShrinkwrap": false |
| 1665 |
}, |
| 1666 |
"1.4.1": { |
| 1667 |
"name": "webpack-sources", |
| 1668 |
"version": "1.4.1", |
| 1669 |
"description": "Source code handling classes for webpack", |
| 1670 |
"main": "./lib/index.js", |
| 1671 |
"scripts": { |
| 1672 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1673 |
"test": "mocha --full-trace --check-leaks", |
| 1674 |
"travis": "npm run cover -- --report lcovonly", |
| 1675 |
"lint": "eslint lib test", |
| 1676 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1677 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1678 |
"precover": "npm run lint && npm run beautify-lint", |
| 1679 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1680 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1681 |
}, |
| 1682 |
"dependencies": { |
| 1683 |
"source-list-map": "^2.0.0", |
| 1684 |
"source-map": "~0.6.1" |
| 1685 |
}, |
| 1686 |
"devDependencies": { |
| 1687 |
"beautify-lint": "^1.0.3", |
| 1688 |
"codecov.io": "^0.1.6", |
| 1689 |
"coveralls": "^2.11.6", |
| 1690 |
"eslint": "^3.19.0", |
| 1691 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1692 |
"istanbul": "^0.4.1", |
| 1693 |
"js-beautify": "^1.5.10", |
| 1694 |
"mocha": "^3.4.2", |
| 1695 |
"should": "^11.2.1", |
| 1696 |
"sourcemap-validator": "^1.1.0" |
| 1697 |
}, |
| 1698 |
"repository": { |
| 1699 |
"type": "git", |
| 1700 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1701 |
}, |
| 1702 |
"keywords": [ |
| 1703 |
"webpack", |
| 1704 |
"source-map" |
| 1705 |
], |
| 1706 |
"author": { |
| 1707 |
"name": "Tobias Koppers @sokra" |
| 1708 |
}, |
| 1709 |
"license": "MIT", |
| 1710 |
"bugs": { |
| 1711 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1712 |
}, |
| 1713 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1714 |
"gitHead": "47e5f6b7a2dcab49274611ec1f30e40c92b6cea8", |
| 1715 |
"_id": "[email protected]", |
| 1716 |
"_nodeVersion": "12.4.0", |
| 1717 |
"_npmVersion": "6.9.0", |
| 1718 |
"dist": { |
| 1719 |
"integrity": "sha512-XSz38193PTo/1csJabKaV4b53uRVotlMgqJXm3s3eje0Bu6gQTxYDqpD38CmQfDBA+gN+QqaGjasuC8I/7eW3Q==", |
| 1720 |
"shasum": "b91b2c5b1c4e890ff50d1d35b7fa3657040da1da", |
| 1721 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.1.tgz", |
| 1722 |
"fileCount": 15, |
| 1723 |
"unpackedSize": 36396, |
| 1724 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQZVuCRA9TVsSAnZWagAAH6IP/2A+bn1C1RGKaTA/C3Rp\nemYxSzpdKSvT5kqGrkX0pSbdrp6zgR2prK1x42v+LSY95OBtjD59zSNq0t2U\n74QC1o8kVoDkXJXhw9BDRuftcUmkxo3ZOHIKUqOnsIuKGcrU6fPOOvtgnPHM\nNRtRjK6sLGJgsTNPaYVDbGzxePreceZK2K2AdxefP2+BehFac74NXlo5fNoI\nEUWfjw26mu1Pe/PSkVceOkHAjeu1xA4YOBdGtvQ23iaaMAxc64K4M5buwzYv\nEsycYfXotsz0JNZgqFXxlTXOtzJ6lW7WujfHuuoqHtT+JhOYv7DL35hRzAkq\n1olT4oQuCxkb4eKWuaScqfmRwsTTfANJM2jT0tj8xOXRn/HfWNaG3CsYj4q1\nyfffVu8pNMOMlFrHXCQAFdKPRuA4gILOcUFtE14dD39dhndmsKewtYZJjoAF\nMxRhfJyxWi/5GoBpN2vGrvQgx2M3YdUunc0ThZUZPAsYbNruCe8yWiPzquiq\nTeq4vx4Zj0MPE/pDTNIAmgNITUlqsn3z3LrLDDl1peF9Z+vTVO0G8tCIe22m\n+fHzqSPWFHwkKo2ryz4+N19JREsDZSnsnwiT2+JsQImw8CemnPs56Sofqqqk\n3qZm0CSHjtH9OQblIZnUy9dfLX2XanKA/Ay6CWZuS7ljObyBhV/zS2wrBaWn\n2guZ\r\n=NJuh\r\n-----END PGP SIGNATURE-----\r\n" |
| 1725 |
}, |
| 1726 |
"maintainers": [ |
| 1727 |
{ |
| 1728 |
"name": "bebraw", |
| 1729 |
"email": "[email protected]" |
| 1730 |
}, |
| 1731 |
{ |
| 1732 |
"name": "jhnns", |
| 1733 |
"email": "[email protected]" |
| 1734 |
}, |
| 1735 |
{ |
| 1736 |
"name": "sokra", |
| 1737 |
"email": "[email protected]" |
| 1738 |
}, |
| 1739 |
{ |
| 1740 |
"name": "spacek33z", |
| 1741 |
"email": "[email protected]" |
| 1742 |
}, |
| 1743 |
{ |
| 1744 |
"name": "thelarkinn", |
| 1745 |
"email": "[email protected]" |
| 1746 |
} |
| 1747 |
], |
| 1748 |
"_npmUser": { |
| 1749 |
"name": "sokra", |
| 1750 |
"email": "[email protected]" |
| 1751 |
}, |
| 1752 |
"directories": {}, |
| 1753 |
"_npmOperationalInternal": { |
| 1754 |
"host": "s3://npm-registry-packages", |
| 1755 |
"tmp": "tmp/webpack-sources_1.4.1_1564579181915_0.2991884361012698" |
| 1756 |
}, |
| 1757 |
"_hasShrinkwrap": false |
| 1758 |
}, |
| 1759 |
"1.4.2": { |
| 1760 |
"name": "webpack-sources", |
| 1761 |
"version": "1.4.2", |
| 1762 |
"description": "Source code handling classes for webpack", |
| 1763 |
"main": "./lib/index.js", |
| 1764 |
"scripts": { |
| 1765 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1766 |
"test": "mocha --full-trace --check-leaks", |
| 1767 |
"travis": "npm run cover -- --report lcovonly", |
| 1768 |
"lint": "eslint lib test", |
| 1769 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1770 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1771 |
"precover": "npm run lint && npm run beautify-lint", |
| 1772 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1773 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1774 |
}, |
| 1775 |
"dependencies": { |
| 1776 |
"source-list-map": "^2.0.0", |
| 1777 |
"source-map": "~0.6.1" |
| 1778 |
}, |
| 1779 |
"devDependencies": { |
| 1780 |
"beautify-lint": "^1.0.3", |
| 1781 |
"codecov.io": "^0.1.6", |
| 1782 |
"coveralls": "^2.11.6", |
| 1783 |
"eslint": "^4.18.2", |
| 1784 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1785 |
"istanbul": "^0.4.1", |
| 1786 |
"js-beautify": "^1.5.10", |
| 1787 |
"mocha": "^3.4.2", |
| 1788 |
"should": "^11.2.1", |
| 1789 |
"sourcemap-validator": "^1.1.0" |
| 1790 |
}, |
| 1791 |
"repository": { |
| 1792 |
"type": "git", |
| 1793 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1794 |
}, |
| 1795 |
"keywords": [ |
| 1796 |
"webpack", |
| 1797 |
"source-map" |
| 1798 |
], |
| 1799 |
"author": { |
| 1800 |
"name": "Tobias Koppers @sokra" |
| 1801 |
}, |
| 1802 |
"license": "MIT", |
| 1803 |
"bugs": { |
| 1804 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1805 |
}, |
| 1806 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1807 |
"gitHead": "741de57fc86867e78e905a4dbc82e4b34873a02d", |
| 1808 |
"_id": "[email protected]", |
| 1809 |
"_npmVersion": "5.6.0", |
| 1810 |
"_nodeVersion": "8.11.4", |
| 1811 |
"_npmUser": { |
| 1812 |
"name": "sokra", |
| 1813 |
"email": "[email protected]" |
| 1814 |
}, |
| 1815 |
"dist": { |
| 1816 |
"integrity": "sha512-V/mHhu5RzLPYVY3Aa+ogcoLqdZU+XdOf0VCLuqSDLJ6oo5lk7Q1n9kG5cySidY/SzXfXwS+CASg4z00q7gIhRQ==", |
| 1817 |
"shasum": "a688692f5ce53f9db6edef498c0beae73610c9d6", |
| 1818 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.2.tgz", |
| 1819 |
"fileCount": 15, |
| 1820 |
"unpackedSize": 36675, |
| 1821 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSBUWCRA9TVsSAnZWagAAVZIP/1h6Ecl4dEJ5kvY0CICn\nWn340MAS14lINP6s8uJxT4SB1o/BXqcnjLuD0V+ADWnhkN1P9pBE7YPfwnPl\n3UEnJ0yMJQEo803zclnXSVhkEfTgRn4NYV4pVl2visRtrt2GU0HMfdXoQ9Zs\ncgN0xaP5u/f/XigN4vRLnkBMgrkJ7LIbRNTMqU0ZLS90VE4Km3OUsDXTeyIs\n1zXfaVvrG3POI0ecg2XM4SkpNIXepc4FBlqV33SAvnv036VRpFRoQFCIOhpO\nYM6hDXx+Df831kKEO6HNYXHkJR8ZtcCjl7LgnWsBOBDb7jytMpdewfGhS9fC\n3fqTBi4DRGZUz3XI7tVWJPJPATfrYgOLsGelPoGuXgg/vPXXQriWMbsWJWSK\n+4+0m3gWNfUcGO4kG1tvWXb2a55KlPyjYj3lQ/JQCAVL6Kcmc2aC0/XmpVwb\n3OHDTFpJGz8KrHlMsgb6hWbYLHPKh1hIYENRc9+0+KU+9kuRt8A2/Zzp17j0\nyokEew4n+rC3C/il3XWEjiWCZyPqhQhWSjSGUuBwlKjAQc8fgKSYlY/ctzX7\n8kB+y9SOezrdGd1RFBSi+822/eaa92iLvGDPxG8e9BupSqq7BKybQJRixp7u\necYjMx7sxEFhIHgVJX6wLjzeLRRc9RmMtEP0roV6dMyq2voT+a71GJ1hvmUO\ndH52\r\n=WVLr\r\n-----END PGP SIGNATURE-----\r\n" |
| 1822 |
}, |
| 1823 |
"maintainers": [ |
| 1824 |
{ |
| 1825 |
"name": "bebraw", |
| 1826 |
"email": "[email protected]" |
| 1827 |
}, |
| 1828 |
{ |
| 1829 |
"name": "jhnns", |
| 1830 |
"email": "[email protected]" |
| 1831 |
}, |
| 1832 |
{ |
| 1833 |
"name": "sokra", |
| 1834 |
"email": "[email protected]" |
| 1835 |
}, |
| 1836 |
{ |
| 1837 |
"name": "spacek33z", |
| 1838 |
"email": "[email protected]" |
| 1839 |
}, |
| 1840 |
{ |
| 1841 |
"name": "thelarkinn", |
| 1842 |
"email": "[email protected]" |
| 1843 |
} |
| 1844 |
], |
| 1845 |
"directories": {}, |
| 1846 |
"_npmOperationalInternal": { |
| 1847 |
"host": "s3://npm-registry-packages", |
| 1848 |
"tmp": "tmp/webpack-sources_1.4.2_1565005077597_0.7974915425378057" |
| 1849 |
}, |
| 1850 |
"_hasShrinkwrap": false |
| 1851 |
}, |
| 1852 |
"2.0.0-beta.2": { |
| 1853 |
"name": "webpack-sources", |
| 1854 |
"version": "2.0.0-beta.2", |
| 1855 |
"description": "Source code handling classes for webpack", |
| 1856 |
"main": "./lib/index.js", |
| 1857 |
"scripts": { |
| 1858 |
"pretest": "yarn lint", |
| 1859 |
"test": "mocha --full-trace --check-leaks", |
| 1860 |
"travis": "yarn cover --report lcovonly", |
| 1861 |
"lint": "eslint lib test", |
| 1862 |
"precover": "yarn lint", |
| 1863 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 1864 |
}, |
| 1865 |
"dependencies": { |
| 1866 |
"source-list-map": "^2.0.1", |
| 1867 |
"source-map": "~0.6.1" |
| 1868 |
}, |
| 1869 |
"devDependencies": { |
| 1870 |
"coveralls": "^3.0.2", |
| 1871 |
"eslint": "^5.12.0", |
| 1872 |
"eslint-config-prettier": "^3.5.0", |
| 1873 |
"eslint-plugin-mocha": "^5.2.1", |
| 1874 |
"eslint-plugin-node": "^8.0.1", |
| 1875 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1876 |
"eslint-plugin-prettier": "^3.0.1", |
| 1877 |
"istanbul": "^0.4.1", |
| 1878 |
"mocha": "^5.2.0", |
| 1879 |
"prettier": "^1.15.3", |
| 1880 |
"should": "^13.2.3", |
| 1881 |
"sourcemap-validator": "^1.1.0" |
| 1882 |
}, |
| 1883 |
"engines": { |
| 1884 |
"node": ">=6.11.5" |
| 1885 |
}, |
| 1886 |
"repository": { |
| 1887 |
"type": "git", |
| 1888 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1889 |
}, |
| 1890 |
"keywords": [ |
| 1891 |
"webpack", |
| 1892 |
"source-map" |
| 1893 |
], |
| 1894 |
"author": { |
| 1895 |
"name": "Tobias Koppers @sokra" |
| 1896 |
}, |
| 1897 |
"license": "MIT", |
| 1898 |
"bugs": { |
| 1899 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1900 |
}, |
| 1901 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1902 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 1903 |
"readmeFilename": "README.md", |
| 1904 |
"gitHead": "95c52e67c16671e6426a9176d36d8fae3d561c0b", |
| 1905 |
"_id": "[email protected]", |
| 1906 |
"_npmVersion": "5.6.0", |
| 1907 |
"_nodeVersion": "8.11.4", |
| 1908 |
"_npmUser": { |
| 1909 |
"name": "sokra", |
| 1910 |
"email": "[email protected]" |
| 1911 |
}, |
| 1912 |
"dist": { |
| 1913 |
"integrity": "sha512-1TtHKmyK/G6F61c78cwJueyexc2A2mHHC7L+oQ7g9j09cM40M4zUDij37IB9+gVvXBC5jGcJ6HQwmwV0skVvVA==", |
| 1914 |
"shasum": "9e820680e6fa0d05b228754fe95e27fba63b8521", |
| 1915 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.2.tgz", |
| 1916 |
"fileCount": 15, |
| 1917 |
"unpackedSize": 39512, |
| 1918 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSBd8CRA9TVsSAnZWagAAvNEP/i6WsIqOhA4J16gnqRIO\nXOWO4try2mUOaKC/q+dvmgGhdo6ZRx3ipSvGHkkfwrn7ov7hfi60fLlkaLTf\nl/IrlmLW8iHmQbuqeXaBhbGyhRrt3efFgnEvRwX3KuHndfm5T4TcaZKvBoBU\nLydcahkgqOISUqXXuEFlHGeSOmLDVWJakAwuh86UKIe62kpJjumzn+51xqx5\n7ZsmtdzNVtOy7LSWJcoe2pZ5tpT2Xic2AS31OfQGys8TSBXxlWW8WCzcKliQ\nFwu9zf9XBTSYfUTqK3/rvjb2FWJQjx1DN1f4SmPlgOqlJnnn7etIorfimEH5\nYGfGTBx410PahN3PmNix5dyB/XKyJnKsrzstzBG+m4pt0yHjy4/gBZRqeQB+\nx0CQmydRFLiJkTlPuClOsVVDNH/8xMCh5zl6xQRmNiuhNVjgCgSXGRSVbhFE\njyV218cWD/yJzgwgVmq/4Wgm4wUSkofKdtiI8v3YrD8pMQP1GGwQC/l3OqGQ\ny4EO4kHPobtCIVZzdqt2yVQyGdqiZira4mr9TOA6zz/bb+AKIhWza0fEnGxe\nAhZna6U3I2oYO27e51RLCCn00zELulZ3vmkbuAzL+ecfcbKmBZdn+m01e/Hf\noDb48z8vBb+0L76kYNaBlFh6QugpLXCIiEaNC4BtMk3vRe08E7gpdfRCQ9wH\n7SjV\r\n=rGpj\r\n-----END PGP SIGNATURE-----\r\n" |
| 1919 |
}, |
| 1920 |
"maintainers": [ |
| 1921 |
{ |
| 1922 |
"name": "bebraw", |
| 1923 |
"email": "[email protected]" |
| 1924 |
}, |
| 1925 |
{ |
| 1926 |
"name": "jhnns", |
| 1927 |
"email": "[email protected]" |
| 1928 |
}, |
| 1929 |
{ |
| 1930 |
"name": "sokra", |
| 1931 |
"email": "[email protected]" |
| 1932 |
}, |
| 1933 |
{ |
| 1934 |
"name": "spacek33z", |
| 1935 |
"email": "[email protected]" |
| 1936 |
}, |
| 1937 |
{ |
| 1938 |
"name": "thelarkinn", |
| 1939 |
"email": "[email protected]" |
| 1940 |
} |
| 1941 |
], |
| 1942 |
"directories": {}, |
| 1943 |
"_npmOperationalInternal": { |
| 1944 |
"host": "s3://npm-registry-packages", |
| 1945 |
"tmp": "tmp/webpack-sources_2.0.0-beta.2_1565005691693_0.007510184343851867" |
| 1946 |
}, |
| 1947 |
"_hasShrinkwrap": false |
| 1948 |
}, |
| 1949 |
"1.4.3": { |
| 1950 |
"name": "webpack-sources", |
| 1951 |
"version": "1.4.3", |
| 1952 |
"description": "Source code handling classes for webpack", |
| 1953 |
"main": "./lib/index.js", |
| 1954 |
"scripts": { |
| 1955 |
"pretest": "npm run lint && npm run beautify-lint", |
| 1956 |
"test": "mocha --full-trace --check-leaks", |
| 1957 |
"travis": "npm run cover -- --report lcovonly", |
| 1958 |
"lint": "eslint lib test", |
| 1959 |
"beautify-lint": "beautify-lint lib/**.js test/**.js", |
| 1960 |
"beautify": "beautify-rewrite lib/**.js test/**.js", |
| 1961 |
"precover": "npm run lint && npm run beautify-lint", |
| 1962 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha", |
| 1963 |
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" |
| 1964 |
}, |
| 1965 |
"dependencies": { |
| 1966 |
"source-list-map": "^2.0.0", |
| 1967 |
"source-map": "~0.6.1" |
| 1968 |
}, |
| 1969 |
"devDependencies": { |
| 1970 |
"beautify-lint": "^1.0.3", |
| 1971 |
"codecov.io": "^0.1.6", |
| 1972 |
"coveralls": "^2.11.6", |
| 1973 |
"eslint": "^4.18.2", |
| 1974 |
"eslint-plugin-nodeca": "^1.0.3", |
| 1975 |
"istanbul": "^0.4.1", |
| 1976 |
"js-beautify": "^1.5.10", |
| 1977 |
"mocha": "^3.4.2", |
| 1978 |
"should": "^11.2.1", |
| 1979 |
"sourcemap-validator": "^1.1.0" |
| 1980 |
}, |
| 1981 |
"repository": { |
| 1982 |
"type": "git", |
| 1983 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 1984 |
}, |
| 1985 |
"keywords": [ |
| 1986 |
"webpack", |
| 1987 |
"source-map" |
| 1988 |
], |
| 1989 |
"author": { |
| 1990 |
"name": "Tobias Koppers @sokra" |
| 1991 |
}, |
| 1992 |
"license": "MIT", |
| 1993 |
"bugs": { |
| 1994 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 1995 |
}, |
| 1996 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 1997 |
"gitHead": "d9117497dfbac940c02aa97a6fe48af633154edc", |
| 1998 |
"_id": "[email protected]", |
| 1999 |
"_nodeVersion": "12.4.0", |
| 2000 |
"_npmVersion": "6.9.0", |
| 2001 |
"dist": { |
| 2002 |
"integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", |
| 2003 |
"shasum": "eedd8ec0b928fbf1cbfe994e22d2d890f330a933", |
| 2004 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", |
| 2005 |
"fileCount": 15, |
| 2006 |
"unpackedSize": 36694, |
| 2007 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSEO0CRA9TVsSAnZWagAA+NgP+wSTDMmFTN5zPN3FdamR\nu6lKYG5j+24uIWkULFo/PBFuWFSCZ5jaso7dMWExiLy8ruXowlIHy6+UmuIq\nwdZgIQDogrI94hZ6NqwF2kWpIq8qNqz1nozuBOzTm7t4iXnqOpJiRVXsWKYA\ns92UIlkJZPOZFUkBzbEGw3VK1trzbaqk0ogzc2415ClCrG/6wAienxPpmi8X\nrtoSkLogV4UDljh1g5VxW07UWV0GiBBwr/WfKTE+dv2zgr7ShSyKk9kPcLt1\nUpB6F+2vVIW813T6PmaQyriqec8zbLrQffv5h8ty7GK5Y4rKbm9kRFwwn3Q4\ndRhb5RsLE3HshFrsg4/4KO92pJExxsoMQC6JOj9YQKtG9MDTxbPhSMTAt/D7\nuA159zr+iBWOqi7LtXRZEK102pFm1b/kg8RzlT6LCnvT9zGmEs7fzh3WdmNF\n2RME+L8bjG9GuUIAn7RJX5NYt/2NNf8h7JJ8uc+F/dRxZ4H2YIYawOJd+uJa\njB+0fi3/dF88aldDJWeGlRXV0mtLLHPFThaiyw/RdRw9RzBb3BUL+KMp+ucW\nUvHnsW382aEtrG8Yscgj0B1nBjyUTQCDP4wQLHE3tjCuqctHZLNXa+o6SlT4\nzZIgQIOsLQ9+KOrLr2CEfpkLmwrDCTAADelJr4BLd7pwC1vRC09x/9ndBDPL\nCBlo\r\n=DRZm\r\n-----END PGP SIGNATURE-----\r\n" |
| 2008 |
}, |
| 2009 |
"maintainers": [ |
| 2010 |
{ |
| 2011 |
"name": "bebraw", |
| 2012 |
"email": "[email protected]" |
| 2013 |
}, |
| 2014 |
{ |
| 2015 |
"name": "jhnns", |
| 2016 |
"email": "[email protected]" |
| 2017 |
}, |
| 2018 |
{ |
| 2019 |
"name": "sokra", |
| 2020 |
"email": "[email protected]" |
| 2021 |
}, |
| 2022 |
{ |
| 2023 |
"name": "spacek33z", |
| 2024 |
"email": "[email protected]" |
| 2025 |
}, |
| 2026 |
{ |
| 2027 |
"name": "thelarkinn", |
| 2028 |
"email": "[email protected]" |
| 2029 |
} |
| 2030 |
], |
| 2031 |
"_npmUser": { |
| 2032 |
"name": "sokra", |
| 2033 |
"email": "[email protected]" |
| 2034 |
}, |
| 2035 |
"directories": {}, |
| 2036 |
"_npmOperationalInternal": { |
| 2037 |
"host": "s3://npm-registry-packages", |
| 2038 |
"tmp": "tmp/webpack-sources_1.4.3_1565017011941_0.3263161823803915" |
| 2039 |
}, |
| 2040 |
"_hasShrinkwrap": false |
| 2041 |
}, |
| 2042 |
"2.0.0-beta.3": { |
| 2043 |
"name": "webpack-sources", |
| 2044 |
"version": "2.0.0-beta.3", |
| 2045 |
"description": "Source code handling classes for webpack", |
| 2046 |
"main": "./lib/index.js", |
| 2047 |
"scripts": { |
| 2048 |
"pretest": "yarn lint", |
| 2049 |
"test": "mocha --full-trace --check-leaks", |
| 2050 |
"travis": "yarn cover --report lcovonly", |
| 2051 |
"lint": "eslint lib test", |
| 2052 |
"precover": "yarn lint", |
| 2053 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2054 |
}, |
| 2055 |
"dependencies": { |
| 2056 |
"source-list-map": "^2.0.1", |
| 2057 |
"source-map": "~0.6.1" |
| 2058 |
}, |
| 2059 |
"devDependencies": { |
| 2060 |
"coveralls": "^3.0.2", |
| 2061 |
"eslint": "^5.12.0", |
| 2062 |
"eslint-config-prettier": "^3.5.0", |
| 2063 |
"eslint-plugin-mocha": "^5.2.1", |
| 2064 |
"eslint-plugin-node": "^8.0.1", |
| 2065 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2066 |
"eslint-plugin-prettier": "^3.0.1", |
| 2067 |
"istanbul": "^0.4.1", |
| 2068 |
"mocha": "^5.2.0", |
| 2069 |
"prettier": "^1.15.3", |
| 2070 |
"should": "^13.2.3", |
| 2071 |
"sourcemap-validator": "^1.1.0" |
| 2072 |
}, |
| 2073 |
"engines": { |
| 2074 |
"node": ">=6.11.5" |
| 2075 |
}, |
| 2076 |
"repository": { |
| 2077 |
"type": "git", |
| 2078 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2079 |
}, |
| 2080 |
"keywords": [ |
| 2081 |
"webpack", |
| 2082 |
"source-map" |
| 2083 |
], |
| 2084 |
"author": { |
| 2085 |
"name": "Tobias Koppers @sokra" |
| 2086 |
}, |
| 2087 |
"license": "MIT", |
| 2088 |
"bugs": { |
| 2089 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2090 |
}, |
| 2091 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2092 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2093 |
"readmeFilename": "README.md", |
| 2094 |
"gitHead": "d240fb8092fd0a4e9c1b5ec72bbc3d54d41a338c", |
| 2095 |
"_id": "[email protected]", |
| 2096 |
"_nodeVersion": "12.4.0", |
| 2097 |
"_npmVersion": "6.9.0", |
| 2098 |
"dist": { |
| 2099 |
"integrity": "sha512-ncnvMMP5B/DDkqgPVG8eXTFD+Yk1ch6AKcyRRlvB9B/4DL1exaF1Xh78Y7xcTXwhpVsL2051KSEfl8MkP75yzg==", |
| 2100 |
"shasum": "4da69f67f34e3a3d1633a82b6db8a6995f4a7f13", |
| 2101 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.3.tgz", |
| 2102 |
"fileCount": 15, |
| 2103 |
"unpackedSize": 39540, |
| 2104 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSETZCRA9TVsSAnZWagAAwCkP/05jvTBYCNY9Ep1eIPOe\nHZMUoc3krUY97f2DNoP1XtgIy76rc1ZVlJvTqy4mGsIlXBZ0kHMR0MYnXBEv\n4a/PY5/knuDkgBiZCNuy8Uiia5XdYuDsa4OwJHTHslMC/5esm0hzsqwmkXAE\nQcVyZzJ52fhmXmFOrVgE/veX7O+Nm8DEhGDtX1JLFQ4GL23PkZ4lghuqo2bo\n1ra3YBQzlwBaZveYLVffxmG7D8ef0DGl4nlNTUdw3I3pWxiKS2SNXzPnhuo6\nYRPTfLlbudjJFAKg61TE6VlRKHNqREivR3KbBELVBhNOJqv0DEtbCwlqwUiP\n73QsqYvJx8n1t29lQzNOFuwHdBxtLe4PmGEFjZGuXQCwnjZjoqgsIdWTcFV4\nVLuP6pvpExJt6d/33Qa4tBOCfWHVl5Mt8EzGg54dLp+EXI3FhrYktQWOS0d3\nqr1rDumoUnyd2cYKVwocRbBM5Q0qmRziiVKlQiGZ0VENdL259FOQD9R2+aMs\nPLVDb5b4G4U6cMtQzp/B9hI6gxsrOThMaY3Zin3LCg/gWwgIcEL2sY4RFFnS\neyOtQTPpahvj6DU0//nnjoVvR//tsY4fgXRvlBOyesmr0hqpYB2pM1xCOgq1\nQviRXtI/QWcJhoJ297DntaNdCDSs/UTidfaxn7ao7OZbhDFEmKRIanDw/9Qo\nruHD\r\n=wmpS\r\n-----END PGP SIGNATURE-----\r\n" |
| 2105 |
}, |
| 2106 |
"maintainers": [ |
| 2107 |
{ |
| 2108 |
"name": "bebraw", |
| 2109 |
"email": "[email protected]" |
| 2110 |
}, |
| 2111 |
{ |
| 2112 |
"name": "jhnns", |
| 2113 |
"email": "[email protected]" |
| 2114 |
}, |
| 2115 |
{ |
| 2116 |
"name": "sokra", |
| 2117 |
"email": "[email protected]" |
| 2118 |
}, |
| 2119 |
{ |
| 2120 |
"name": "spacek33z", |
| 2121 |
"email": "[email protected]" |
| 2122 |
}, |
| 2123 |
{ |
| 2124 |
"name": "thelarkinn", |
| 2125 |
"email": "[email protected]" |
| 2126 |
} |
| 2127 |
], |
| 2128 |
"_npmUser": { |
| 2129 |
"name": "sokra", |
| 2130 |
"email": "[email protected]" |
| 2131 |
}, |
| 2132 |
"directories": {}, |
| 2133 |
"_npmOperationalInternal": { |
| 2134 |
"host": "s3://npm-registry-packages", |
| 2135 |
"tmp": "tmp/webpack-sources_2.0.0-beta.3_1565017305135_0.6160441220609603" |
| 2136 |
}, |
| 2137 |
"_hasShrinkwrap": false |
| 2138 |
}, |
| 2139 |
"2.0.0-beta.4": { |
| 2140 |
"name": "webpack-sources", |
| 2141 |
"version": "2.0.0-beta.4", |
| 2142 |
"description": "Source code handling classes for webpack", |
| 2143 |
"main": "./lib/index.js", |
| 2144 |
"scripts": { |
| 2145 |
"pretest": "yarn lint", |
| 2146 |
"test": "mocha --full-trace --check-leaks", |
| 2147 |
"travis": "yarn cover --report lcovonly", |
| 2148 |
"lint": "eslint lib test", |
| 2149 |
"precover": "yarn lint", |
| 2150 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2151 |
}, |
| 2152 |
"dependencies": { |
| 2153 |
"source-list-map": "^2.0.1", |
| 2154 |
"source-map": "~0.6.1" |
| 2155 |
}, |
| 2156 |
"devDependencies": { |
| 2157 |
"coveralls": "^3.0.2", |
| 2158 |
"eslint": "^5.12.0", |
| 2159 |
"eslint-config-prettier": "^3.5.0", |
| 2160 |
"eslint-plugin-mocha": "^5.2.1", |
| 2161 |
"eslint-plugin-node": "^8.0.1", |
| 2162 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2163 |
"eslint-plugin-prettier": "^3.0.1", |
| 2164 |
"istanbul": "^0.4.1", |
| 2165 |
"mocha": "^5.2.0", |
| 2166 |
"prettier": "^1.15.3", |
| 2167 |
"should": "^13.2.3", |
| 2168 |
"sourcemap-validator": "^1.1.0" |
| 2169 |
}, |
| 2170 |
"engines": { |
| 2171 |
"node": ">=6.11.5" |
| 2172 |
}, |
| 2173 |
"repository": { |
| 2174 |
"type": "git", |
| 2175 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2176 |
}, |
| 2177 |
"keywords": [ |
| 2178 |
"webpack", |
| 2179 |
"source-map" |
| 2180 |
], |
| 2181 |
"author": { |
| 2182 |
"name": "Tobias Koppers @sokra" |
| 2183 |
}, |
| 2184 |
"license": "MIT", |
| 2185 |
"bugs": { |
| 2186 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2187 |
}, |
| 2188 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2189 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2190 |
"readmeFilename": "README.md", |
| 2191 |
"gitHead": "b18dd96ae5f52a6907dc93e678b20a3fee43d219", |
| 2192 |
"_id": "[email protected]", |
| 2193 |
"_nodeVersion": "12.8.0", |
| 2194 |
"_npmVersion": "6.10.2", |
| 2195 |
"dist": { |
| 2196 |
"integrity": "sha512-Xa2Ul5hAlMICQsKN1hjoSTSxJ0UmET4gZXR1e/Sfpos0XNSc2K3fhJHz79CxLyYh0KFEaj6NeoMra9Pp66hRBQ==", |
| 2197 |
"shasum": "b92f912e16e5c49ebd3c268edf83b13972a3c8ef", |
| 2198 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.4.tgz", |
| 2199 |
"fileCount": 15, |
| 2200 |
"unpackedSize": 40267, |
| 2201 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdembkCRA9TVsSAnZWagAABbAP/3qYYmMwHNs/JSjCEDYg\nIykwXOHi9z52NNYQ3SO4ciY/dsIrd007RIq2p87hqvbE72woTQdKEU8XqCgZ\n3sGK8+OeIxXSA4HjV5yBvGlcAKTwsanwWVIZ3dt6E1ReM4IV8lymJswM/XBJ\nx+ICVnR7TM42rintxHDFRrEFlNg3X8yMwMjc3Ao0nVBn3AYla3NCHkG6eJZU\nr+eTgUHTID8T7zEzdA+8+9eMVpbCfjBHrURh2s5xhKg43QJPy9xbNd3xO2Gh\n4ssaqeBDDBFGIZXELXe6je/xMt9S2aeVVnZioicuDzLrA20OL4OLXUGtlFlv\nDH9efP9doMXck7r0vavP9E9hRNjJHVZLnzXQH+HLvqS+BriwCalLak4fmJhj\n8fEQwKc5R76lg2FIRyj1wpEU6xx4XaZxfAe0zYD4hPvFe7g7QhhkXGSkOj9M\nZyP6k1UvPY/VaDKXBR5wyAUo1D185XjLw1OZwzUFcA5y341OrNpCDU3KPAzB\nFuo0f87CXb3mrn1Y1m1pY10WhMS6Jzp7/nFf4IATO3298C2Fc0rVmszc9eBV\n6x7O1tK/eQr1rjHofLBsIeel00jwnydGCaDjkTQDCeFgIEFn59k4JE4MGxxp\nrD5X1W5an1UkrMdKVo7a7UAIp7XESxc5srJvF3REnqzR8O9w5h4V7bd4/VuT\nl0Fc\r\n=jAW9\r\n-----END PGP SIGNATURE-----\r\n" |
| 2202 |
}, |
| 2203 |
"maintainers": [ |
| 2204 |
{ |
| 2205 |
"name": "bebraw", |
| 2206 |
"email": "[email protected]" |
| 2207 |
}, |
| 2208 |
{ |
| 2209 |
"name": "jhnns", |
| 2210 |
"email": "[email protected]" |
| 2211 |
}, |
| 2212 |
{ |
| 2213 |
"name": "sokra", |
| 2214 |
"email": "[email protected]" |
| 2215 |
}, |
| 2216 |
{ |
| 2217 |
"name": "spacek33z", |
| 2218 |
"email": "[email protected]" |
| 2219 |
}, |
| 2220 |
{ |
| 2221 |
"name": "thelarkinn", |
| 2222 |
"email": "[email protected]" |
| 2223 |
} |
| 2224 |
], |
| 2225 |
"_npmUser": { |
| 2226 |
"name": "sokra", |
| 2227 |
"email": "[email protected]" |
| 2228 |
}, |
| 2229 |
"directories": {}, |
| 2230 |
"_npmOperationalInternal": { |
| 2231 |
"host": "s3://npm-registry-packages", |
| 2232 |
"tmp": "tmp/webpack-sources_2.0.0-beta.4_1568302819778_0.33750397726486225" |
| 2233 |
}, |
| 2234 |
"_hasShrinkwrap": false |
| 2235 |
}, |
| 2236 |
"2.0.0-beta.5": { |
| 2237 |
"name": "webpack-sources", |
| 2238 |
"version": "2.0.0-beta.5", |
| 2239 |
"description": "Source code handling classes for webpack", |
| 2240 |
"main": "./lib/index.js", |
| 2241 |
"scripts": { |
| 2242 |
"pretest": "yarn lint", |
| 2243 |
"test": "mocha --full-trace --check-leaks", |
| 2244 |
"travis": "yarn cover --report lcovonly", |
| 2245 |
"lint": "eslint lib test", |
| 2246 |
"precover": "yarn lint", |
| 2247 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2248 |
}, |
| 2249 |
"dependencies": { |
| 2250 |
"source-list-map": "^2.0.1", |
| 2251 |
"source-map": "~0.6.1" |
| 2252 |
}, |
| 2253 |
"devDependencies": { |
| 2254 |
"coveralls": "^3.0.2", |
| 2255 |
"eslint": "^5.12.0", |
| 2256 |
"eslint-config-prettier": "^3.5.0", |
| 2257 |
"eslint-plugin-mocha": "^5.2.1", |
| 2258 |
"eslint-plugin-node": "^8.0.1", |
| 2259 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2260 |
"eslint-plugin-prettier": "^3.0.1", |
| 2261 |
"istanbul": "^0.4.1", |
| 2262 |
"mocha": "^5.2.0", |
| 2263 |
"prettier": "^1.15.3", |
| 2264 |
"should": "^13.2.3", |
| 2265 |
"sourcemap-validator": "^1.1.0" |
| 2266 |
}, |
| 2267 |
"engines": { |
| 2268 |
"node": ">=10.13.0" |
| 2269 |
}, |
| 2270 |
"repository": { |
| 2271 |
"type": "git", |
| 2272 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2273 |
}, |
| 2274 |
"keywords": [ |
| 2275 |
"webpack", |
| 2276 |
"source-map" |
| 2277 |
], |
| 2278 |
"author": { |
| 2279 |
"name": "Tobias Koppers @sokra" |
| 2280 |
}, |
| 2281 |
"license": "MIT", |
| 2282 |
"bugs": { |
| 2283 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2284 |
}, |
| 2285 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2286 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2287 |
"readmeFilename": "README.md", |
| 2288 |
"gitHead": "913329a70ef7f28482e0186faef6831a298a0db2", |
| 2289 |
"_id": "[email protected]", |
| 2290 |
"_npmVersion": "6.4.1", |
| 2291 |
"_nodeVersion": "10.15.3", |
| 2292 |
"_npmUser": { |
| 2293 |
"name": "sokra", |
| 2294 |
"email": "[email protected]" |
| 2295 |
}, |
| 2296 |
"dist": { |
| 2297 |
"integrity": "sha512-Y0NWr3nIeJbHzQciKPjWkERbRrmqZPhE4t8K5qOzl4dhJViIdBnvutCCAQ9PKj6MC8lo4Wytu+SZ9Ct8vhX/cQ==", |
| 2298 |
"shasum": "aac603d9fdf04ce96276cf845cd9bb9afd660c4a", |
| 2299 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.5.tgz", |
| 2300 |
"fileCount": 15, |
| 2301 |
"unpackedSize": 41622, |
| 2302 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrvdZCRA9TVsSAnZWagAAeRcP/idcdTNY+ns2lozmJfc8\nbHM2jVcT45kK/uoyE1cvgLmQExG/m97cgvwLC/n+4WlP6pTW+gJVECqcoqhh\nRMUsCNa5ZVaTTt5gUGymhdB+3b7I2B2VAATSEyxbsjNzUyUVr5r/zUDS3LAO\nA+UNIkzb9fZBdFT8jQdFxLcViq4+00XpEtLAkr6nnOae61vPffbeom9Bsotb\nQdvfMOCiYhHh8C0UknX8wKADIiTAaTiJqFjMpx0aUvevHNXunYgXY9mohpNo\nO0GodZyAQQpZgtc313091qIpMt/lflLIWD7621SccOfBeS1U1m6ZV6eho71i\nIUUPFpV0WCkno7xrvhVvaiFZeCWZ8iMKWSNnWhG3JFkWxd6FXEAwEVPUumEE\n2SC/up5QksrJ256Veab7j0+E6fyTj4YSQ8NcGAdjgye9u5M7BA+cvaQ9sbxf\nC5MrCyuaQODoYEv/bv3Y6JY6GV4y6TUlfFRmLBCcc+z3j0EBYEg85hlWwlDM\ndV+7kJK2kQGkSWu767DXGazJCtqCceowl5wshluoklk+J+JGXs/RiUD3hNhi\nFBXxcQN9+t8GKt6fZZza/cg73tyW+CEP0LD6zG5VZfnxiQrKE5XxEbj7QN5q\nQdC9fy6AN7qwSm7KZQSWSwav+U+DGSqxBmTG3uMCa3L/JCiiAt2R/0NLWvgC\nucaa\r\n=5s9k\r\n-----END PGP SIGNATURE-----\r\n" |
| 2303 |
}, |
| 2304 |
"maintainers": [ |
| 2305 |
{ |
| 2306 |
"name": "bebraw", |
| 2307 |
"email": "[email protected]" |
| 2308 |
}, |
| 2309 |
{ |
| 2310 |
"name": "jhnns", |
| 2311 |
"email": "[email protected]" |
| 2312 |
}, |
| 2313 |
{ |
| 2314 |
"name": "sokra", |
| 2315 |
"email": "[email protected]" |
| 2316 |
}, |
| 2317 |
{ |
| 2318 |
"name": "spacek33z", |
| 2319 |
"email": "[email protected]" |
| 2320 |
}, |
| 2321 |
{ |
| 2322 |
"name": "thelarkinn", |
| 2323 |
"email": "[email protected]" |
| 2324 |
} |
| 2325 |
], |
| 2326 |
"directories": {}, |
| 2327 |
"_npmOperationalInternal": { |
| 2328 |
"host": "s3://npm-registry-packages", |
| 2329 |
"tmp": "tmp/webpack-sources_2.0.0-beta.5_1571747671817_0.22840850453452033" |
| 2330 |
}, |
| 2331 |
"_hasShrinkwrap": false |
| 2332 |
}, |
| 2333 |
"2.0.0-beta.6": { |
| 2334 |
"name": "webpack-sources", |
| 2335 |
"version": "2.0.0-beta.6", |
| 2336 |
"description": "Source code handling classes for webpack", |
| 2337 |
"main": "./lib/index.js", |
| 2338 |
"scripts": { |
| 2339 |
"pretest": "yarn lint", |
| 2340 |
"test": "mocha --full-trace --check-leaks", |
| 2341 |
"travis": "yarn cover --report lcovonly", |
| 2342 |
"lint": "eslint lib test", |
| 2343 |
"precover": "yarn lint", |
| 2344 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2345 |
}, |
| 2346 |
"dependencies": { |
| 2347 |
"source-list-map": "^2.0.1", |
| 2348 |
"source-map": "~0.6.1" |
| 2349 |
}, |
| 2350 |
"devDependencies": { |
| 2351 |
"coveralls": "^3.0.2", |
| 2352 |
"eslint": "^5.12.0", |
| 2353 |
"eslint-config-prettier": "^3.5.0", |
| 2354 |
"eslint-plugin-mocha": "^5.2.1", |
| 2355 |
"eslint-plugin-node": "^8.0.1", |
| 2356 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2357 |
"eslint-plugin-prettier": "^3.0.1", |
| 2358 |
"istanbul": "^0.4.1", |
| 2359 |
"mocha": "^5.2.0", |
| 2360 |
"prettier": "^1.15.3", |
| 2361 |
"should": "^13.2.3", |
| 2362 |
"sourcemap-validator": "^1.1.0" |
| 2363 |
}, |
| 2364 |
"engines": { |
| 2365 |
"node": ">=10.13.0" |
| 2366 |
}, |
| 2367 |
"repository": { |
| 2368 |
"type": "git", |
| 2369 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2370 |
}, |
| 2371 |
"keywords": [ |
| 2372 |
"webpack", |
| 2373 |
"source-map" |
| 2374 |
], |
| 2375 |
"author": { |
| 2376 |
"name": "Tobias Koppers @sokra" |
| 2377 |
}, |
| 2378 |
"license": "MIT", |
| 2379 |
"bugs": { |
| 2380 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2381 |
}, |
| 2382 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2383 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2384 |
"readmeFilename": "README.md", |
| 2385 |
"gitHead": "6ca4706a4104025494eda4f6e49059842ec000b7", |
| 2386 |
"_id": "[email protected]", |
| 2387 |
"_npmVersion": "6.4.1", |
| 2388 |
"_nodeVersion": "10.15.3", |
| 2389 |
"_npmUser": { |
| 2390 |
"name": "sokra", |
| 2391 |
"email": "[email protected]" |
| 2392 |
}, |
| 2393 |
"dist": { |
| 2394 |
"integrity": "sha512-zbYXdCVyNpHFs8vR0O3Tf7kfxmL76RDBGf1kBbeBrW1zlIKAp3msFKBVllwUAfyoMa/5OJ5iQRrqE7zn3eBjbw==", |
| 2395 |
"shasum": "80707d4e417cf734ec634efcb1cdca4c57aa1be8", |
| 2396 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.6.tgz", |
| 2397 |
"fileCount": 15, |
| 2398 |
"unpackedSize": 49159, |
| 2399 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxTozCRA9TVsSAnZWagAAQgQP/2PjCr8U/NYT+vy6p9RC\nQk5PUmXaRhrWFItINgYGph0uNU0lVJtnmzYnnDEWZMCFyX7Bh1Jfmc0OmVyh\nXK8HdIysE9iWq/LaEe7Pd6bV2msIrIirU42Bn2zigAcNjXKrSIpytl6BQzGx\nmxC0j6PlUlvJUxS7Eb0+N2UimSD5efT2Fle3zxgYoliHY62NgecpG1hsRt6t\nOHEVGgD14+QJ9Og72j6zH6oo6N+Zvl8v5I7MMG1+9SLSZ5mCv6/ecR3NwSUn\nhcpYoS2NzkCIGL6p+wrG4bmlVH4R5Wsbvhsnwm61+qFc2Rwy/C7T786WDvTD\nJhWa4xI6LtJIOLEOubya6deH8BPSOqSI/B6/J5w8fDsDGj2BOIU5AwpqT8+I\nIXDExjzDlaEcwjSWwpoqedh5+6lswmy2qcStKpZhunweQ3K3zgt2vkpAAR/I\nLl98vNnomxhmimXhF0AMTl950DC0CESMyg3QYeNi0t7jY07cvwtCK647xwdn\no8BnN/6UAC+s7YjtZj1+UABt070O0AYxt9IW+fK2hBvJhHpVJxd97eucgrh/\nHK4bBh9cia2VE6MnSJ50exXKX21YgOYlMVRFRVext7Ru8lF6GakHhn6PLrTk\npnTgP7JCU8z51pD2TArHZd9ONf/k/NQGXXeMuwDBhcmF5IkFPqfJM+MP9DVg\nZkhk\r\n=Jqdu\r\n-----END PGP SIGNATURE-----\r\n" |
| 2400 |
}, |
| 2401 |
"maintainers": [ |
| 2402 |
{ |
| 2403 |
"name": "bebraw", |
| 2404 |
"email": "[email protected]" |
| 2405 |
}, |
| 2406 |
{ |
| 2407 |
"name": "jhnns", |
| 2408 |
"email": "[email protected]" |
| 2409 |
}, |
| 2410 |
{ |
| 2411 |
"name": "sokra", |
| 2412 |
"email": "[email protected]" |
| 2413 |
}, |
| 2414 |
{ |
| 2415 |
"name": "spacek33z", |
| 2416 |
"email": "[email protected]" |
| 2417 |
}, |
| 2418 |
{ |
| 2419 |
"name": "thelarkinn", |
| 2420 |
"email": "[email protected]" |
| 2421 |
} |
| 2422 |
], |
| 2423 |
"directories": {}, |
| 2424 |
"_npmOperationalInternal": { |
| 2425 |
"host": "s3://npm-registry-packages", |
| 2426 |
"tmp": "tmp/webpack-sources_2.0.0-beta.6_1573206578766_0.23776116757607757" |
| 2427 |
}, |
| 2428 |
"_hasShrinkwrap": false |
| 2429 |
}, |
| 2430 |
"2.0.0-beta.7": { |
| 2431 |
"name": "webpack-sources", |
| 2432 |
"version": "2.0.0-beta.7", |
| 2433 |
"description": "Source code handling classes for webpack", |
| 2434 |
"main": "./lib/index.js", |
| 2435 |
"scripts": { |
| 2436 |
"pretest": "yarn lint", |
| 2437 |
"test": "mocha --full-trace --check-leaks", |
| 2438 |
"travis": "yarn cover --report lcovonly", |
| 2439 |
"lint": "eslint lib test", |
| 2440 |
"precover": "yarn lint", |
| 2441 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2442 |
}, |
| 2443 |
"dependencies": { |
| 2444 |
"source-list-map": "^2.0.1", |
| 2445 |
"source-map": "~0.6.1" |
| 2446 |
}, |
| 2447 |
"devDependencies": { |
| 2448 |
"coveralls": "^3.0.2", |
| 2449 |
"eslint": "^5.12.0", |
| 2450 |
"eslint-config-prettier": "^3.5.0", |
| 2451 |
"eslint-plugin-mocha": "^5.2.1", |
| 2452 |
"eslint-plugin-node": "^8.0.1", |
| 2453 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2454 |
"eslint-plugin-prettier": "^3.0.1", |
| 2455 |
"istanbul": "^0.4.1", |
| 2456 |
"mocha": "^5.2.0", |
| 2457 |
"prettier": "^1.15.3", |
| 2458 |
"should": "^13.2.3", |
| 2459 |
"sourcemap-validator": "^1.1.0" |
| 2460 |
}, |
| 2461 |
"engines": { |
| 2462 |
"node": ">=10.13.0" |
| 2463 |
}, |
| 2464 |
"repository": { |
| 2465 |
"type": "git", |
| 2466 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2467 |
}, |
| 2468 |
"keywords": [ |
| 2469 |
"webpack", |
| 2470 |
"source-map" |
| 2471 |
], |
| 2472 |
"author": { |
| 2473 |
"name": "Tobias Koppers @sokra" |
| 2474 |
}, |
| 2475 |
"license": "MIT", |
| 2476 |
"bugs": { |
| 2477 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2478 |
}, |
| 2479 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2480 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2481 |
"readmeFilename": "README.md", |
| 2482 |
"gitHead": "78af22b545500d6aab010eb7161ef343bc22e8de", |
| 2483 |
"_id": "[email protected]", |
| 2484 |
"_nodeVersion": "12.12.0", |
| 2485 |
"_npmVersion": "6.11.3", |
| 2486 |
"dist": { |
| 2487 |
"integrity": "sha512-jbUJbBcU/PHABhHDtUfXCSU6wD6dYOBMH4oIQnXxyapigyuOSHdkmqENayzV+3OEK8tm45qRQD/ggtyAMxqjAQ==", |
| 2488 |
"shasum": "525b4caaef7371fd7f8bf7e5fffe692880038926", |
| 2489 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.7.tgz", |
| 2490 |
"fileCount": 15, |
| 2491 |
"unpackedSize": 50583, |
| 2492 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy/3kCRA9TVsSAnZWagAAXO4P/icgv3hlsZW1smjQiZvj\ncjQImET9bq14n1IA3S1QvMQ78A4CV4dqcAnRnHzqw4L6whAlfR+QYdWmKpq8\nqbpFvkiv9x35zEvpKTHYjiHogv5Bij1TOZFzFCpDAwkfcir7OoD3P20S2G9y\nnzFKRzJPt6XK1luyEU+JVYgAAPnyLaYz2gulFETqcB2OXyp61Xd/HpvrECj2\n4iwBu3hxLboDvE0DJ4zMARX1r8aStC3dVQlLEl/9VDiPmWz4XofNuyuKiq/G\ngW/fkjrdZi7/i0WHSvN7guWakriMPmSpshDzYjtsYu2AYk78QCNvjf83/dr5\n9rS/DLMJd86u1lPkq9P8nMsywwl4hbPnXI4xYj070GftmWzZ49ukF0hHhRKj\nGP7Y/Mg27PO7uzOE+v+CKrSoJLz2/g0C1wgy9PzApy/rNThw0XvZZoUG0+yq\nCb69ABc/Ju+RaDnigBYsT34GEefVr/N6PY8x8BSQAVPJcWpm2K/ICUj9JB5s\nvktGUNHd+CELFQh6R30ogIU9dckXtvNySyE2vh8pRj3tHlP2ravOqTk6vIfK\nSRQthsuz2/KrhmbqFRww9XgRaFAu6DyrTbftv0gIMQgnA8mH7bArpRV4iHEr\nkiAUYYBazdDddb/mvm3IRXWAsK6ChTA4kqtG7MobONzfcHr0NXtBQvJvxsNH\nzlN9\r\n=NUJ3\r\n-----END PGP SIGNATURE-----\r\n" |
| 2493 |
}, |
| 2494 |
"maintainers": [ |
| 2495 |
{ |
| 2496 |
"name": "bebraw", |
| 2497 |
"email": "[email protected]" |
| 2498 |
}, |
| 2499 |
{ |
| 2500 |
"name": "jhnns", |
| 2501 |
"email": "[email protected]" |
| 2502 |
}, |
| 2503 |
{ |
| 2504 |
"name": "sokra", |
| 2505 |
"email": "[email protected]" |
| 2506 |
}, |
| 2507 |
{ |
| 2508 |
"name": "spacek33z", |
| 2509 |
"email": "[email protected]" |
| 2510 |
}, |
| 2511 |
{ |
| 2512 |
"name": "thelarkinn", |
| 2513 |
"email": "[email protected]" |
| 2514 |
} |
| 2515 |
], |
| 2516 |
"_npmUser": { |
| 2517 |
"name": "sokra", |
| 2518 |
"email": "[email protected]" |
| 2519 |
}, |
| 2520 |
"directories": {}, |
| 2521 |
"_npmOperationalInternal": { |
| 2522 |
"host": "s3://npm-registry-packages", |
| 2523 |
"tmp": "tmp/webpack-sources_2.0.0-beta.7_1573649891687_0.6142788204135017" |
| 2524 |
}, |
| 2525 |
"_hasShrinkwrap": false |
| 2526 |
}, |
| 2527 |
"2.0.0-beta.8": { |
| 2528 |
"name": "webpack-sources", |
| 2529 |
"version": "2.0.0-beta.8", |
| 2530 |
"description": "Source code handling classes for webpack", |
| 2531 |
"main": "./lib/index.js", |
| 2532 |
"scripts": { |
| 2533 |
"pretest": "yarn lint", |
| 2534 |
"test": "mocha --full-trace --check-leaks", |
| 2535 |
"travis": "yarn cover --report lcovonly", |
| 2536 |
"lint": "eslint lib test", |
| 2537 |
"precover": "yarn lint", |
| 2538 |
"cover": "istanbul cover node_modules/mocha/bin/_mocha" |
| 2539 |
}, |
| 2540 |
"dependencies": { |
| 2541 |
"source-list-map": "^2.0.1", |
| 2542 |
"source-map": "~0.6.1" |
| 2543 |
}, |
| 2544 |
"devDependencies": { |
| 2545 |
"coveralls": "^3.0.2", |
| 2546 |
"eslint": "^5.12.0", |
| 2547 |
"eslint-config-prettier": "^3.5.0", |
| 2548 |
"eslint-plugin-mocha": "^5.2.1", |
| 2549 |
"eslint-plugin-node": "^8.0.1", |
| 2550 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2551 |
"eslint-plugin-prettier": "^3.0.1", |
| 2552 |
"istanbul": "^0.4.1", |
| 2553 |
"mocha": "^5.2.0", |
| 2554 |
"prettier": "^1.15.3", |
| 2555 |
"should": "^13.2.3", |
| 2556 |
"sourcemap-validator": "^1.1.0" |
| 2557 |
}, |
| 2558 |
"engines": { |
| 2559 |
"node": ">=10.13.0" |
| 2560 |
}, |
| 2561 |
"repository": { |
| 2562 |
"type": "git", |
| 2563 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2564 |
}, |
| 2565 |
"keywords": [ |
| 2566 |
"webpack", |
| 2567 |
"source-map" |
| 2568 |
], |
| 2569 |
"author": { |
| 2570 |
"name": "Tobias Koppers @sokra" |
| 2571 |
}, |
| 2572 |
"license": "MIT", |
| 2573 |
"bugs": { |
| 2574 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2575 |
}, |
| 2576 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2577 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```js\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```js\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```js\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```js\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```js\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```js\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```js\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```js\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```js\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```js\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```js\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```js\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```js\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```js\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```js\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n", |
| 2578 |
"readmeFilename": "README.md", |
| 2579 |
"gitHead": "29ca74603f6332dd25337d1d9f2a41fc58cd8f14", |
| 2580 |
"_id": "[email protected]", |
| 2581 |
"_nodeVersion": "12.13.0", |
| 2582 |
"_npmVersion": "6.12.0", |
| 2583 |
"dist": { |
| 2584 |
"integrity": "sha512-RUaCJu7HYNeuzlY4WYcArcnOzMIj7kHndQ4pBdgP3iiMpG3Ke0BWY5wvb/VEFgsIXp3ZzPGRECwX+4fgpcKFYw==", |
| 2585 |
"shasum": "0fc292239f6767cf4e9b47becfaa340ce6d7ea4f", |
| 2586 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.8.tgz", |
| 2587 |
"fileCount": 15, |
| 2588 |
"unpackedSize": 50707, |
| 2589 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1V1qCRA9TVsSAnZWagAAsWAP/143mZwa21htO5pdj1kW\nRFUFmioxJyNy/CxcVHQIy+L2NWCo5SBCRC5CayzZGDgMAoQUtNFd2y6uC0YO\ntbN9Nlj++e2EjVhR2F7L+51YvAH0f7HdtGMIaf6PPLyQ+sNrVyRp/ubK5MHE\nRHfgAe47fG4rDnQlV0YNY3HiV5XZxmjuG9sYhDd9tQLTpOdqexOTMNwT9cKa\nMoshycQ6Y13HWc559bN30l8ho2LJ4mW37g8uf/4BekCnGbzywbnug/bQYBUv\nOWSfhKyXKEz9PuAqJ902mBC6dHz6uPf2/EyaCvQvBpcOnI0gMN1rD6QiSJ8k\nWABVAet+a2uP8xAKClG4M6x2Hg5NgtzldwIwD7cnR3xDI3XRcSXmw4wTzrlu\noPYsmE+POyJTm3ejL4ehpdAvm2kwmuR0A/5rESdZBV8pudetQZ9tt8nptjYP\nz69ED34Q6/E6dncytPOP92D5XBJfeXRsmxJ4UZkTbDegy2e+G3RP/YYEZyJl\n39Z/3E3Sv6KdqVbbWBCGjZ1nfdu/uWjhq4EMxR8dyUGICpjKOMaYcvpS+Hbz\nVMwnsuDXGLgbEtwP/cSRd2yseDrK3AcqT4HT9+9WX4xdGRTuIDscooVRHGnR\nUG7gX6NpzVY/jQ9s8jOpvVaS9daHD3NIt2soD747xYtCPJKgwo9TK42X4pts\nho1m\r\n=TFkB\r\n-----END PGP SIGNATURE-----\r\n" |
| 2590 |
}, |
| 2591 |
"maintainers": [ |
| 2592 |
{ |
| 2593 |
"name": "bebraw", |
| 2594 |
"email": "[email protected]" |
| 2595 |
}, |
| 2596 |
{ |
| 2597 |
"name": "jhnns", |
| 2598 |
"email": "[email protected]" |
| 2599 |
}, |
| 2600 |
{ |
| 2601 |
"name": "sokra", |
| 2602 |
"email": "[email protected]" |
| 2603 |
}, |
| 2604 |
{ |
| 2605 |
"name": "spacek33z", |
| 2606 |
"email": "[email protected]" |
| 2607 |
}, |
| 2608 |
{ |
| 2609 |
"name": "thelarkinn", |
| 2610 |
"email": "[email protected]" |
| 2611 |
} |
| 2612 |
], |
| 2613 |
"_npmUser": { |
| 2614 |
"name": "sokra", |
| 2615 |
"email": "[email protected]" |
| 2616 |
}, |
| 2617 |
"directories": {}, |
| 2618 |
"_npmOperationalInternal": { |
| 2619 |
"host": "s3://npm-registry-packages", |
| 2620 |
"tmp": "tmp/webpack-sources_2.0.0-beta.8_1574264170082_0.3259653075687241" |
| 2621 |
}, |
| 2622 |
"_hasShrinkwrap": false |
| 2623 |
}, |
| 2624 |
"2.0.0-beta.9": { |
| 2625 |
"name": "webpack-sources", |
| 2626 |
"version": "2.0.0-beta.9", |
| 2627 |
"description": "Source code handling classes for webpack", |
| 2628 |
"main": "./lib/index.js", |
| 2629 |
"scripts": { |
| 2630 |
"pretest": "yarn lint", |
| 2631 |
"test": "jest", |
| 2632 |
"travis": "yarn cover", |
| 2633 |
"lint": "eslint --cache lib test", |
| 2634 |
"precover": "yarn lint", |
| 2635 |
"cover": "jest --coverage" |
| 2636 |
}, |
| 2637 |
"dependencies": { |
| 2638 |
"source-list-map": "^2.0.1", |
| 2639 |
"source-map": "^0.6.1" |
| 2640 |
}, |
| 2641 |
"devDependencies": { |
| 2642 |
"coveralls": "^3.0.2", |
| 2643 |
"eslint": "^7.7.0", |
| 2644 |
"eslint-config-prettier": "^6.11.0", |
| 2645 |
"eslint-plugin-jest": "^23.20.0", |
| 2646 |
"eslint-plugin-mocha": "^8.0.0", |
| 2647 |
"eslint-plugin-node": "^11.1.0", |
| 2648 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2649 |
"eslint-plugin-prettier": "^3.0.1", |
| 2650 |
"istanbul": "^0.4.1", |
| 2651 |
"jest": "^26.4.0", |
| 2652 |
"prettier": "^2.0.5", |
| 2653 |
"sourcemap-validator": "^2.1.0" |
| 2654 |
}, |
| 2655 |
"engines": { |
| 2656 |
"node": ">=10.13.0" |
| 2657 |
}, |
| 2658 |
"repository": { |
| 2659 |
"type": "git", |
| 2660 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2661 |
}, |
| 2662 |
"keywords": [ |
| 2663 |
"webpack", |
| 2664 |
"source-map" |
| 2665 |
], |
| 2666 |
"author": { |
| 2667 |
"name": "Tobias Koppers @sokra" |
| 2668 |
}, |
| 2669 |
"license": "MIT", |
| 2670 |
"bugs": { |
| 2671 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2672 |
}, |
| 2673 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2674 |
"jest": { |
| 2675 |
"forceExit": true, |
| 2676 |
"testMatch": [ |
| 2677 |
"<rootDir>/test/*.js" |
| 2678 |
], |
| 2679 |
"transformIgnorePatterns": [ |
| 2680 |
"<rootDir>" |
| 2681 |
], |
| 2682 |
"testEnvironment": "node" |
| 2683 |
}, |
| 2684 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```typescript\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```typescript\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```typescript\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```typescript\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```typescript\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```typescript\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```typescript\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```typescript\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```typescript\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```typescript\nnew CachedSource(source: Source)\n```\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```typescript\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```typescript\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```typescript\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```typescript\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```typescript\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n\n## `CompatSource`\n\nConverts a Source-like object into a real Source object.\n\n### Public methods\n\n#### static `from`\n\n```typescript\nCompatSource.from(sourceLike: any | Source)\n```\n\nIf `sourceLike` is a real Source it returns it unmodified. Otherwise it returns it wrapped in a CompatSource.\n", |
| 2685 |
"readmeFilename": "README.md", |
| 2686 |
"gitHead": "6153bfcaefcd4d0597e50dca253e23dd23c99ec5", |
| 2687 |
"_id": "[email protected]", |
| 2688 |
"_nodeVersion": "14.5.0", |
| 2689 |
"_npmVersion": "6.14.5", |
| 2690 |
"dist": { |
| 2691 |
"integrity": "sha512-q6O+gKGojLye0Fm05vgthtmx5LPbYpAU4FsdMsX8YBgkOZovDbQmBMhjY/CiWhxD9u/0AWeWdXFNbQz17mkdLw==", |
| 2692 |
"shasum": "49a504a08c0a8b1c5418c1fdca4ced06b5cb9119", |
| 2693 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.9.tgz", |
| 2694 |
"fileCount": 16, |
| 2695 |
"unpackedSize": 52718, |
| 2696 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPinHCRA9TVsSAnZWagAAxrgP/1gd/P+HHXZhe/sMtJyg\nwLQZ5ws7gX4X/elnLY0phjzcQdowjPu9I6xMJbRhI6PZKpykpQVimaokFHBE\nFqVaDYsvZ1EowbzcImnJljmuhFxQ+iUj3JWppQfvjC5meM8ORy+5AcCCBmnO\nsIUwLMAERflFUEvM7J6p52sbn29esaFeJWmzG6fQI982RK3RBvn9J0dEpVfS\nz3IzZBRpP7rwker77X/HRXGhFAW2gPJzG2RE2tFYerHs+Z5V5RJUghEAJ8gv\nlHU76TjQWX8AxaWxnKuSNQfI/oM13bgx9Ju/hijp/wjt8TPwDczv2DLn52Yq\nSZMYFnriuUNP5YqU3qhBK+MBevHpdly4K7U0LgOxkdAIO8WaWz9RHBZ3EdGH\n0ZOBSLrfMx54hHncZbKpc2LdgmPrhN8eaoNxJFbE0poIiHelS1Pf7yxcmr+R\n/v5SNDnx6Ag9f3U6HI08/Oe6kXqi39Xeb0hY7yA6Mdfzf9K/zd2DA1mvG4oJ\nUZekJCyhg7GoYd/+9yIawDqRq07IZs7FCVLaX+DxY47GXbKyBbh0j+qGaQ1x\nUZMOEzbTq5GRELCUDldtLzgh/hlm+LfHth4hCsSjCve9eGWICt7NV8We3xt4\nfmUTM5BF+JTxix4mBNR4Lji5Cgu+1kB9xrThr+4FuNJprDirC04YCXFXceDP\nEoiD\r\n=H+m7\r\n-----END PGP SIGNATURE-----\r\n" |
| 2697 |
}, |
| 2698 |
"maintainers": [ |
| 2699 |
{ |
| 2700 |
"name": "bebraw", |
| 2701 |
"email": "[email protected]" |
| 2702 |
}, |
| 2703 |
{ |
| 2704 |
"name": "jhnns", |
| 2705 |
"email": "[email protected]" |
| 2706 |
}, |
| 2707 |
{ |
| 2708 |
"name": "sokra", |
| 2709 |
"email": "[email protected]" |
| 2710 |
}, |
| 2711 |
{ |
| 2712 |
"name": "spacek33z", |
| 2713 |
"email": "[email protected]" |
| 2714 |
}, |
| 2715 |
{ |
| 2716 |
"name": "thelarkinn", |
| 2717 |
"email": "[email protected]" |
| 2718 |
} |
| 2719 |
], |
| 2720 |
"_npmUser": { |
| 2721 |
"name": "sokra", |
| 2722 |
"email": "[email protected]" |
| 2723 |
}, |
| 2724 |
"directories": {}, |
| 2725 |
"_npmOperationalInternal": { |
| 2726 |
"host": "s3://npm-registry-packages", |
| 2727 |
"tmp": "tmp/webpack-sources_2.0.0-beta.9_1597909446805_0.5586015707814336" |
| 2728 |
}, |
| 2729 |
"_hasShrinkwrap": false |
| 2730 |
}, |
| 2731 |
"2.0.0-beta.10": { |
| 2732 |
"name": "webpack-sources", |
| 2733 |
"version": "2.0.0-beta.10", |
| 2734 |
"description": "Source code handling classes for webpack", |
| 2735 |
"main": "./lib/index.js", |
| 2736 |
"scripts": { |
| 2737 |
"pretest": "yarn lint", |
| 2738 |
"test": "jest", |
| 2739 |
"travis": "yarn cover", |
| 2740 |
"lint": "eslint --cache lib test", |
| 2741 |
"precover": "yarn lint", |
| 2742 |
"cover": "jest --coverage" |
| 2743 |
}, |
| 2744 |
"dependencies": { |
| 2745 |
"source-list-map": "^2.0.1", |
| 2746 |
"source-map": "^0.6.1" |
| 2747 |
}, |
| 2748 |
"devDependencies": { |
| 2749 |
"coveralls": "^3.0.2", |
| 2750 |
"eslint": "^7.7.0", |
| 2751 |
"eslint-config-prettier": "^6.11.0", |
| 2752 |
"eslint-plugin-jest": "^23.20.0", |
| 2753 |
"eslint-plugin-mocha": "^8.0.0", |
| 2754 |
"eslint-plugin-node": "^11.1.0", |
| 2755 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2756 |
"eslint-plugin-prettier": "^3.0.1", |
| 2757 |
"istanbul": "^0.4.1", |
| 2758 |
"jest": "^26.4.0", |
| 2759 |
"prettier": "^2.0.5", |
| 2760 |
"sourcemap-validator": "^2.1.0" |
| 2761 |
}, |
| 2762 |
"engines": { |
| 2763 |
"node": ">=10.13.0" |
| 2764 |
}, |
| 2765 |
"repository": { |
| 2766 |
"type": "git", |
| 2767 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2768 |
}, |
| 2769 |
"keywords": [ |
| 2770 |
"webpack", |
| 2771 |
"source-map" |
| 2772 |
], |
| 2773 |
"author": { |
| 2774 |
"name": "Tobias Koppers @sokra" |
| 2775 |
}, |
| 2776 |
"license": "MIT", |
| 2777 |
"bugs": { |
| 2778 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2779 |
}, |
| 2780 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2781 |
"jest": { |
| 2782 |
"forceExit": true, |
| 2783 |
"testMatch": [ |
| 2784 |
"<rootDir>/test/*.js" |
| 2785 |
], |
| 2786 |
"transformIgnorePatterns": [ |
| 2787 |
"<rootDir>" |
| 2788 |
], |
| 2789 |
"testEnvironment": "node" |
| 2790 |
}, |
| 2791 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```typescript\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```typescript\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```typescript\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```typescript\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```typescript\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```typescript\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```typescript\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```typescript\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```typescript\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```typescript\nnew CachedSource(source: Source)\nnew CachedSource(source: Source | () => Source, cachedData?: CachedData)\n```\n\nInstead of passing a `Source` object directly one can pass an function that returns a `Source` object. The function is only called when needed and once.\n\n### Public methods\n\n#### `getCachedData()`\n\nReturns the cached data for passing to the constructor. All cached entries are converted to Buffers and strings are avoided.\n\n#### `original()`\n\nReturns the original `Source` object.\n\n#### `originalLazy()`\n\nReturns the original `Source` object or a function returning these.\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```typescript\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```typescript\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```typescript\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```typescript\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```typescript\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n\n## `CompatSource`\n\nConverts a Source-like object into a real Source object.\n\n### Public methods\n\n#### static `from`\n\n```typescript\nCompatSource.from(sourceLike: any | Source)\n```\n\nIf `sourceLike` is a real Source it returns it unmodified. Otherwise it returns it wrapped in a CompatSource.\n", |
| 2792 |
"readmeFilename": "README.md", |
| 2793 |
"gitHead": "2649cb8227f448ed5103ab0a90b636f97b3fef3a", |
| 2794 |
"_id": "[email protected]", |
| 2795 |
"_nodeVersion": "14.5.0", |
| 2796 |
"_npmVersion": "6.14.5", |
| 2797 |
"dist": { |
| 2798 |
"integrity": "sha512-HxeYa9Q6nMk3MtSbi5mKUUV+gOxYlGQwujKbeK0JQ+SmLSMgC4cQkZ+xpsWvsUtTvskDwpKvuVLpE9eW7vn0IQ==", |
| 2799 |
"shasum": "f603355c5518141976601bfd620a3a5a01ac7b5d", |
| 2800 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.10.tgz", |
| 2801 |
"fileCount": 16, |
| 2802 |
"unpackedSize": 53390, |
| 2803 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQ+I5CRA9TVsSAnZWagAAUrgP/19pSC5Z4GDDobGXffXm\nU4ud9Yt/uBeRj+oIGNdnBjRQDtACkLiH/HpW1tYXenLMg6JxBToLsYOy1AJu\nMvoIX0y3Jvo/KRjjY431AV+gbjsL+/iSljs9sUWIYTlf/YZXkKT62gaSE0SE\nF7GR9ZDh3QhAjnC0fPFtZwP9yFdgXdErgvAvnAUbezkRXjSZMGvHu8jhqDlm\nXMHX6G8nd8cysDGWFqqrEioT8FGHFU8bgSdLh3FY56fEZOfF2TwouItlDG2d\naU3nwGETBsovLpEpSrRy1RnVK6iygLQfswMgK3uRp1aQeLQylfsdRviZoSLc\nM+W49jP0WlX/bZj50MmoxwUd6gmM/Z69kKUvWC2erFU6R5+H/8TERI9AqrVy\n4M2bSRxl2eynmsI8SCTtwImufC9HBXPng95xRRHvSscATZx1r5yKZa24Ndo3\nudweWXiCORZFa2a8AxLRuLYTPPPOko8JEAxSybR4KIGbR3sa92qlGYqIsZ0v\nERicop9cRWNub11VkoLwGJqUAPgU18GST56gPF6ywQIUFK4p18NNhyfc6tc3\nYdz0CWhJTHd+KelgPIEPDDgKbL00Cl2+UnPEJg3/s91Y+pH+lDX683ftbamb\nT2wW8skkHZ+2iUK4i4YrF9aBn3I74rHdQ6PYaSh7dmj10EST+h+GOgGVTSx/\nJRl/\r\n=lplw\r\n-----END PGP SIGNATURE-----\r\n" |
| 2804 |
}, |
| 2805 |
"maintainers": [ |
| 2806 |
{ |
| 2807 |
"name": "bebraw", |
| 2808 |
"email": "[email protected]" |
| 2809 |
}, |
| 2810 |
{ |
| 2811 |
"name": "jhnns", |
| 2812 |
"email": "[email protected]" |
| 2813 |
}, |
| 2814 |
{ |
| 2815 |
"name": "sokra", |
| 2816 |
"email": "[email protected]" |
| 2817 |
}, |
| 2818 |
{ |
| 2819 |
"name": "spacek33z", |
| 2820 |
"email": "[email protected]" |
| 2821 |
}, |
| 2822 |
{ |
| 2823 |
"name": "thelarkinn", |
| 2824 |
"email": "[email protected]" |
| 2825 |
} |
| 2826 |
], |
| 2827 |
"_npmUser": { |
| 2828 |
"name": "sokra", |
| 2829 |
"email": "[email protected]" |
| 2830 |
}, |
| 2831 |
"directories": {}, |
| 2832 |
"_npmOperationalInternal": { |
| 2833 |
"host": "s3://npm-registry-packages", |
| 2834 |
"tmp": "tmp/webpack-sources_2.0.0-beta.10_1598284345373_0.6551735511521408" |
| 2835 |
}, |
| 2836 |
"_hasShrinkwrap": false |
| 2837 |
}, |
| 2838 |
"2.0.0": { |
| 2839 |
"name": "webpack-sources", |
| 2840 |
"version": "2.0.0", |
| 2841 |
"description": "Source code handling classes for webpack", |
| 2842 |
"main": "./lib/index.js", |
| 2843 |
"scripts": { |
| 2844 |
"pretest": "yarn lint", |
| 2845 |
"test": "jest", |
| 2846 |
"travis": "yarn cover", |
| 2847 |
"lint": "eslint --cache lib test", |
| 2848 |
"precover": "yarn lint", |
| 2849 |
"cover": "jest --coverage" |
| 2850 |
}, |
| 2851 |
"dependencies": { |
| 2852 |
"source-list-map": "^2.0.1", |
| 2853 |
"source-map": "^0.6.1" |
| 2854 |
}, |
| 2855 |
"devDependencies": { |
| 2856 |
"coveralls": "^3.0.2", |
| 2857 |
"eslint": "^7.7.0", |
| 2858 |
"eslint-config-prettier": "^6.11.0", |
| 2859 |
"eslint-plugin-jest": "^23.20.0", |
| 2860 |
"eslint-plugin-mocha": "^8.0.0", |
| 2861 |
"eslint-plugin-node": "^11.1.0", |
| 2862 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2863 |
"eslint-plugin-prettier": "^3.0.1", |
| 2864 |
"istanbul": "^0.4.1", |
| 2865 |
"jest": "^26.4.0", |
| 2866 |
"prettier": "^2.0.5", |
| 2867 |
"sourcemap-validator": "^2.1.0" |
| 2868 |
}, |
| 2869 |
"engines": { |
| 2870 |
"node": ">=10.13.0" |
| 2871 |
}, |
| 2872 |
"repository": { |
| 2873 |
"type": "git", |
| 2874 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2875 |
}, |
| 2876 |
"keywords": [ |
| 2877 |
"webpack", |
| 2878 |
"source-map" |
| 2879 |
], |
| 2880 |
"author": { |
| 2881 |
"name": "Tobias Koppers @sokra" |
| 2882 |
}, |
| 2883 |
"license": "MIT", |
| 2884 |
"bugs": { |
| 2885 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2886 |
}, |
| 2887 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2888 |
"jest": { |
| 2889 |
"forceExit": true, |
| 2890 |
"testMatch": [ |
| 2891 |
"<rootDir>/test/*.js" |
| 2892 |
], |
| 2893 |
"transformIgnorePatterns": [ |
| 2894 |
"<rootDir>" |
| 2895 |
], |
| 2896 |
"testEnvironment": "node" |
| 2897 |
}, |
| 2898 |
"gitHead": "935731bf2666efd787105d17b1f640f29dd72c75", |
| 2899 |
"_id": "[email protected]", |
| 2900 |
"_nodeVersion": "14.9.0", |
| 2901 |
"_npmVersion": "6.14.8", |
| 2902 |
"dist": { |
| 2903 |
"integrity": "sha512-CpCkDjEKa5vYVRDFDRABBkBomz+82lz9bpXViN1LBc8L/WDXvSyELKcBvBnTeDEiRfMJCGAFG9+04406PLSsIA==", |
| 2904 |
"shasum": "602d4bc7ff2e630ceb753a09ef49f260fa4ae7f0", |
| 2905 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0.tgz", |
| 2906 |
"fileCount": 16, |
| 2907 |
"unpackedSize": 53382, |
| 2908 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY/JMCRA9TVsSAnZWagAAigkP/0L58AGESVIqcmngkxg7\nTz2jC1Irs0xtKfhslMfQV1Od1xNaGMi/rkcXxDSKZb1489w84HsnkCB2sjud\np+OkdUWMKvMHhJt6OjQInFyU+DeIyI5a+3KrUFVx2s/9cq+z/jtXzZCnbQas\nqm9wLvOt/bO4NiiI4ZL02JsfF5J9NYOic2Za7X5z4S4y8AgENVOHDNCQMImy\npz8TIjTkSlJpELxiBrIX9NU4WS4O1QG0uBjoQgY0vwtmyKjDfj7a1M8tV7gI\nrC20mx+HOkiEG0s+vnbDs+xRPs97VJjP3J5dUzTYO+2NzbqfMiNH3NySJkKO\n9p94UPauz92jzYQP53XO0d7xrKhSXLo+IPRQ36eNIpMyjKd9V6vJDH+6JFrq\nUmbkxUoGv5gHJinjoSF5m2FhSxFh7GKxvpaxctv1kFdylCTCalIrOs2oGWbB\nbz3IPJsCYRmGCOcrBSsDMZsOBzus9vjOncRKda69AtXQLabVe94wbxDRwNwl\nJfQEQA9yUrdM8tqQeYv70AtxSg810yEvjhWln7xbavv4Dj0WtfroiBKufyBL\nnQmHImGj5GEDSJwjQCsfpS3YD5FFsPUdi46eGvY0tVWpShRIqYUBZHj2NLgv\nX7g+PMGm/ed3amVr1gM2C8Z/Xk5u6wam2OApCGVaQqnA0fFnp3qXKKiPLBBn\nMP0y\r\n=br+3\r\n-----END PGP SIGNATURE-----\r\n" |
| 2909 |
}, |
| 2910 |
"maintainers": [ |
| 2911 |
{ |
| 2912 |
"name": "bebraw", |
| 2913 |
"email": "[email protected]" |
| 2914 |
}, |
| 2915 |
{ |
| 2916 |
"name": "sokra", |
| 2917 |
"email": "[email protected]" |
| 2918 |
}, |
| 2919 |
{ |
| 2920 |
"name": "jhnns", |
| 2921 |
"email": "[email protected]" |
| 2922 |
}, |
| 2923 |
{ |
| 2924 |
"name": "thelarkinn", |
| 2925 |
"email": "[email protected]" |
| 2926 |
}, |
| 2927 |
{ |
| 2928 |
"name": "spacek33z", |
| 2929 |
"email": "[email protected]" |
| 2930 |
} |
| 2931 |
], |
| 2932 |
"_npmUser": { |
| 2933 |
"name": "sokra", |
| 2934 |
"email": "[email protected]" |
| 2935 |
}, |
| 2936 |
"directories": {}, |
| 2937 |
"_npmOperationalInternal": { |
| 2938 |
"host": "s3://npm-registry-packages", |
| 2939 |
"tmp": "tmp/webpack-sources_2.0.0_1600385611454_0.6049086405021515" |
| 2940 |
}, |
| 2941 |
"_hasShrinkwrap": false |
| 2942 |
}, |
| 2943 |
"2.0.1": { |
| 2944 |
"name": "webpack-sources", |
| 2945 |
"version": "2.0.1", |
| 2946 |
"description": "Source code handling classes for webpack", |
| 2947 |
"main": "./lib/index.js", |
| 2948 |
"scripts": { |
| 2949 |
"pretest": "yarn lint", |
| 2950 |
"test": "jest", |
| 2951 |
"travis": "yarn cover", |
| 2952 |
"lint": "eslint --cache lib test", |
| 2953 |
"precover": "yarn lint", |
| 2954 |
"cover": "jest --coverage" |
| 2955 |
}, |
| 2956 |
"dependencies": { |
| 2957 |
"source-list-map": "^2.0.1", |
| 2958 |
"source-map": "^0.6.1" |
| 2959 |
}, |
| 2960 |
"devDependencies": { |
| 2961 |
"coveralls": "^3.0.2", |
| 2962 |
"eslint": "^7.7.0", |
| 2963 |
"eslint-config-prettier": "^6.11.0", |
| 2964 |
"eslint-plugin-jest": "^23.20.0", |
| 2965 |
"eslint-plugin-mocha": "^8.0.0", |
| 2966 |
"eslint-plugin-node": "^11.1.0", |
| 2967 |
"eslint-plugin-nodeca": "^1.0.3", |
| 2968 |
"eslint-plugin-prettier": "^3.0.1", |
| 2969 |
"istanbul": "^0.4.1", |
| 2970 |
"jest": "^26.4.0", |
| 2971 |
"prettier": "^2.0.5", |
| 2972 |
"sourcemap-validator": "^2.1.0" |
| 2973 |
}, |
| 2974 |
"engines": { |
| 2975 |
"node": ">=10.13.0" |
| 2976 |
}, |
| 2977 |
"repository": { |
| 2978 |
"type": "git", |
| 2979 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 2980 |
}, |
| 2981 |
"keywords": [ |
| 2982 |
"webpack", |
| 2983 |
"source-map" |
| 2984 |
], |
| 2985 |
"author": { |
| 2986 |
"name": "Tobias Koppers @sokra" |
| 2987 |
}, |
| 2988 |
"license": "MIT", |
| 2989 |
"bugs": { |
| 2990 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 2991 |
}, |
| 2992 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 2993 |
"jest": { |
| 2994 |
"forceExit": true, |
| 2995 |
"testMatch": [ |
| 2996 |
"<rootDir>/test/*.js" |
| 2997 |
], |
| 2998 |
"transformIgnorePatterns": [ |
| 2999 |
"<rootDir>" |
| 3000 |
], |
| 3001 |
"testEnvironment": "node" |
| 3002 |
}, |
| 3003 |
"gitHead": "511da963907e8771fa7dd92423e603c689efbc41", |
| 3004 |
"_id": "[email protected]", |
| 3005 |
"_nodeVersion": "14.9.0", |
| 3006 |
"_npmVersion": "6.14.8", |
| 3007 |
"dist": { |
| 3008 |
"integrity": "sha512-A9oYz7ANQBK5EN19rUXbvNgfdfZf5U2gP0769OXsj9CvYkCR6OHOsd6OKyEy4H38GGxpsQPKIL83NC64QY6Xmw==", |
| 3009 |
"shasum": "1467f6e692ddce91e88b8044c44347b1087bbd4f", |
| 3010 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.1.tgz", |
| 3011 |
"fileCount": 16, |
| 3012 |
"unpackedSize": 53562, |
| 3013 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcgY0CRA9TVsSAnZWagAASiYP/1nRnde+DVHNUwzCQr1M\nJFXEb3YQF28gI8AOTPvSZ8TdxyHZH+Q6VMZfopMqdusrUZktx5oFGzzIeGe4\n3sLwFBmLhcnQoQIDDLtFt/Qk1IWElT5gSw1xXldDltHvnlRPcl8zRnxAiu+T\nkuOyG/ItSt+K0SQRiu8GcItvQrkvPegoh9XvuygbFySTTzVU0r9oB9MU58GR\nIdTbdkc7OC6PIK/afCrG7PYuOo7ZQpGqqEQ6FpacPQW9OG+bu2otj7/1xw6W\nsnBG8ucsyv00asT+kxplKUrCNpPnVRwM1iEpxwX39/z1sVXDbTubVxIZreBK\nFtcMcrMv9iwKQDDBriEDFbYiaxwIfuohmd5g4iAgtlb+orKIgjvkhR16BxR4\nkcfc/jgLOU/+g+pe0cSsimgfP1fdY/I2cTxSOMlfPO6Cv6Wy5JaUnCtvbXqq\noJ1p2ceF07xqgbOq4/utoWiE+7G4lOb1Kv+iRXyeCKDNKFOCX158CJeZMwNJ\n5uQ8X6dLi9yGQrJJPM4micLlTAryNLRZxKS4LtkoYjN1PFRTy5DSZ2Fh2yAd\n8P1Mpl6kr4l1QYzr+U56XfEx9cQ9le2Z9DGS84ahWWmp69rM6/p6uH+idA4h\nmx5QrKmEIs51tL7RAu7Ja+MXGF6RCM6262aPEfucYIktwPquV9bMLwIggOpT\nQPWF\r\n=oGvP\r\n-----END PGP SIGNATURE-----\r\n" |
| 3014 |
}, |
| 3015 |
"maintainers": [ |
| 3016 |
{ |
| 3017 |
"name": "bebraw", |
| 3018 |
"email": "[email protected]" |
| 3019 |
}, |
| 3020 |
{ |
| 3021 |
"name": "sokra", |
| 3022 |
"email": "[email protected]" |
| 3023 |
}, |
| 3024 |
{ |
| 3025 |
"name": "jhnns", |
| 3026 |
"email": "[email protected]" |
| 3027 |
}, |
| 3028 |
{ |
| 3029 |
"name": "thelarkinn", |
| 3030 |
"email": "[email protected]" |
| 3031 |
}, |
| 3032 |
{ |
| 3033 |
"name": "spacek33z", |
| 3034 |
"email": "[email protected]" |
| 3035 |
} |
| 3036 |
], |
| 3037 |
"_npmUser": { |
| 3038 |
"name": "sokra", |
| 3039 |
"email": "[email protected]" |
| 3040 |
}, |
| 3041 |
"directories": {}, |
| 3042 |
"_npmOperationalInternal": { |
| 3043 |
"host": "s3://npm-registry-packages", |
| 3044 |
"tmp": "tmp/webpack-sources_2.0.1_1601308211595_0.9999199735382227" |
| 3045 |
}, |
| 3046 |
"_hasShrinkwrap": false |
| 3047 |
}, |
| 3048 |
"2.1.0": { |
| 3049 |
"name": "webpack-sources", |
| 3050 |
"version": "2.1.0", |
| 3051 |
"description": "Source code handling classes for webpack", |
| 3052 |
"main": "./lib/index.js", |
| 3053 |
"scripts": { |
| 3054 |
"pretest": "yarn lint", |
| 3055 |
"test": "jest", |
| 3056 |
"travis": "yarn cover", |
| 3057 |
"lint": "eslint --cache lib test", |
| 3058 |
"precover": "yarn lint", |
| 3059 |
"cover": "jest --coverage" |
| 3060 |
}, |
| 3061 |
"dependencies": { |
| 3062 |
"source-list-map": "^2.0.1", |
| 3063 |
"source-map": "^0.6.1" |
| 3064 |
}, |
| 3065 |
"devDependencies": { |
| 3066 |
"coveralls": "^3.0.2", |
| 3067 |
"eslint": "^7.7.0", |
| 3068 |
"eslint-config-prettier": "^6.11.0", |
| 3069 |
"eslint-plugin-jest": "^23.20.0", |
| 3070 |
"eslint-plugin-mocha": "^8.0.0", |
| 3071 |
"eslint-plugin-node": "^11.1.0", |
| 3072 |
"eslint-plugin-nodeca": "^1.0.3", |
| 3073 |
"eslint-plugin-prettier": "^3.0.1", |
| 3074 |
"istanbul": "^0.4.1", |
| 3075 |
"jest": "^26.4.0", |
| 3076 |
"prettier": "^2.0.5", |
| 3077 |
"sourcemap-validator": "^2.1.0" |
| 3078 |
}, |
| 3079 |
"engines": { |
| 3080 |
"node": ">=10.13.0" |
| 3081 |
}, |
| 3082 |
"repository": { |
| 3083 |
"type": "git", |
| 3084 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 3085 |
}, |
| 3086 |
"keywords": [ |
| 3087 |
"webpack", |
| 3088 |
"source-map" |
| 3089 |
], |
| 3090 |
"author": { |
| 3091 |
"name": "Tobias Koppers @sokra" |
| 3092 |
}, |
| 3093 |
"license": "MIT", |
| 3094 |
"bugs": { |
| 3095 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 3096 |
}, |
| 3097 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 3098 |
"jest": { |
| 3099 |
"forceExit": true, |
| 3100 |
"testMatch": [ |
| 3101 |
"<rootDir>/test/*.js" |
| 3102 |
], |
| 3103 |
"transformIgnorePatterns": [ |
| 3104 |
"<rootDir>" |
| 3105 |
], |
| 3106 |
"testEnvironment": "node" |
| 3107 |
}, |
| 3108 |
"gitHead": "a1e17144ce56fd7222f1a82983700c3198e74ee9", |
| 3109 |
"_id": "[email protected]", |
| 3110 |
"_nodeVersion": "14.9.0", |
| 3111 |
"_npmVersion": "6.14.8", |
| 3112 |
"dist": { |
| 3113 |
"integrity": "sha512-gOlNIlnBzDC4yIqRcguYXscNRfSL4KSd2EXMXxkTPCao56YW8CbjrY+EfW5fqJNOdWhlFMxGTy1ctwJgeprnXg==", |
| 3114 |
"shasum": "0d6d309f5e048e445d34e22c07073a238ca12730", |
| 3115 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.1.0.tgz", |
| 3116 |
"fileCount": 16, |
| 3117 |
"unpackedSize": 53855, |
| 3118 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfloNjCRA9TVsSAnZWagAAW7kP/3gK79vCGL58JZEBYfUm\n+yXKYupbp9TGGYDg8X6ajzM6qC8cpUxY2Tk2v8flc/rHltlyqCwBKiLfooHp\ncSpZsi3fM3YcW9RwVKkGWKNvM7swYYVm76g56rM4A/6DLzf7Vl+eFAih5NtE\nBp/5unIXcmHURumClhjTyHuIcuF4N5PiXJ9JjhxhRH5YPgm02EINZjqUUBd8\nO0At5f5aPkxW4Y5clNoxx+V3dppBHCxEMCcwKe1c0Z8Ai2llV//YxHrQBJ5K\nXaD+PCZyjNP3vSJSuN/KSFvC8KJ4/NxYnSaZbCd5+B+wlra3IC6stMxE0b2P\nST5DG94JX5QgAuDopsxY0bnCVw15lohysYW7KF9FB7dveijWaKhFNlpuGLYG\n4PNsoBnMfN/wdAShq4WgTC8whmHqUhoTB9pKkaeFQA6Jnvx61UANQo/Xds0W\no3N0LF2HbIOMCikfJgg0Ap82KoDkXX2WX1xDyCQ0ZC95tk2FoG4gjA+512Cn\nXyxdrWLnQ4VBhkaJ30JvWaUuyh2QR7lMfH70eDPZqlYw0DicFtbBc/q7Qgzj\nJ7E8yYlF9M8FSKyuMvwVpbX/bCP3lSRyQcM+j4xWNf07Pm1AehSYpUXIWTG0\nPykm4I7nAMl3XK4eumuQb4DuWpjvyzIS8qnRn1BAtMSLSXXdOtLti/2HHCrn\n9lQ9\r\n=Z6HE\r\n-----END PGP SIGNATURE-----\r\n" |
| 3119 |
}, |
| 3120 |
"maintainers": [ |
| 3121 |
{ |
| 3122 |
"name": "bebraw", |
| 3123 |
"email": "[email protected]" |
| 3124 |
}, |
| 3125 |
{ |
| 3126 |
"name": "sokra", |
| 3127 |
"email": "[email protected]" |
| 3128 |
}, |
| 3129 |
{ |
| 3130 |
"name": "jhnns", |
| 3131 |
"email": "[email protected]" |
| 3132 |
}, |
| 3133 |
{ |
| 3134 |
"name": "thelarkinn", |
| 3135 |
"email": "[email protected]" |
| 3136 |
}, |
| 3137 |
{ |
| 3138 |
"name": "spacek33z", |
| 3139 |
"email": "[email protected]" |
| 3140 |
} |
| 3141 |
], |
| 3142 |
"_npmUser": { |
| 3143 |
"name": "sokra", |
| 3144 |
"email": "[email protected]" |
| 3145 |
}, |
| 3146 |
"directories": {}, |
| 3147 |
"_npmOperationalInternal": { |
| 3148 |
"host": "s3://npm-registry-packages", |
| 3149 |
"tmp": "tmp/webpack-sources_2.1.0_1603699554917_0.5853037792660696" |
| 3150 |
}, |
| 3151 |
"_hasShrinkwrap": false |
| 3152 |
}, |
| 3153 |
"2.1.1": { |
| 3154 |
"name": "webpack-sources", |
| 3155 |
"version": "2.1.1", |
| 3156 |
"description": "Source code handling classes for webpack", |
| 3157 |
"main": "./lib/index.js", |
| 3158 |
"scripts": { |
| 3159 |
"pretest": "yarn lint", |
| 3160 |
"test": "jest", |
| 3161 |
"travis": "yarn cover", |
| 3162 |
"lint": "eslint --cache lib test", |
| 3163 |
"precover": "yarn lint", |
| 3164 |
"cover": "jest --coverage" |
| 3165 |
}, |
| 3166 |
"dependencies": { |
| 3167 |
"source-list-map": "^2.0.1", |
| 3168 |
"source-map": "^0.6.1" |
| 3169 |
}, |
| 3170 |
"devDependencies": { |
| 3171 |
"coveralls": "^3.0.2", |
| 3172 |
"eslint": "^7.7.0", |
| 3173 |
"eslint-config-prettier": "^6.11.0", |
| 3174 |
"eslint-plugin-jest": "^23.20.0", |
| 3175 |
"eslint-plugin-mocha": "^8.0.0", |
| 3176 |
"eslint-plugin-node": "^11.1.0", |
| 3177 |
"eslint-plugin-nodeca": "^1.0.3", |
| 3178 |
"eslint-plugin-prettier": "^3.0.1", |
| 3179 |
"istanbul": "^0.4.1", |
| 3180 |
"jest": "^26.4.0", |
| 3181 |
"prettier": "^2.0.5", |
| 3182 |
"sourcemap-validator": "^2.1.0" |
| 3183 |
}, |
| 3184 |
"engines": { |
| 3185 |
"node": ">=10.13.0" |
| 3186 |
}, |
| 3187 |
"repository": { |
| 3188 |
"type": "git", |
| 3189 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 3190 |
}, |
| 3191 |
"keywords": [ |
| 3192 |
"webpack", |
| 3193 |
"source-map" |
| 3194 |
], |
| 3195 |
"author": { |
| 3196 |
"name": "Tobias Koppers @sokra" |
| 3197 |
}, |
| 3198 |
"license": "MIT", |
| 3199 |
"bugs": { |
| 3200 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 3201 |
}, |
| 3202 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 3203 |
"jest": { |
| 3204 |
"forceExit": true, |
| 3205 |
"testMatch": [ |
| 3206 |
"<rootDir>/test/*.js" |
| 3207 |
], |
| 3208 |
"transformIgnorePatterns": [ |
| 3209 |
"<rootDir>" |
| 3210 |
], |
| 3211 |
"testEnvironment": "node" |
| 3212 |
}, |
| 3213 |
"gitHead": "46ea8bc6b7dec030ce1acb6d15184864f3eff7dd", |
| 3214 |
"_id": "[email protected]", |
| 3215 |
"_nodeVersion": "14.9.0", |
| 3216 |
"_npmVersion": "6.14.8", |
| 3217 |
"dist": { |
| 3218 |
"integrity": "sha512-hraq9n99K564zuZUsE61iATO3jvzxOmGo20UlOe3zgdHOBp8inTJgv7EY4RgvCv7Ywx0/vpQTyYSjnFpv4gNtQ==", |
| 3219 |
"shasum": "6922dc1bf7f7f95aab56675535b6e20f87b9147f", |
| 3220 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.1.1.tgz", |
| 3221 |
"fileCount": 16, |
| 3222 |
"unpackedSize": 54089, |
| 3223 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmWaOCRA9TVsSAnZWagAAevYP/0oOcmetuvWqkXaZdic0\n+qMuVBLEoWQ47WX2aXaPPBnvW8MHcsAfAMjGKYSYRyi69UfdnSLctlNas6Mm\n0pRyjm54b3UsXpm0q+05c8GIt4xGzaVFIwf78r7tl9pb3uWFdFWnA1afJdEx\nQnqpw2ZoxjyxnS79NLkvn1jJKIl/+5jLq3EfQH6broMO3KBTw1lEFGOTxgcV\ngPtgb7rcwetWGrD6WKh7rHCw1INhDnjyrwYFPoYjGRc0XJL8py/2G2wMg8vY\n3NesU3BPfBCDfAgTZVxEjYGHkZ0zTNe3eOkAlFNuJ8sYaofYY/4JTmQs1eut\niSaAfVyxcqT11x4IpyYgbQZ5BISkVLxVLwn5I5JGobL7sn59RRVDY00zINvP\nKIprwd3EhwQRa5uGjQQW1KWCsS5UwX/0zuZ0Hxzc1n8rFBmm7EuLm6pJhq4j\nEcSRihbqDpzp/RCPhKV6tSLzm2bc+xTTTO4oo2bVb4yQPaNqfONYTf2WWQv1\nRND8shYGmUQUsRyjmgHCHTfCL6FAUBH+JDVS38iKqhxRHejCUJ4263GwJmdX\ntdCkiMtHQRwrR0odntvPjYSTGZyx0QPO21xBMNuYSWoopfC4v/E6BhSjbL2Q\nudTq5Y7469nE+4wJkgcTRxpFr9M/isLAen5wP3pwSYlGiRuiFpVhW/UDaAFR\nJmGz\r\n=2xF3\r\n-----END PGP SIGNATURE-----\r\n" |
| 3224 |
}, |
| 3225 |
"maintainers": [ |
| 3226 |
{ |
| 3227 |
"name": "bebraw", |
| 3228 |
"email": "[email protected]" |
| 3229 |
}, |
| 3230 |
{ |
| 3231 |
"name": "sokra", |
| 3232 |
"email": "[email protected]" |
| 3233 |
}, |
| 3234 |
{ |
| 3235 |
"name": "jhnns", |
| 3236 |
"email": "[email protected]" |
| 3237 |
}, |
| 3238 |
{ |
| 3239 |
"name": "thelarkinn", |
| 3240 |
"email": "[email protected]" |
| 3241 |
}, |
| 3242 |
{ |
| 3243 |
"name": "spacek33z", |
| 3244 |
"email": "[email protected]" |
| 3245 |
} |
| 3246 |
], |
| 3247 |
"_npmUser": { |
| 3248 |
"name": "sokra", |
| 3249 |
"email": "[email protected]" |
| 3250 |
}, |
| 3251 |
"directories": {}, |
| 3252 |
"_npmOperationalInternal": { |
| 3253 |
"host": "s3://npm-registry-packages", |
| 3254 |
"tmp": "tmp/webpack-sources_2.1.1_1603888781445_0.35872761914291096" |
| 3255 |
}, |
| 3256 |
"_hasShrinkwrap": false |
| 3257 |
}, |
| 3258 |
"2.2.0": { |
| 3259 |
"name": "webpack-sources", |
| 3260 |
"version": "2.2.0", |
| 3261 |
"description": "Source code handling classes for webpack", |
| 3262 |
"main": "./lib/index.js", |
| 3263 |
"scripts": { |
| 3264 |
"pretest": "yarn lint", |
| 3265 |
"test": "jest", |
| 3266 |
"travis": "yarn cover", |
| 3267 |
"lint": "eslint --cache lib test", |
| 3268 |
"precover": "yarn lint", |
| 3269 |
"cover": "jest --coverage" |
| 3270 |
}, |
| 3271 |
"dependencies": { |
| 3272 |
"source-list-map": "^2.0.1", |
| 3273 |
"source-map": "^0.6.1" |
| 3274 |
}, |
| 3275 |
"devDependencies": { |
| 3276 |
"coveralls": "^3.0.2", |
| 3277 |
"eslint": "^7.7.0", |
| 3278 |
"eslint-config-prettier": "^6.11.0", |
| 3279 |
"eslint-plugin-jest": "^23.20.0", |
| 3280 |
"eslint-plugin-mocha": "^8.0.0", |
| 3281 |
"eslint-plugin-node": "^11.1.0", |
| 3282 |
"eslint-plugin-nodeca": "^1.0.3", |
| 3283 |
"eslint-plugin-prettier": "^3.0.1", |
| 3284 |
"istanbul": "^0.4.1", |
| 3285 |
"jest": "^26.4.0", |
| 3286 |
"prettier": "^2.0.5", |
| 3287 |
"sourcemap-validator": "^2.1.0" |
| 3288 |
}, |
| 3289 |
"engines": { |
| 3290 |
"node": ">=10.13.0" |
| 3291 |
}, |
| 3292 |
"repository": { |
| 3293 |
"type": "git", |
| 3294 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 3295 |
}, |
| 3296 |
"keywords": [ |
| 3297 |
"webpack", |
| 3298 |
"source-map" |
| 3299 |
], |
| 3300 |
"author": { |
| 3301 |
"name": "Tobias Koppers @sokra" |
| 3302 |
}, |
| 3303 |
"license": "MIT", |
| 3304 |
"bugs": { |
| 3305 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 3306 |
}, |
| 3307 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 3308 |
"jest": { |
| 3309 |
"forceExit": true, |
| 3310 |
"testMatch": [ |
| 3311 |
"<rootDir>/test/*.js" |
| 3312 |
], |
| 3313 |
"transformIgnorePatterns": [ |
| 3314 |
"<rootDir>" |
| 3315 |
], |
| 3316 |
"testEnvironment": "node" |
| 3317 |
}, |
| 3318 |
"gitHead": "9ec78f2ef3d9169293636c48b7741ebb7b457ac6", |
| 3319 |
"_id": "[email protected]", |
| 3320 |
"_nodeVersion": "14.9.0", |
| 3321 |
"_npmVersion": "6.14.8", |
| 3322 |
"dist": { |
| 3323 |
"integrity": "sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w==", |
| 3324 |
"shasum": "058926f39e3d443193b6c31547229806ffd02bac", |
| 3325 |
"tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.2.0.tgz", |
| 3326 |
"fileCount": 16, |
| 3327 |
"unpackedSize": 55066, |
| 3328 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmpe1CRA9TVsSAnZWagAA4EIP/2kv1SeQcHyk506Dmt8U\nQ6QgOUU2fYsChf++7nFbrXPBbNbTXH3vO9/Ta80bTr7GetHubvxE5s7w9iwO\no3WBFEp3cF8RU64CgTqcJQxQ3JipufOmudGX6JLlKArBrNciU1SF3N72zyNj\n/00MlOH7nL54d+VFepG6GOG9HV1CQFKEZtTFuK/EM7+K0Y9Xd71n8Ppayyd5\nX98b11OvZXhPRjAaeidmXuP3SQ+/swOTodqGK9NVYWU3I0v2ZSOTBdRPQqs3\ny2WVQ7hqmhV1wBya2gJ3f2vxepDorrT6oE/pK3FiPPaDQ3A+UnSIUwr9kEgt\naIWx0PgNknqYawGJM6xNFNUqHQSF0bfJu4lw1jSQUIxmizfHukrFQNZaEuml\ngCF2sxeMOH4pHIGU9oItYco4bV8YRsXQzyL8u3OicV5Y8ZGzzLDXyJfXDU/3\nCcle6R9eYIsUauNBmeNRFmEezup25YqS6LXrbwGHZKrfLiPOKz7dUPOpZ6jT\nxf+QoAIRKsduOtlIIH4GtvPUGUu0AQtUgElQEhQkrZ8WYHWCgG1QL/q7kkh7\nBoW1VMW/d7HQMRF8K+XUysEvmxxYMLydMyAaVEZ5lEaA+BhN9m0UpCIhTyVr\n4FDvKRhdTiSkTEmRm/kOCZJKo1On5mGeKhSO21aZf5Bnhi/5P/zNwxZfAyCr\nWSW0\r\n=D0vC\r\n-----END PGP SIGNATURE-----\r\n" |
| 3329 |
}, |
| 3330 |
"maintainers": [ |
| 3331 |
{ |
| 3332 |
"name": "bebraw", |
| 3333 |
"email": "[email protected]" |
| 3334 |
}, |
| 3335 |
{ |
| 3336 |
"name": "sokra", |
| 3337 |
"email": "[email protected]" |
| 3338 |
}, |
| 3339 |
{ |
| 3340 |
"name": "jhnns", |
| 3341 |
"email": "[email protected]" |
| 3342 |
}, |
| 3343 |
{ |
| 3344 |
"name": "thelarkinn", |
| 3345 |
"email": "[email protected]" |
| 3346 |
}, |
| 3347 |
{ |
| 3348 |
"name": "spacek33z", |
| 3349 |
"email": "[email protected]" |
| 3350 |
} |
| 3351 |
], |
| 3352 |
"_npmUser": { |
| 3353 |
"name": "sokra", |
| 3354 |
"email": "[email protected]" |
| 3355 |
}, |
| 3356 |
"directories": {}, |
| 3357 |
"_npmOperationalInternal": { |
| 3358 |
"host": "s3://npm-registry-packages", |
| 3359 |
"tmp": "tmp/webpack-sources_2.2.0_1603966900427_0.7132752111300411" |
| 3360 |
}, |
| 3361 |
"_hasShrinkwrap": false |
| 3362 |
} |
| 3363 |
}, |
| 3364 |
"readme": "# webpack-sources\n\nContains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.\n\n## `Source`\n\nBase class for all sources.\n\n### Public methods\n\nAll methods should be considered as expensive as they may need to do computations.\n\n#### `source`\n\n```typescript\nSource.prototype.source() -> String | Buffer\n```\n\nReturns the represented source code as string or Buffer (for binary Sources).\n\n#### `buffer`\n\n```typescript\nSource.prototype.buffer() -> Buffer\n```\n\nReturns the represented source code as Buffer. Strings are converted to utf-8.\n\n#### `size`\n\n```typescript\nSource.prototype.size() -> Number\n```\n\nReturns the size in bytes of the represented source code.\n\n#### `map`\n\n```typescript\nSource.prototype.map(options?: Object) -> Object | null\n```\n\nReturns the SourceMap of the represented source code as JSON. May return `null` if no SourceMap is available.\n\nThe `options` object can contain the following keys:\n\n- `columns: Boolean` (default `true`): If set to false the implementation may omit mappings for columns.\n- `module: Boolean` (default `true`): If set to false the implementation may omit inner mappings for modules.\n\n#### `sourceAndMap`\n\n```typescript\nSource.prototype.sourceAndMap(options?: Object) -> {\n\tsource: String | Buffer,\n\tmap: Object | null\n}\n```\n\nReturns both, source code (like `Source.prototype.source()` and SourceMap (like `Source.prototype.map()`). This method could have better performance than calling `source()` and `map()` separately.\n\nSee `map()` for `options`.\n\n#### `updateHash`\n\n```typescript\nSource.prototype.updateHash(hash: Hash) -> void\n```\n\nUpdates the provided `Hash` object with the content of the represented source code. (`Hash` is an object with an `update` method, which is called with string values)\n\n## `RawSource`\n\nRepresents source code without SourceMap.\n\n```typescript\nnew RawSource(sourceCode: String)\n```\n\n## `OriginalSource`\n\nRepresents source code, which is a copy of the original file.\n\n```typescript\nnew OriginalSource(\n\tsourceCode: String,\n\tname: String\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n\nOriginalSource tries to create column mappings if requested, by splitting the source code at typical statement borders (`;`, `{`, `}`).\n\n## `SourceMapSource`\n\nRepresents source code with SourceMap, optionally having an additional SourceMap for the original source.\n\n```typescript\nnew SourceMapSource(\n\tsourceCode: String,\n\tname: String,\n\tsourceMap: Object | String,\n\toriginalSource?: String,\n\tinnerSourceMap?: Object | String,\n\tremoveOriginalSource?: boolean\n)\n```\n\n- `sourceCode`: The source code.\n- `name`: The filename of the original source code.\n- `sourceMap`: The SourceMap for the source code.\n- `originalSource`: The source code of the original file. Can be omitted if the `sourceMap` already contains the original source code.\n- `innerSourceMap`: The SourceMap for the `originalSource`/`name`.\n- `removeOriginalSource`: Removes the source code for `name` from the final map, keeping only the deeper mappings for that file.\n\nThe `SourceMapSource` supports \"identity\" mappings for the `innerSourceMap`.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to keep finer mappings from `sourceMap`.\n\n## `CachedSource`\n\nDecorates a `Source` and caches returned results of `map`, `source`, `buffer`, `size` and `sourceAndMap` in memory. `updateHash` is not cached.\nIt tries to reused cached results from other methods to avoid calculations, i. e. when `source` is already cached, calling `size` will get the size from the cached source, calling `sourceAndMap` will only call `map` on the wrapped Source.\n\n```typescript\nnew CachedSource(source: Source)\nnew CachedSource(source: Source | () => Source, cachedData?: CachedData)\n```\n\nInstead of passing a `Source` object directly one can pass an function that returns a `Source` object. The function is only called when needed and once.\n\n### Public methods\n\n#### `getCachedData()`\n\nReturns the cached data for passing to the constructor. All cached entries are converted to Buffers and strings are avoided.\n\n#### `original()`\n\nReturns the original `Source` object.\n\n#### `originalLazy()`\n\nReturns the original `Source` object or a function returning these.\n\n## `PrefixSource`\n\nPrefix every line of the decorated `Source` with a provided string.\n\n```typescript\nnew PrefixSource(\n\tprefix: String,\n\tsource: Source\n)\n```\n\n## `ConcatSource`\n\nConcatenate multiple `Source`s or strings to a single source.\n\n```typescript\nnew ConcatSource(\n\t...items?: Source | String\n)\n```\n\n### Public methods\n\n#### `add`\n\n```typescript\nConcatSource.prototype.add(item: Source | String)\n```\n\nAdds an item to the source.\n\n## `ReplaceSource`\n\nDecorates a `Source` with replacements and insertions of source code.\n\nThe `ReplaceSource` supports \"identity\" mappings for child source.\nWhen original source matches generated source for a mapping it's assumed to be mapped char by char allowing to split mappings at replacements/insertions.\n\n### Public methods\n\n#### `replace`\n\n```typescript\nReplaceSource.prototype.replace(\n\tstart: Number,\n\tend: Number,\n\treplacement: String\n)\n```\n\nReplaces chars from `start` (0-indexed, inclusive) to `end` (0-indexed, inclusive) with `replacement`.\n\nLocations represents locations in the original source and are not influenced by other replacements or insertions.\n\n#### `insert`\n\n```typescript\nReplaceSource.prototype.insert(\n\tpos: Number,\n\tinsertion: String\n)\n```\n\nInserts the `insertion` before char `pos` (0-indexed).\n\nLocation represents location in the original source and is not influenced by other replacements or insertions.\n\n#### `original`\n\nGet decorated `Source`.\n\n## `CompatSource`\n\nConverts a Source-like object into a real Source object.\n\n### Public methods\n\n#### static `from`\n\n```typescript\nCompatSource.from(sourceLike: any | Source)\n```\n\nIf `sourceLike` is a real Source it returns it unmodified. Otherwise it returns it wrapped in a CompatSource.\n", |
| 3365 |
"maintainers": [ |
| 3366 |
{ |
| 3367 |
"name": "bebraw", |
| 3368 |
"email": "[email protected]" |
| 3369 |
}, |
| 3370 |
{ |
| 3371 |
"name": "sokra", |
| 3372 |
"email": "[email protected]" |
| 3373 |
}, |
| 3374 |
{ |
| 3375 |
"name": "jhnns", |
| 3376 |
"email": "[email protected]" |
| 3377 |
}, |
| 3378 |
{ |
| 3379 |
"name": "thelarkinn", |
| 3380 |
"email": "[email protected]" |
| 3381 |
}, |
| 3382 |
{ |
| 3383 |
"name": "spacek33z", |
| 3384 |
"email": "[email protected]" |
| 3385 |
} |
| 3386 |
], |
| 3387 |
"time": { |
| 3388 |
"modified": "2020-10-29T10:21:42.929Z", |
| 3389 |
"created": "2016-01-03T17:29:30.353Z", |
| 3390 |
"0.1.0": "2016-01-03T17:29:30.353Z", |
| 3391 |
"0.1.1": "2016-01-30T12:10:01.566Z", |
| 3392 |
"0.1.2": "2016-04-21T22:39:19.360Z", |
| 3393 |
"0.1.3": "2016-11-12T16:03:16.077Z", |
| 3394 |
"0.1.4": "2017-01-15T15:34:58.888Z", |
| 3395 |
"0.1.5": "2017-03-07T20:11:47.369Z", |
| 3396 |
"0.2.0": "2017-03-07T20:32:45.800Z", |
| 3397 |
"0.2.1": "2017-03-24T21:05:28.371Z", |
| 3398 |
"0.2.2": "2017-03-24T22:05:15.254Z", |
| 3399 |
"0.2.3": "2017-03-24T23:38:14.635Z", |
| 3400 |
"1.0.0": "2017-06-03T12:23:15.625Z", |
| 3401 |
"1.0.1": "2017-06-03T14:32:04.346Z", |
| 3402 |
"1.0.2": "2017-11-04T07:20:58.402Z", |
| 3403 |
"1.1.0": "2017-11-26T11:06:26.949Z", |
| 3404 |
"1.2.0": "2018-08-29T12:09:23.738Z", |
| 3405 |
"1.3.0": "2018-09-20T09:05:06.955Z", |
| 3406 |
"2.0.0-beta.0": "2019-01-18T19:43:35.990Z", |
| 3407 |
"2.0.0-beta.1": "2019-01-19T11:41:21.817Z", |
| 3408 |
"1.4.0": "2019-07-31T09:47:46.815Z", |
| 3409 |
"1.4.1": "2019-07-31T13:19:42.048Z", |
| 3410 |
"1.4.2": "2019-08-05T11:37:57.718Z", |
| 3411 |
"2.0.0-beta.2": "2019-08-05T11:48:11.786Z", |
| 3412 |
"1.4.3": "2019-08-05T14:56:52.060Z", |
| 3413 |
"2.0.0-beta.3": "2019-08-05T15:01:45.305Z", |
| 3414 |
"2.0.0-beta.4": "2019-09-12T15:40:19.941Z", |
| 3415 |
"2.0.0-beta.5": "2019-10-22T12:34:31.973Z", |
| 3416 |
"2.0.0-beta.6": "2019-11-08T09:49:39.502Z", |
| 3417 |
"2.0.0-beta.7": "2019-11-13T12:58:11.853Z", |
| 3418 |
"2.0.0-beta.8": "2019-11-20T15:36:10.259Z", |
| 3419 |
"2.0.0-beta.9": "2020-08-20T07:44:06.943Z", |
| 3420 |
"2.0.0-beta.10": "2020-08-24T15:52:25.486Z", |
| 3421 |
"2.0.0": "2020-09-17T23:33:31.570Z", |
| 3422 |
"2.0.1": "2020-09-28T15:50:11.724Z", |
| 3423 |
"2.1.0": "2020-10-26T08:05:55.075Z", |
| 3424 |
"2.1.1": "2020-10-28T12:39:41.613Z", |
| 3425 |
"2.2.0": "2020-10-29T10:21:40.646Z" |
| 3426 |
}, |
| 3427 |
"homepage": "https://github.com/webpack/webpack-sources#readme", |
| 3428 |
"keywords": [ |
| 3429 |
"webpack", |
| 3430 |
"source-map" |
| 3431 |
], |
| 3432 |
"repository": { |
| 3433 |
"type": "git", |
| 3434 |
"url": "git+https://github.com/webpack/webpack-sources.git" |
| 3435 |
}, |
| 3436 |
"author": { |
| 3437 |
"name": "Tobias Koppers @sokra" |
| 3438 |
}, |
| 3439 |
"bugs": { |
| 3440 |
"url": "https://github.com/webpack/webpack-sources/issues" |
| 3441 |
}, |
| 3442 |
"license": "MIT", |
| 3443 |
"readmeFilename": "README.md", |
| 3444 |
"users": { |
| 3445 |
"shuoshubao": true, |
| 3446 |
"dennisli87": true, |
| 3447 |
"ttionya": true |
| 3448 |
} |
| 3449 |
} |