Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.137.185.239
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
vinyl-sourcemaps-apply /
Delete
Unzip
Name
Size
Permission
Date
Action
.jshintrc
34
B
-rw-rw-r--
2022-08-30 11:49
.npmignore
22
B
-rw-rw-r--
2022-08-30 11:49
README.md
939
B
-rw-rw-r--
2022-08-30 11:49
index.js
1.34
KB
-rw-rw-r--
2022-08-30 11:49
package.json
607
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
# vinyl-sourcemaps-apply Apply a source map to a vinyl file, merging it with preexisting source maps. ## Usage: ```javascript var applySourceMap = require('vinyl-sourcemaps-apply'); applySourceMap(vinylFile, sourceMap); ``` ### Example (Gulp plugin): ```javascript var through = require('through2'); var applySourceMap = require('vinyl-sourcemaps-apply'); var myTransform = require('myTransform'); module.exports = function(options) { function transform(file, encoding, callback) { // generate source maps if plugin source-map present if (file.sourceMap) { options.makeSourceMaps = true; } // do normal plugin logic var result = myTransform(file.contents, options); file.contents = new Buffer(result.code); // apply source map to the chain if (file.sourceMap) { applySourceMap(file, result.map); } this.push(file); callback(); } return through.obj(transform); }; ```