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

abagnale

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abagnale - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

Changelog.md

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

# 1.0.1 - 2016-03-09
- Slugify existing element ID to prevent spaces and invalid characters in paths.
- Fix module main location.
# 1.0.0 - 2016-02-23
- Initial release.

4

lib/abagnale.js

@@ -113,6 +113,6 @@ // A module to forge IDs for Refract elements.

if (refract.meta.id) {
newPath = [refract.meta.id];
newPath = [(0, _slug2['default'])(refract.meta.id)];
} else if (path.length === 0 && refract.meta.classes && refract.meta.classes.length === 1) {
// This is the first item, and it has a class name, so we use that.
newPath = [refract.meta.classes[0]];
newPath = [(0, _slug2['default'])(refract.meta.classes[0])];
}

@@ -119,0 +119,0 @@ }

{
"name": "abagnale",
"version": "1.0.0",
"version": "1.0.1",
"description": "Forge unique IDs for Refract data structure elements",
"main": "index.js",
"main": "lib/abagnale.js",
"scripts": {
"test": "peasant test",
"cover": "peasant cover",
"coveralls": "peasant cover && coveralls <coverage/lcov.info",
"lint": "peasant lint",

@@ -21,2 +22,3 @@ "peasant": "peasant",

"devDependencies": {
"coveralls": "^2.11.6",
"glob": "^7.0.0",

@@ -23,0 +25,0 @@ "peasant": "^0.5.2"

Sorry, the diff of this file is not supported yet

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