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

browserify-transform-tools

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-transform-tools - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

6

lib/transformTools.js

@@ -36,3 +36,3 @@ // Generated by CoffeeScript 1.6.3

}
transform = function(file) {
transform = function(file, opts) {
var configData, content, end, write;

@@ -64,4 +64,4 @@ configData = transform.configData != null ? transform.configData : loadConfig.loadTransformConfigSync(transformName, file, options);

configData: configData,
configData: configData,
config: configData != null ? configData.config : void 0
config: configData != null ? configData.config : void 0,
opts: opts
};

@@ -68,0 +68,0 @@ return transformFn(content, transformOptions, function(err, transformed) {

{
"name": "browserify-transform-tools",
"version": "1.2.2",
"version": "1.3.0",
"description": "Utilities for writing browserify transforms.",

@@ -5,0 +5,0 @@ "main": "./lib/transformTools.js",

@@ -55,3 +55,3 @@ This package contains tools for helping you write [transforms](https://github.com/substack/node-browserify#btransformtr) for [browserify](https://github.com/substack/node-browserify).

a callback which must be called, passing the a string with the transformed contents of the
file. transformOptions consists of:
file. `transformOptions` consists of:

@@ -65,2 +65,4 @@ * `transformOptions.file` is the name of the file (as would be passed to a normal browserify transform.)

* `transformOptions.opts` is an object containing any options that have been supplied to the transform (for instance, with Browserify's `b.transform` API.)
* `options.excludeExtensions` - A list of extensions which will not be processed. e.g.

@@ -67,0 +69,0 @@ "['.coffee', '.jade']"

Sorry, the diff of this file is not supported yet

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