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

symply

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symply - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

19

dist/commands/generate.js

@@ -50,2 +50,3 @@ "use strict";

registerIfEqHelper();
registerIfNeHelper();
injectGlobalsToHelpers(globals);

@@ -257,2 +258,20 @@ clearDistributionDirectoryIfNeeded();

}
/** If not equals Block helper
* @example
* {{#if_ne var 'value' }}
* var !== 'value'
* {{else}}
* var === 'value'
* {{/if_ne}}
*/
function registerIfNeHelper() {
handlebars_1.default.registerHelper('if_ne', function (a, b, options) {
if (a != b) {
return options.fn(this);
}
else {
return options.inverse(this);
}
});
}
function scanSourceFiles() {

@@ -259,0 +278,0 @@ const allSourceFiles = filesystem.scanFiles(configuration_1.default.getSourceDirectoryPath(), false, true, true);

6

package.json
{
"name": "symply",
"version": "0.2.1",
"version": "0.2.2",
"description": "A simple static site generator.",

@@ -18,2 +18,3 @@ "author": "Oleg Legun <oleg.legun@gmail.com>",

"compile": "npm run dist:clear && npx tsc",
"publish": "npm run compile && npm publish",
"watch": "npm run dist:clear && npx tsc -w",

@@ -23,4 +24,3 @@ "dist:clear": "rm -rf dist",

"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx",
"test": "npm run compile && tape test/**/*.js | tap-spec",
"publish-npm": "npm publish"
"test": "npm run compile && tape test/**/*.js | tap-spec"
},

@@ -27,0 +27,0 @@ "dependencies": {

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