Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
gulp-remote-src
Advanced tools
Remote gulp.src
.
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-remote-src
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var remoteSrc = require('gulp-remote-src');
gulp.task('remote', function() {
remoteSrc(['app.js', 'jquery.js'], {
base: 'http://myapps.com/assets/',
})
.pipe(uglify())
.pipe(gulp.dest('./dist/'));
})
base
Url base.
buffer
(default is true)
Pipe out files as buffer or as stream. Note that some plugins does not support streaming.
gulp-remote-src
uses request to make HTTP request, you can specify below
options to customize your request:
qs
- object containing querystring values to be appended to the uri
headers
- http headers (default: {}
)auth
- A hash containing values user
|| username
, pass
|| password
, and sendImmediately
(optional). See documentation above.followRedirect
- follow HTTP 3xx responses as redirects (default: true
). This property can also be implemented as function which gets response
object as a single argument and should return true
if redirects should continue or false
otherwise.followAllRedirects
- follow non-GET HTTP 3xx responses as redirects (default: false
)maxRedirects
- the maximum number of redirects to follow (default: 10
)timeout
- Integer containing the number of milliseconds to wait for a request to respond before aborting the requestproxy
- An HTTP proxy to be used. Supports proxy Auth with Basic Auth, identical to support for the url
parameter (by embedding the auth info in the uri
)strictSSL
- If true
, requires SSL certificates be valid. Note: to use your own certificate authority, you need to specify an agent that was created with that CA as an option.aws
- object
containing AWS signing information. Should have the properties key
, secret
. Also requires the property bucket
, unless you’re specifying your bucket
as part of the path, or the request doesn’t use a bucket (i.e. GET Services)gzip
- If true
, add an Accept-Encoding
header to request compressed content encodings from the server (if not already present) and decode supported content encodings in the response.First release.
Fix streaming pipe.
Add tests for streaming pipe.
Add option strictSSL
(thank you @Magomogo)
Pass through request options to make it flexible.
v0.3.0 (2014-09-02)
Pass through request options to make it flexible.
FAQs
Remote gulp.src
The npm package gulp-remote-src receives a total of 1,606 weekly downloads. As such, gulp-remote-src popularity was classified as popular.
We found that gulp-remote-src demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.