New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-derequire

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-derequire - npm Package Versions

2

3.0.0

Diff

Changelog

Source

3.0.0 (2020-04-15)

Features
Breaking Changes
  • drop support for old Node versions (Node < 10). Users of old Nodes should install gulp-derequire@2.x (c5a9d14e)

2.1.1 (2020-04-15)

twada
published 2.1.1 •

twada
published 2.1.0 •

Changelog

Source

2.1.0 (2015-03-09)

  • upgrade derequire to 2.0.0 (NO BC Breaks) (1d5428c9)
twada
published 2.0.0 •

Changelog

Source

2.0.0 (2014-09-16)

  • use same paramaters as derequire (a20ac9bc) by @calvinmetcalf
Breaking Changes

Now parameters are passed verbetim to derequrie so see its readme for options.

If parameters are already customized, you have to migrate. To migrate, change your code from the following:

gulp.task('build', function() {
    var bundleStream = browserify({entries: './index.js', standalone: 'yourModule'}).bundle();
    return bundleStream
        .pipe(source('yourModule.js'))
        .pipe(derequire({
            tokenTo:   '_dereq_',
            tokenFrom: 'require'
        }))
        .pipe(gulp.dest('./build'));
});

To:

gulp.task('build', function() {
    var bundleStream = browserify({entries: './index.js', standalone: 'yourModule'}).bundle();
    return bundleStream
        .pipe(source('yourModule.js'))
        .pipe(derequire([
            {
                from: 'require',
                to: '_dereq_'
            }
        ]))
        .pipe(gulp.dest('./build'));
});
twada
published 1.1.0 •

Changelog

Source

1.1.0 (2014-09-12)

twada
published 1.0.0 •

Changelog

Source

1.0.0 (2014-08-26)

twada
published 0.3.1 •

twada
published 0.3.0 •

twada
published 0.2.1 •

twada
published 0.2.0 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc