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

low

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

low - npm Package Compare versions

Comparing version 1.1.19 to 1.1.20

4

lib/renderers/renderer.js

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

const module_1 = require("../module");
const object_compiler_1 = require("../object-compiler");
class Renderer extends module_1.Module {

@@ -28,3 +29,4 @@ render(config, context) {

const template = yield this.getTemplate(config, context);
const rendered = yield this.core(template, context, config.__metadata || {});
const metadata = yield object_compiler_1.ObjectCompiler.compile(config.__metadata || {}, context);
const rendered = yield this.core(template, context, metadata);
const parsed = yield this.parseRendered(rendered, config);

@@ -31,0 +33,0 @@ if (cacheManager && cacheKey) {

{
"name": "low",
"version": "1.1.19",
"version": "1.1.20",
"description": "a templating driven low-code framework for rapid systems development",

@@ -25,3 +25,3 @@ "main": "lib/index.js",

},
"gitHead": "a110d72271b4642477edcb27e5d2c7bb9f39303e",
"gitHead": "ed5c95baf12886be1a044b9a8dc29bd2ce27a2c6",
"devDependencies": {

@@ -28,0 +28,0 @@ "@types/jest": "^24.9.0",

@@ -5,2 +5,3 @@ import { Module } from '../module';

import { CacheConfig, CacheManager, CacheKey } from '../cache-managers/cache-manager';
import { ObjectCompiler } from '../object-compiler';

@@ -22,3 +23,4 @@ export class Renderer<C, S, T> extends Module<C, S> {

const template = await this.getTemplate(config, context);
const rendered = await this.core(template, context, config.__metadata || {});
const metadata = await ObjectCompiler.compile(config.__metadata || {}, context);
const rendered = await this.core(template, context, metadata);
const parsed = await this.parseRendered(rendered, config);

@@ -25,0 +27,0 @@

Sorry, the diff of this file is not supported yet

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