Comparing version 0.1.1 to 0.2.0
{ "name": "slug" | ||
, "description": "slugifies even utf-8 chars!" | ||
, "version": "0.1.1" | ||
, "version": "0.2.0" | ||
, "homepage": "https://github.com/dodo/node-slug" | ||
@@ -11,8 +11,8 @@ , "author": "dodo (https://github.com/dodo)" | ||
, "scripts": { | ||
"preinstall": "#preinstall DO NOTHING", | ||
"install": "node-waf configure build", | ||
"update": "node-waf build"} | ||
"pre-publish": "cake build"} | ||
, "dependencies": { | ||
"unicode": ">= 0.2.1", | ||
"unicode": ">= 0.2.1"} | ||
, "devDependencies": { | ||
"muffin": ">= 0.2.6", | ||
"coffee-script": ">= 1.1.2"} | ||
} |
@@ -10,4 +10,6 @@ # slugify string | ||
> slug = require ('./slug') | ||
> slug('i ♥ unicode') | ||
> slug() | ||
'i-love-unicode' | ||
> slug('i ♥ unicode', '_') # If you prefer something else then `-` as seperator | ||
'i_love_unicode' | ||
``` |
module.exports = require('./build/default/slug') | ||
module.exports = require('./lib/slug') |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 2 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
7631
1
382
15
0
1
2
- Removedcoffee-script@>= 1.1.2
- Removedcoffee-script@1.12.7(transitive)