{ "_id": "webpack-sources", "_rev": "44-7d7d2272c602119826f530d25ba5fa28", "name": "webpack-sources", "description": "Source code handling classes for webpack", "dist-tags": { "latest": "2.2.0", "beta": "2.0.0-beta.10" }, "versions": { "0.1.0": { "name": "webpack-sources", "version": "0.1.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "_id": "webpack-sources@0.1.0", "_shasum": "c814e701c276b83dfd512a19c4fcc3e6052aefde", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "0.12.4", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "maintainers": [ { "name": "sokra", "email": "tobias.koppers@googlemail.com" } ], "dist": { "shasum": "c814e701c276b83dfd512a19c4fcc3e6052aefde", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.0.tgz" }, "directories": {} }, "0.1.1": { "name": "webpack-sources", "version": "0.1.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "7e24cdd86d071ddff82c5750b83916e30e1934cf", "_id": "webpack-sources@0.1.1", "_shasum": "a71dd7c0ca3e264af088804bc384d93fad0442b6", "_from": ".", "_npmVersion": "3.3.3", "_nodeVersion": "5.4.1", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "a71dd7c0ca3e264af088804bc384d93fad0442b6", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.1.tgz" }, "maintainers": [ { "name": "sokra", "email": "tobias.koppers@googlemail.com" } ], "directories": {} }, "0.1.2": { "name": "webpack-sources", "version": "0.1.2", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "ab33c46cb6cc67505e0b8ccc99fed55f1cafc922", "_id": "webpack-sources@0.1.2", "_shasum": "057a3f3255f8ba561b901d9150589aa103a57e65", "_from": ".", "_npmVersion": "3.3.3", "_nodeVersion": "5.4.1", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "057a3f3255f8ba561b901d9150589aa103a57e65", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.2.tgz" }, "maintainers": [ { "name": "sokra", "email": "tobias.koppers@googlemail.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.1.2.tgz_1461278357602_0.4156553049106151" }, "directories": {} }, "0.1.3": { "name": "webpack-sources", "version": "0.1.3", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "fb0ed29f0e1bedbd87967011556faa7644f5a1e8", "_id": "webpack-sources@0.1.3", "_shasum": "15ce2fb79d0a1da727444ba7c757bf164294f310", "_from": ".", "_npmVersion": "3.3.3", "_nodeVersion": "6.9.1", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "15ce2fb79d0a1da727444ba7c757bf164294f310", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.3.tgz" }, "maintainers": [ { "name": "sokra", "email": "tobias.koppers@googlemail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.1.3.tgz_1478966594151_0.9760280998889357" }, "directories": {} }, "0.1.4": { "name": "webpack-sources", "version": "0.1.4", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.7" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "9ebc91cf8d8b5eac523230cd31fd6789606598cd", "_id": "webpack-sources@0.1.4", "_shasum": "ccc2c817e08e5fa393239412690bb481821393cd", "_from": ".", "_npmVersion": "3.10.8", "_nodeVersion": "6.9.1", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "ccc2c817e08e5fa393239412690bb481821393cd", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.4.tgz" }, "maintainers": [ { "name": "sokra", "email": "tobias.koppers@googlemail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.1.4.tgz_1484494496673_0.4281313957180828" }, "directories": {} }, "0.1.5": { "name": "webpack-sources", "version": "0.1.5", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "~0.1.7" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "d4cbf577bc12570c079c1aed4ad8c196b6c919d5", "_id": "webpack-sources@0.1.5", "_shasum": "aa1f3abf0f0d74db7111c40e500b84f966640750", "_from": ".", "_npmVersion": "4.1.2", "_nodeVersion": "7.7.1", "_npmUser": { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, "dist": { "shasum": "aa1f3abf0f0d74db7111c40e500b84f966640750", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.1.5.tgz_1488917506799_0.5009965947829187" }, "directories": {} }, "0.2.0": { "name": "webpack-sources", "version": "0.2.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "^1.0.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "5154e49af10bcefc1e58505f3563da4a07763eda", "_id": "webpack-sources@0.2.0", "_shasum": "fea93ba840f16cdd3f246f0ee95f88a9492c69fb", "_from": ".", "_npmVersion": "4.0.5", "_nodeVersion": "7.4.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "fea93ba840f16cdd3f246f0ee95f88a9492c69fb", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.0.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.2.0.tgz_1488918763935_0.25536337518133223" }, "directories": {} }, "0.2.1": { "name": "webpack-sources", "version": "0.2.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "^1.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "1692f4be47a74e8b50e124f797db99cd87b9186f", "_id": "webpack-sources@0.2.1", "_shasum": "2abccabc209afbf1d8cb62d533b54dbbc7fc6e27", "_from": ".", "_npmVersion": "4.0.5", "_nodeVersion": "7.4.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "2abccabc209afbf1d8cb62d533b54dbbc7fc6e27", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.1.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.2.1.tgz_1490389526371_0.09579946473240852" }, "directories": {} }, "0.2.2": { "name": "webpack-sources", "version": "0.2.2", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "^1.1.0" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "2857561d723db6f8cc2f25cef9534d13dddde06a", "_id": "webpack-sources@0.2.2", "_shasum": "708714db9cc8152b9f8674e4acb119efecdb23fa", "_from": ".", "_npmVersion": "4.0.5", "_nodeVersion": "7.4.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "708714db9cc8152b9f8674e4acb119efecdb23fa", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.2.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.2.2.tgz_1490393113183_0.09044172172434628" }, "directories": {} }, "0.2.3": { "name": "webpack-sources", "version": "0.2.3", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-map": "~0.5.3", "source-list-map": "^1.1.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^1.1.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^2.3.4", "should": "^8.0.2" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "828a85acb96faf69c1ba0b78ba6d3a2acc9dcd92", "_id": "webpack-sources@0.2.3", "_shasum": "17c62bfaf13c707f9d02c479e0dcdde8380697fb", "_from": ".", "_npmVersion": "4.0.5", "_nodeVersion": "7.4.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "shasum": "17c62bfaf13c707f9d02c479e0dcdde8380697fb", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.3.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/webpack-sources-0.2.3.tgz_1490398694081_0.5428378875367343" }, "directories": {} }, "1.0.0": { "name": "webpack-sources", "version": "1.0.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.5.3" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "aa47eb9dc433ad236cf8328b4be92c62ff069904", "_id": "webpack-sources@1.0.0", "_npmVersion": "5.0.0", "_nodeVersion": "8.0.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-yCPXB6Aqbn0w4rp7KqiF8m8bsL6gMRtRyGzd/ZMIS2VPAusZ92gsOCVTIGhEy7faQS1mw//6S5bD10B0zRNa0g==", "shasum": "fbbaa2cce01333412281a7e40cbe4b0c9c3344fa", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.0.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources-1.0.0.tgz_1496492594647_0.6798736609052867" }, "directories": {} }, "1.0.1": { "name": "webpack-sources", "version": "1.0.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.5.3" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "5cadaf4ab143a32cf994365db4b2ddacd0ab0eb9", "_id": "webpack-sources@1.0.1", "_npmVersion": "5.0.0", "_nodeVersion": "8.0.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-05tMxipUCwHqYaVS8xc7sYPTly8PzXayRCB4dTxLhWTqlKUiwH6ezmEe0OSreL1c30LAuA3Zqmc+uEBUGFJDjw==", "shasum": "c7356436a4d13123be2e2426a05d1dad9cbe65cf", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.1.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources-1.0.1.tgz_1496500323403_0.9926682878285646" }, "directories": {} }, "1.0.2": { "name": "webpack-sources", "version": "1.0.2", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "e1880a046420dd2ebe8aa04f186c59e33c0d3578", "_id": "webpack-sources@1.0.2", "_npmVersion": "5.5.1", "_nodeVersion": "8.9.0", "_npmUser": { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, "dist": { "integrity": "sha512-Y7UddMCv6dGjy81nBv6nuQeFFIt5aalHm7uyDsAsW86nZwfOVPGRr3XMjEQLaT+WKo8rlzhC9qtbJvYKLtAwaw==", "shasum": "d0148ec083b3b5ccef1035a6b3ec16442983b27a", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.2.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources-1.0.2.tgz_1509780058239_0.18867489928379655" }, "directories": {} }, "1.1.0": { "name": "webpack-sources", "version": "1.1.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1" }, "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "b643bfba58c5820f9cf8f00a19979c1208e47692", "_id": "webpack-sources@1.1.0", "_npmVersion": "5.4.2", "_nodeVersion": "8.7.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "shasum": "a101ebae59d6507354d71d8013950a3a8b7a5a54", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources-1.1.0.tgz_1511694386044_0.519901181338355" }, "directories": {} }, "1.2.0": { "name": "webpack-sources", "version": "1.2.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "30d2a800c36906a0f28e62dac8b8cb239d1403c5", "_id": "webpack-sources@1.2.0", "_npmVersion": "6.1.0", "_nodeVersion": "10.6.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==", "shasum": "18181e0d013fce096faf6f8e6d41eeffffdceac2", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz", "fileCount": 14, "unpackedSize": 30017, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.2.0_1535544563641_0.6014773428826166" }, "_hasShrinkwrap": false }, "1.3.0": { "name": "webpack-sources", "version": "1.3.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1", "sourcemap-validator": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "0f9996427a2ee80c908237d917d60e62473a0e2c", "_id": "webpack-sources@1.3.0", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.4", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", "shasum": "2a28dcb9f1f45fe960d8f1493252b5ee6530fa85", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", "fileCount": 14, "unpackedSize": 30046, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.3.0_1537434306785_0.2281706249888662" }, "_hasShrinkwrap": false }, "2.0.0-beta.0": { "name": "webpack-sources", "version": "2.0.0-beta.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=6.11.5" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "6438e9022885426431f581c8437855d17b6e0e44", "_id": "webpack-sources@2.0.0-beta.0", "_npmVersion": "6.4.1", "_nodeVersion": "10.12.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-d7mJcjNdNa0hTOzGNdhIM/lVU+Xp1UxTVh42rEjH2/0U/deiaUXJtzj1npqo4TJzEjnXHaIvrMDgWwM/mpiQMw==", "shasum": "f57b7a466f015132c70d8125d6d36993968854d5", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.0.tgz", "fileCount": 14, "unpackedSize": 32584, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.0_1547840615877_0.9774733786111278" }, "_hasShrinkwrap": false }, "2.0.0-beta.1": { "name": "webpack-sources", "version": "2.0.0-beta.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=6.11.5" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "e3fb93fe5b8a7799cc6fcdcbdc271d11effc271a", "_id": "webpack-sources@2.0.0-beta.1", "_npmVersion": "6.4.1", "_nodeVersion": "10.15.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-crzDTpRrXVAc5E/PSs3CP4bieKaFUqcKh1fLkul5BGyh9zI/FRK0QCfD4ufmReeEgbWTP7lhmkuSASQeM/dnwQ==", "shasum": "7502135a42b18e5c6e88f85d706729fef1f9aee9", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.1.tgz", "fileCount": 14, "unpackedSize": 33232, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.1_1547898081677_0.25216097781514524" }, "_hasShrinkwrap": false }, "1.4.0": { "name": "webpack-sources", "version": "1.4.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1", "sourcemap-validator": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "dd11ce64012927058a87b805b2c0dffd9f6641b4", "_id": "webpack-sources@1.4.0", "_npmVersion": "6.4.1", "_nodeVersion": "8.16.0", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-1e4Cxgqfl8vnDhXMMpegX7JWWP7HwV8Kp8/Oefs6EG52bRtOR9vuOXM1Gl1vy6NwHfUxHeuR6ElD4HamuRPO0A==", "shasum": "be93d629601aa3ea48e8686ee4d78d9c4e706061", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.0.tgz", "fileCount": 15, "unpackedSize": 36352, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.4.0_1564566466651_0.10388116617983933" }, "_hasShrinkwrap": false }, "1.4.1": { "name": "webpack-sources", "version": "1.4.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^3.19.0", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1", "sourcemap-validator": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "47e5f6b7a2dcab49274611ec1f30e40c92b6cea8", "_id": "webpack-sources@1.4.1", "_nodeVersion": "12.4.0", "_npmVersion": "6.9.0", "dist": { "integrity": "sha512-XSz38193PTo/1csJabKaV4b53uRVotlMgqJXm3s3eje0Bu6gQTxYDqpD38CmQfDBA+gN+QqaGjasuC8I/7eW3Q==", "shasum": "b91b2c5b1c4e890ff50d1d35b7fa3657040da1da", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.1.tgz", "fileCount": 15, "unpackedSize": 36396, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.4.1_1564579181915_0.2991884361012698" }, "_hasShrinkwrap": false }, "1.4.2": { "name": "webpack-sources", "version": "1.4.2", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^4.18.2", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1", "sourcemap-validator": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "741de57fc86867e78e905a4dbc82e4b34873a02d", "_id": "webpack-sources@1.4.2", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.4", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-V/mHhu5RzLPYVY3Aa+ogcoLqdZU+XdOf0VCLuqSDLJ6oo5lk7Q1n9kG5cySidY/SzXfXwS+CASg4z00q7gIhRQ==", "shasum": "a688692f5ce53f9db6edef498c0beae73610c9d6", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.2.tgz", "fileCount": 15, "unpackedSize": 36675, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.4.2_1565005077597_0.7974915425378057" }, "_hasShrinkwrap": false }, "2.0.0-beta.2": { "name": "webpack-sources", "version": "2.0.0-beta.2", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=6.11.5" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "95c52e67c16671e6426a9176d36d8fae3d561c0b", "_id": "webpack-sources@2.0.0-beta.2", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.4", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-1TtHKmyK/G6F61c78cwJueyexc2A2mHHC7L+oQ7g9j09cM40M4zUDij37IB9+gVvXBC5jGcJ6HQwmwV0skVvVA==", "shasum": "9e820680e6fa0d05b228754fe95e27fba63b8521", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.2.tgz", "fileCount": 15, "unpackedSize": 39512, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.2_1565005691693_0.007510184343851867" }, "_hasShrinkwrap": false }, "1.4.3": { "name": "webpack-sources", "version": "1.4.3", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "npm run lint && npm run beautify-lint", "test": "mocha --full-trace --check-leaks", "travis": "npm run cover -- --report lcovonly", "lint": "eslint lib test", "beautify-lint": "beautify-lint lib/**.js test/**.js", "beautify": "beautify-rewrite lib/**.js test/**.js", "precover": "npm run lint && npm run beautify-lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha", "publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish" }, "dependencies": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" }, "devDependencies": { "beautify-lint": "^1.0.3", "codecov.io": "^0.1.6", "coveralls": "^2.11.6", "eslint": "^4.18.2", "eslint-plugin-nodeca": "^1.0.3", "istanbul": "^0.4.1", "js-beautify": "^1.5.10", "mocha": "^3.4.2", "should": "^11.2.1", "sourcemap-validator": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "gitHead": "d9117497dfbac940c02aa97a6fe48af633154edc", "_id": "webpack-sources@1.4.3", "_nodeVersion": "12.4.0", "_npmVersion": "6.9.0", "dist": { "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", "shasum": "eedd8ec0b928fbf1cbfe994e22d2d890f330a933", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", "fileCount": 15, "unpackedSize": 36694, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_1.4.3_1565017011941_0.3263161823803915" }, "_hasShrinkwrap": false }, "2.0.0-beta.3": { "name": "webpack-sources", "version": "2.0.0-beta.3", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=6.11.5" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "d240fb8092fd0a4e9c1b5ec72bbc3d54d41a338c", "_id": "webpack-sources@2.0.0-beta.3", "_nodeVersion": "12.4.0", "_npmVersion": "6.9.0", "dist": { "integrity": "sha512-ncnvMMP5B/DDkqgPVG8eXTFD+Yk1ch6AKcyRRlvB9B/4DL1exaF1Xh78Y7xcTXwhpVsL2051KSEfl8MkP75yzg==", "shasum": "4da69f67f34e3a3d1633a82b6db8a6995f4a7f13", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.3.tgz", "fileCount": 15, "unpackedSize": 39540, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.3_1565017305135_0.6160441220609603" }, "_hasShrinkwrap": false }, "2.0.0-beta.4": { "name": "webpack-sources", "version": "2.0.0-beta.4", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=6.11.5" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "b18dd96ae5f52a6907dc93e678b20a3fee43d219", "_id": "webpack-sources@2.0.0-beta.4", "_nodeVersion": "12.8.0", "_npmVersion": "6.10.2", "dist": { "integrity": "sha512-Xa2Ul5hAlMICQsKN1hjoSTSxJ0UmET4gZXR1e/Sfpos0XNSc2K3fhJHz79CxLyYh0KFEaj6NeoMra9Pp66hRBQ==", "shasum": "b92f912e16e5c49ebd3c268edf83b13972a3c8ef", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.4.tgz", "fileCount": 15, "unpackedSize": 40267, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.4_1568302819778_0.33750397726486225" }, "_hasShrinkwrap": false }, "2.0.0-beta.5": { "name": "webpack-sources", "version": "2.0.0-beta.5", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "913329a70ef7f28482e0186faef6831a298a0db2", "_id": "webpack-sources@2.0.0-beta.5", "_npmVersion": "6.4.1", "_nodeVersion": "10.15.3", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-Y0NWr3nIeJbHzQciKPjWkERbRrmqZPhE4t8K5qOzl4dhJViIdBnvutCCAQ9PKj6MC8lo4Wytu+SZ9Ct8vhX/cQ==", "shasum": "aac603d9fdf04ce96276cf845cd9bb9afd660c4a", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.5.tgz", "fileCount": 15, "unpackedSize": 41622, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.5_1571747671817_0.22840850453452033" }, "_hasShrinkwrap": false }, "2.0.0-beta.6": { "name": "webpack-sources", "version": "2.0.0-beta.6", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "6ca4706a4104025494eda4f6e49059842ec000b7", "_id": "webpack-sources@2.0.0-beta.6", "_npmVersion": "6.4.1", "_nodeVersion": "10.15.3", "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "dist": { "integrity": "sha512-zbYXdCVyNpHFs8vR0O3Tf7kfxmL76RDBGf1kBbeBrW1zlIKAp3msFKBVllwUAfyoMa/5OJ5iQRrqE7zn3eBjbw==", "shasum": "80707d4e417cf734ec634efcb1cdca4c57aa1be8", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.6.tgz", "fileCount": 15, "unpackedSize": 49159, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.6_1573206578766_0.23776116757607757" }, "_hasShrinkwrap": false }, "2.0.0-beta.7": { "name": "webpack-sources", "version": "2.0.0-beta.7", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "78af22b545500d6aab010eb7161ef343bc22e8de", "_id": "webpack-sources@2.0.0-beta.7", "_nodeVersion": "12.12.0", "_npmVersion": "6.11.3", "dist": { "integrity": "sha512-jbUJbBcU/PHABhHDtUfXCSU6wD6dYOBMH4oIQnXxyapigyuOSHdkmqENayzV+3OEK8tm45qRQD/ggtyAMxqjAQ==", "shasum": "525b4caaef7371fd7f8bf7e5fffe692880038926", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.7.tgz", "fileCount": 15, "unpackedSize": 50583, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.7_1573649891687_0.6142788204135017" }, "_hasShrinkwrap": false }, "2.0.0-beta.8": { "name": "webpack-sources", "version": "2.0.0-beta.8", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "mocha --full-trace --check-leaks", "travis": "yarn cover --report lcovonly", "lint": "eslint lib test", "precover": "yarn lint", "cover": "istanbul cover node_modules/mocha/bin/_mocha" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "~0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^5.12.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-mocha": "^5.2.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "mocha": "^5.2.0", "prettier": "^1.15.3", "should": "^13.2.3", "sourcemap-validator": "^1.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "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", "readmeFilename": "README.md", "gitHead": "29ca74603f6332dd25337d1d9f2a41fc58cd8f14", "_id": "webpack-sources@2.0.0-beta.8", "_nodeVersion": "12.13.0", "_npmVersion": "6.12.0", "dist": { "integrity": "sha512-RUaCJu7HYNeuzlY4WYcArcnOzMIj7kHndQ4pBdgP3iiMpG3Ke0BWY5wvb/VEFgsIXp3ZzPGRECwX+4fgpcKFYw==", "shasum": "0fc292239f6767cf4e9b47becfaa340ce6d7ea4f", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.8.tgz", "fileCount": 15, "unpackedSize": 50707, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.8_1574264170082_0.3259653075687241" }, "_hasShrinkwrap": false }, "2.0.0-beta.9": { "name": "webpack-sources", "version": "2.0.0-beta.9", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "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", "readmeFilename": "README.md", "gitHead": "6153bfcaefcd4d0597e50dca253e23dd23c99ec5", "_id": "webpack-sources@2.0.0-beta.9", "_nodeVersion": "14.5.0", "_npmVersion": "6.14.5", "dist": { "integrity": "sha512-q6O+gKGojLye0Fm05vgthtmx5LPbYpAU4FsdMsX8YBgkOZovDbQmBMhjY/CiWhxD9u/0AWeWdXFNbQz17mkdLw==", "shasum": "49a504a08c0a8b1c5418c1fdca4ced06b5cb9119", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.9.tgz", "fileCount": 16, "unpackedSize": 52718, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.9_1597909446805_0.5586015707814336" }, "_hasShrinkwrap": false }, "2.0.0-beta.10": { "name": "webpack-sources", "version": "2.0.0-beta.10", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "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", "readmeFilename": "README.md", "gitHead": "2649cb8227f448ed5103ab0a90b636f97b3fef3a", "_id": "webpack-sources@2.0.0-beta.10", "_nodeVersion": "14.5.0", "_npmVersion": "6.14.5", "dist": { "integrity": "sha512-HxeYa9Q6nMk3MtSbi5mKUUV+gOxYlGQwujKbeK0JQ+SmLSMgC4cQkZ+xpsWvsUtTvskDwpKvuVLpE9eW7vn0IQ==", "shasum": "f603355c5518141976601bfd620a3a5a01ac7b5d", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.10.tgz", "fileCount": 16, "unpackedSize": 53390, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "spacek33z", "email": "kees@webduck.nl" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0-beta.10_1598284345373_0.6551735511521408" }, "_hasShrinkwrap": false }, "2.0.0": { "name": "webpack-sources", "version": "2.0.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "gitHead": "935731bf2666efd787105d17b1f640f29dd72c75", "_id": "webpack-sources@2.0.0", "_nodeVersion": "14.9.0", "_npmVersion": "6.14.8", "dist": { "integrity": "sha512-CpCkDjEKa5vYVRDFDRABBkBomz+82lz9bpXViN1LBc8L/WDXvSyELKcBvBnTeDEiRfMJCGAFG9+04406PLSsIA==", "shasum": "602d4bc7ff2e630ceb753a09ef49f260fa4ae7f0", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0.tgz", "fileCount": 16, "unpackedSize": 53382, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.0_1600385611454_0.6049086405021515" }, "_hasShrinkwrap": false }, "2.0.1": { "name": "webpack-sources", "version": "2.0.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "gitHead": "511da963907e8771fa7dd92423e603c689efbc41", "_id": "webpack-sources@2.0.1", "_nodeVersion": "14.9.0", "_npmVersion": "6.14.8", "dist": { "integrity": "sha512-A9oYz7ANQBK5EN19rUXbvNgfdfZf5U2gP0769OXsj9CvYkCR6OHOsd6OKyEy4H38GGxpsQPKIL83NC64QY6Xmw==", "shasum": "1467f6e692ddce91e88b8044c44347b1087bbd4f", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.1.tgz", "fileCount": 16, "unpackedSize": 53562, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.0.1_1601308211595_0.9999199735382227" }, "_hasShrinkwrap": false }, "2.1.0": { "name": "webpack-sources", "version": "2.1.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "gitHead": "a1e17144ce56fd7222f1a82983700c3198e74ee9", "_id": "webpack-sources@2.1.0", "_nodeVersion": "14.9.0", "_npmVersion": "6.14.8", "dist": { "integrity": "sha512-gOlNIlnBzDC4yIqRcguYXscNRfSL4KSd2EXMXxkTPCao56YW8CbjrY+EfW5fqJNOdWhlFMxGTy1ctwJgeprnXg==", "shasum": "0d6d309f5e048e445d34e22c07073a238ca12730", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.1.0.tgz", "fileCount": 16, "unpackedSize": 53855, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.1.0_1603699554917_0.5853037792660696" }, "_hasShrinkwrap": false }, "2.1.1": { "name": "webpack-sources", "version": "2.1.1", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "gitHead": "46ea8bc6b7dec030ce1acb6d15184864f3eff7dd", "_id": "webpack-sources@2.1.1", "_nodeVersion": "14.9.0", "_npmVersion": "6.14.8", "dist": { "integrity": "sha512-hraq9n99K564zuZUsE61iATO3jvzxOmGo20UlOe3zgdHOBp8inTJgv7EY4RgvCv7Ywx0/vpQTyYSjnFpv4gNtQ==", "shasum": "6922dc1bf7f7f95aab56675535b6e20f87b9147f", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.1.1.tgz", "fileCount": 16, "unpackedSize": 54089, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.1.1_1603888781445_0.35872761914291096" }, "_hasShrinkwrap": false }, "2.2.0": { "name": "webpack-sources", "version": "2.2.0", "description": "Source code handling classes for webpack", "main": "./lib/index.js", "scripts": { "pretest": "yarn lint", "test": "jest", "travis": "yarn cover", "lint": "eslint --cache lib test", "precover": "yarn lint", "cover": "jest --coverage" }, "dependencies": { "source-list-map": "^2.0.1", "source-map": "^0.6.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-nodeca": "^1.0.3", "eslint-plugin-prettier": "^3.0.1", "istanbul": "^0.4.1", "jest": "^26.4.0", "prettier": "^2.0.5", "sourcemap-validator": "^2.1.0" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "keywords": [ "webpack", "source-map" ], "author": { "name": "Tobias Koppers @sokra" }, "license": "MIT", "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "jest": { "forceExit": true, "testMatch": [ "/test/*.js" ], "transformIgnorePatterns": [ "" ], "testEnvironment": "node" }, "gitHead": "9ec78f2ef3d9169293636c48b7741ebb7b457ac6", "_id": "webpack-sources@2.2.0", "_nodeVersion": "14.9.0", "_npmVersion": "6.14.8", "dist": { "integrity": "sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w==", "shasum": "058926f39e3d443193b6c31547229806ffd02bac", "tarball": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.2.0.tgz", "fileCount": 16, "unpackedSize": 55066, "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" }, "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "_npmUser": { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/webpack-sources_2.2.0_1603966900427_0.7132752111300411" }, "_hasShrinkwrap": false } }, "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", "maintainers": [ { "name": "bebraw", "email": "bebraw@gmail.com" }, { "name": "sokra", "email": "tobias.koppers@googlemail.com" }, { "name": "jhnns", "email": "mail@johannesewald.de" }, { "name": "thelarkinn", "email": "sean.larkin@cuw.edu" }, { "name": "spacek33z", "email": "kees@webduck.nl" } ], "time": { "modified": "2020-10-29T10:21:42.929Z", "created": "2016-01-03T17:29:30.353Z", "0.1.0": "2016-01-03T17:29:30.353Z", "0.1.1": "2016-01-30T12:10:01.566Z", "0.1.2": "2016-04-21T22:39:19.360Z", "0.1.3": "2016-11-12T16:03:16.077Z", "0.1.4": "2017-01-15T15:34:58.888Z", "0.1.5": "2017-03-07T20:11:47.369Z", "0.2.0": "2017-03-07T20:32:45.800Z", "0.2.1": "2017-03-24T21:05:28.371Z", "0.2.2": "2017-03-24T22:05:15.254Z", "0.2.3": "2017-03-24T23:38:14.635Z", "1.0.0": "2017-06-03T12:23:15.625Z", "1.0.1": "2017-06-03T14:32:04.346Z", "1.0.2": "2017-11-04T07:20:58.402Z", "1.1.0": "2017-11-26T11:06:26.949Z", "1.2.0": "2018-08-29T12:09:23.738Z", "1.3.0": "2018-09-20T09:05:06.955Z", "2.0.0-beta.0": "2019-01-18T19:43:35.990Z", "2.0.0-beta.1": "2019-01-19T11:41:21.817Z", "1.4.0": "2019-07-31T09:47:46.815Z", "1.4.1": "2019-07-31T13:19:42.048Z", "1.4.2": "2019-08-05T11:37:57.718Z", "2.0.0-beta.2": "2019-08-05T11:48:11.786Z", "1.4.3": "2019-08-05T14:56:52.060Z", "2.0.0-beta.3": "2019-08-05T15:01:45.305Z", "2.0.0-beta.4": "2019-09-12T15:40:19.941Z", "2.0.0-beta.5": "2019-10-22T12:34:31.973Z", "2.0.0-beta.6": "2019-11-08T09:49:39.502Z", "2.0.0-beta.7": "2019-11-13T12:58:11.853Z", "2.0.0-beta.8": "2019-11-20T15:36:10.259Z", "2.0.0-beta.9": "2020-08-20T07:44:06.943Z", "2.0.0-beta.10": "2020-08-24T15:52:25.486Z", "2.0.0": "2020-09-17T23:33:31.570Z", "2.0.1": "2020-09-28T15:50:11.724Z", "2.1.0": "2020-10-26T08:05:55.075Z", "2.1.1": "2020-10-28T12:39:41.613Z", "2.2.0": "2020-10-29T10:21:40.646Z" }, "homepage": "https://github.com/webpack/webpack-sources#readme", "keywords": [ "webpack", "source-map" ], "repository": { "type": "git", "url": "git+https://github.com/webpack/webpack-sources.git" }, "author": { "name": "Tobias Koppers @sokra" }, "bugs": { "url": "https://github.com/webpack/webpack-sources/issues" }, "license": "MIT", "readmeFilename": "README.md", "users": { "shuoshubao": true, "dennisli87": true, "ttionya": true } }