You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@openapi-generator-plus/handlebars-templates

Package Overview
Dependencies
Maintainers
0
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-generator-plus/handlebars-templates - npm Package Compare versions

Comparing version

to
1.6.0

6

dist/index.js

@@ -1044,2 +1044,8 @@ "use strict";

registerComparisonHelper('le', (a, b) => a <= b, hbs);
hbs.registerHelper('isNull', function (value) {
return value === null;
});
hbs.registerHelper('isNotNull', function (value) {
return value !== null;
});
}

@@ -1046,0 +1052,0 @@ exports.registerStandardHelpers = registerStandardHelpers;

2

package.json
{
"name": "@openapi-generator-plus/handlebars-templates",
"version": "1.5.1",
"version": "1.6.0",
"description": "Utility for openapi-generator-plus generators to use with Handlebars templates",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -633,3 +633,2 @@ import { promises as fs } from 'fs'

})
hbs.registerHelper('ifndef', function(this: UnknownObject, value: unknown) {

@@ -1086,2 +1085,9 @@ // eslint-disable-next-line prefer-rest-params

registerComparisonHelper('le', (a, b) => a <= b, hbs)
hbs.registerHelper('isNull', function(value: unknown): boolean {
return value === null
})
hbs.registerHelper('isNotNull', function(value: unknown): boolean {
return value !== null
})
}

@@ -1088,0 +1094,0 @@