Socket
Socket
Sign inDemoInstall

builder

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

6

HISTORY.md
History
=======
## 3.2.2
* Correctly infer if a builder passthrough task on Windows. ( [@GEMI][] )
[#138](https://github.com/FormidableLabs/builder/issues/138)
## 3.2.1

@@ -174,2 +179,3 @@

[@exogen]: https://github.com/exogen
[@GEMI]: https://github.com/GEMI
[@ryan-roemer]: https://github.com/ryan-roemer

4

lib/task.js

@@ -84,3 +84,5 @@ "use strict";

Task.prototype.isBuilderTask = function (task) {
var builder = path.basename(this._script);
// mac: '/PATH/TO/node_modules/.bin/builder'
// win: 'X:\\PATH\\TO\\node_modules\\builder\\bin\\builder.js',
var builder = path.basename(this._script, ".js");
var taskParts = task.split(/\s+/);

@@ -87,0 +89,0 @@ var taskBin = taskParts[0];

{
"name": "builder",
"version": "3.2.1",
"version": "3.2.2",
"description": "An NPM-based task runner",

@@ -44,3 +44,3 @@ "repository": {

"eslint-plugin-filenames": "^0.1.2",
"istanbul": "^0.4.1",
"istanbul": "^0.4.5",
"mocha": "^2.3.4",

@@ -47,0 +47,0 @@ "mock-fs": "^3.7.0",

@@ -88,3 +88,3 @@ [![Travis Status][trav_img]][trav_site]

- [Example `builder` Archetype Project Structure](#example-builder-archetype-project-structure)
- [Tips, Tricks, & Notes](#tips-tricks-&-notes)
- [Tips, Tricks, & Notes](#tips-tricks--notes)
- [PATH, NODE_PATH Resolution](#path-node_path-resolution)

@@ -91,0 +91,0 @@ - [Environment Variables](#environment-variables)

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