Comparing version 0.1.7 to 0.1.8
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"engines": { | ||
@@ -13,0 +13,0 @@ "node": ">=0.6.0" |
15
sf.js
@@ -821,12 +821,13 @@ 'use strict'; | ||
var module; | ||
if(module) { | ||
if (typeof module !== 'undefined' && module.exports) { | ||
module.exports = sf; | ||
} | ||
var window; | ||
if (window) { | ||
define([], function() { | ||
return sf; | ||
}); | ||
var define; | ||
if (typeof define === 'function') { | ||
try { | ||
define([], function() { | ||
return sf; | ||
}); | ||
} catch(e) {} | ||
} |
@@ -534,3 +534,9 @@ var sf = require('../'); | ||
test.done(); | ||
}, | ||
'curly brace - issue #1': function(test) { | ||
var result = sf('{{1{test}}}', { test: 1 }); | ||
test.equals('{11}', result); | ||
test.done(); | ||
} | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
45999
1280
0