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.0 to 0.2.1

2

dist/entities/globals.js

@@ -86,3 +86,3 @@ "use strict";

if (shadowedGlobalsList.length !== 0) {
logger_1.default.warning(`Some globals are shadowed by module configuration: ${chalk_1.default.blueBright(shadowedGlobalsList)}`);
logger_1.default.error(`Some globals are shadowed by module configuration: ${chalk_1.default.blueBright(shadowedGlobalsList)}`);
}

@@ -89,0 +89,0 @@ Object.assign(result, configuration_1.default.getGlobals());

@@ -31,5 +31,9 @@ "use strict";

const chalk_1 = __importDefault(require("chalk"));
const lodash_1 = __importDefault(require("lodash"));
// TODO: add support for .md and .txt formats
const PARTIAL_EXTENTION = '.html';
function load() {
/*-----------------------------------------------------------------------------
* Import partials from /partials
*----------------------------------------------------------------------------*/
const partialsPath = configuration_1.default.getPartialsDirectoryPath();

@@ -50,3 +54,9 @@ const partials = filesystem.scanFiles(partialsPath, true, false, true);

}, {});
/* [Module mode] Add extra partials if there are any available */
/*-----------------------------------------------------------------------------
* [Module mode] Add extra partials if there are any available
*----------------------------------------------------------------------------*/
const shadowedPartialsList = lodash_1.default.intersection(Object.keys(result), Object.keys(configuration_1.default.getPartials()));
if (shadowedPartialsList.length !== 0) {
logger_1.default.error(`Some partials are shadowed by module configuration: ${chalk_1.default.blueBright(shadowedPartialsList)}`);
}
Object.assign(result, configuration_1.default.getPartials());

@@ -53,0 +63,0 @@ if (configuration_1.default.debugOutput) {

{
"name": "symply",
"version": "0.2.0",
"version": "0.2.1",
"description": "A simple static site generator.",

@@ -5,0 +5,0 @@ "author": "Oleg Legun <oleg.legun@gmail.com>",

![Logo](./assets/logo.png)
> CAUTION: This generator is used internally in our systems and its API is constantly changing! Please wait for v1.0.0.
A simple pluggable **static site generator** with great flexibility and control.
**Symply** is based on well-known fast and reliable [Handlebars.js](https://github.com/wycats/handlebars.js) templating engine.
<!--
# Partials
```html
```
# Block partials
```html
```
# Helpers
```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