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

machinepack-strings

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machinepack-strings - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

tests/unique.json

5

machines/template.js

@@ -108,6 +108,7 @@ module.exports = {

catch (e) {
// Recognize lodash template error (scope variable not defined)
var isTplError = _.isObject(e) && (e.name === 'ReferenceError' || e.type === 'not_defined');
var missingVar = _.isArray(e.arguments) && e.arguments[0];
// In Node v0.10.x, the error will have a handy arguments array. In Node v0.12.0, we'll have to
// pull the missing var from the error message, where it'll be the first word
var missingVar = (_.isArray(e.arguments) && e.arguments[0]) || (e.message.split(' ')[0]);

@@ -114,0 +115,0 @@ // If this is not a recognizable missing variable error, or if

2

machines/unique.js

@@ -41,5 +41,5 @@ module.exports = {

var token = module.exports._rack();
return exits.success(rack());
return exits.success(token);
}
};
{
"name": "machinepack-strings",
"version": "4.0.0",
"version": "4.1.0",
"description": "Work with strings.",

@@ -51,4 +51,4 @@ "scripts": {

"type": "git",
"url": ""
"url": "https://github.com/treelinehq/machinepack-strings.git"
}
}

@@ -11,3 +11,3 @@ <h1>

## Installation &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-strings.svg)](http://badge.fury.io/js/machinepack-strings) [![Build Status](https://travis-ci.org/treelinehq/machinepack-strings.png?branch=master)](https://travis-ci.org/treelinehq/machinepack-strings)
## Installation &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-strings.svg)](http://badge.fury.io/js/machinepack-strings) [![Build Status](https://travis-ci.org/mikermcneil/machinepack-strings.png?branch=master)](https://travis-ci.org/mikermcneil/machinepack-strings)

@@ -14,0 +14,0 @@ ```sh

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