New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crema

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crema - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

.npmignore

2

examples/index.js

@@ -17,1 +17,3 @@ var crema = require('../lib');

route = "request /";
console.log(JSON.stringify(crema(route), null, 2));

@@ -71,2 +71,3 @@ var strscanner = require("strscanner");

if(cchar != '/') {

@@ -106,2 +107,10 @@

if(!segs.length) {
segs.push({
value: "",
param: false,
test: null
});
}
return {

@@ -222,3 +231,3 @@ value: module.exports.stringifySegments(segs),

module.exports.stringifySegments = function(segments, params, ignoreParams) {
return segments.map(function(seg) {
return "/" + segments.map(function(seg) {
var buffer = "";

@@ -225,0 +234,0 @@ if(seg.param) buffer += ":";

22

package.json
{
"name": "crema",
"description": "syntactic sugar for your javascript functions",
"version": "0.1.3",
"repository": {},
"engines": {},
"dependencies": {
"strscanner": "0.0.x",
"StringScanner": "0.0.x"
},
"devDependencies": {
"pegjs": "0.6.2"
},
"main": "./lib/index.js"
"name": "crema",
"description": "syntactic sugar for your javascript functions",
"version": "0.1.4",
"repository": {},
"engines": {},
"dependencies": {
"strscanner": "0.0.x"
},
"main": "./lib/index.js"
}
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