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.9 to 1.1.10

4

lib/object-compiler.js

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

static isTemplate(property) {
return typeof property === 'object' && property !== null && property.hasOwnProperty('__template');
return typeof property === 'object' && property !== null && '__template' in property;
}

@@ -87,3 +87,3 @@ static compile(config, context, specialProperties) {

static resolvePointer(property, context) {
if (!property || !property.hasOwnProperty('__pointer'))
if (typeof property !== 'object' || property === null || !('__pointer' in property))
return property;

@@ -90,0 +90,0 @@ const value = ObjectCompiler.objectPath(context, property.__pointer);

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

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

},
"gitHead": "612b24cd1922633d502dcb419f80f59eead47d74",
"gitHead": "5f0ed8043b589340630ac0729cec91f23a1f8d4f",
"devDependencies": {

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

@@ -7,3 +7,3 @@

static isTemplate(property: any): boolean {
return typeof property === 'object' && property !== null && property.hasOwnProperty('__template');
return typeof property === 'object' && property !== null && '__template' in property;
}

@@ -85,4 +85,5 @@

static resolvePointer(property: any, context: Context) {
if (!property || !property.hasOwnProperty('__pointer')) return property;
if (typeof property !== 'object' || property === null || !('__pointer' in property)) return property;
const value = ObjectCompiler.objectPath(context, property.__pointer);

@@ -89,0 +90,0 @@ if (typeof value === 'undefined') {

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