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

metarhia-common

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metarhia-common - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

dist/lib/flags.js

1

common.js

@@ -12,2 +12,3 @@ 'use strict';

'events', // Events and emitter
'flags', // Flags data type
'fp', // Functional programming

@@ -14,0 +15,0 @@ 'id', // Keys and identifiers

@@ -19,2 +19,3 @@ 'use strict';

'events', // Events and emitter
'flags', // Flags data type
'fp', // Functional programming

@@ -21,0 +22,0 @@ 'id', // Keys and identifiers

6

dist/lib/strings.js

@@ -51,3 +51,3 @@ 'use strict';

while (end !== -1 && start < tpl.length) {
result = tpl.substring(start, end);
result += tpl.substring(start, end);
start = end + 1;

@@ -74,4 +74,4 @@ end = tpl.indexOf('@', start);

if (value === undefined) {
value = key === '.value' ? d : '[undefined]';
if (value === undefined && key === '.value') {
value = d;
}

@@ -78,0 +78,0 @@

@@ -44,3 +44,3 @@ 'use strict';

while (end !== -1 && start < tpl.length) {
result = tpl.substring(start, end);
result += tpl.substring(start, end);
start = end + 1;

@@ -64,4 +64,4 @@ end = tpl.indexOf('@', start);

let value = getByPath(d, key);
if (value === undefined) {
value = key === '.value' ? d : '[undefined]';
if (value === undefined && key === '.value') {
value = d;
}

@@ -68,0 +68,0 @@ if (value === null) {

{
"name": "metarhia-common",
"version": "0.0.37",
"version": "0.0.38",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Metarhia Common Library",

@@ -16,2 +16,3 @@ 'use strict';

['Hello, @.name@', { person: { name: 'Ali' } }, 'person', true, 'Hello, Ali'],
['@w@, @.name@', { w: 'Hello', person: { name: 'Ali' } }, 'person', true, 'Hello, Ali'],
],

@@ -18,0 +19,0 @@ 'common.section': [

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