Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-rewrite-flowtyped-modules

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-rewrite-flowtyped-modules - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

package.json
{
"name": "gulp-rewrite-flowtyped-modules",
"description": "A flow-syntax-aware module dependency rewriter gulp plugin.",
"version": "0.0.8",
"version": "0.0.9",
"main": "src/index.js",

@@ -21,3 +21,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/jrwats/gulp-rewrite-flowtyped-modules.git"
"url": "https://github.com/facebook/fbt.git"
},

@@ -27,3 +27,3 @@ "scripts": {

},
"bugs": "https://github.com/jrwats/gulp-rewrite-flowtyped-modules.git",
"bugs": "https://github.com/facebook/fbt/issues",
"devDependencies": {

@@ -30,0 +30,0 @@ "jest": "^26.6.3"

@@ -0,1 +1,8 @@

/**
* (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
*
* @noflow
* @format
*/
'use strict';

@@ -7,3 +14,3 @@

function gulpFlowRewriteModules(options) {
return through.obj(function(file, _, cb) {
return through.obj(function (file, _, cb) {
if (file.isBuffer()) {

@@ -10,0 +17,0 @@ const contents = file.contents.toString('utf8');

@@ -0,1 +1,8 @@

/**
* (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
*
* @noflow
* @format
*/
'use strict';

@@ -22,3 +29,3 @@

static rewrite(src, opts) {
return (new Rewriter(src, opts)).rewrite();
return new Rewriter(src, opts).rewrite();
}

@@ -25,0 +32,0 @@

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