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

turbo-carto

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turbo-carto - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

6

CHANGELOG.md
# Changelog
## Version 0.14.0
Released 2016-07-06
- Improve turbo-carto error with better messages: context not part of message anymore.
## Version 0.13.0

@@ -4,0 +10,0 @@ Released 2016-07-05

2

package.json
{
"name": "turbo-carto",
"version": "0.13.0",
"version": "0.14.0",
"description": "CartoCSS preprocessor",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -84,3 +84,3 @@ 'use strict';

}
throw new TurboCartoError('Unable to process "' + decl.prop + '"', err, context);
throw new TurboCartoError('Failed to process "' + decl.prop + '" property:', err, context);
});

@@ -128,3 +128,3 @@ };

return Promise.reject(
new TurboCartoError('Invalid number of arguments')
new TurboCartoError('invalid number of arguments')
);

@@ -139,3 +139,3 @@ }

return Promise.reject(
new TurboCartoError('Invalid number of arguments')
new TurboCartoError('invalid number of arguments')
);

@@ -166,3 +166,3 @@ }

return reject(
new TurboCartoError('Unable to compute ramp', err)
new TurboCartoError('unable to compute ramp,', err)
);

@@ -180,3 +180,3 @@ }

return Promise.reject(
new TurboCartoError('Invalid ramp length. Got ' + ramp.length + ' values, expected ' + tuple.length)
new TurboCartoError('invalid ramp length, got ' + ramp.length + ' values, expected ' + tuple.length)
);

@@ -183,0 +183,0 @@ }

@@ -8,10 +8,7 @@ 'use strict';

if (originalErr) {
message += '. Reason: ' + originalErr.message;
message += ' ' + originalErr.message;
}
if (context) {
message += '. Context: ' + JSON.stringify(context);
}
this.message = message;
this.originalErr = originalErr;
this.context = context;

@@ -18,0 +15,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