Socket
Book a DemoInstallSign in
Socket

@asyncapi/generator

Package Overview
Dependencies
Maintainers
3
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asyncapi/generator - npm Package Compare versions

Comparing version

to
0.46.1

3

lib/filtersRegistry.js

@@ -39,4 +39,7 @@ const path = require('path');

// If it's a module constructor, inject dependencies to ensure consistent usage in remote templates in other projects or plain directories.
delete require.cache[require.resolve(filePath)];
const mod = require(filePath);
addFilters(nunjucks, mod);
next();

@@ -43,0 +46,0 @@ } catch (e) {

@@ -40,2 +40,3 @@ const path = require('path');

const filePath = path.resolve(templateDir, path.resolve(root, stats.name));
delete require.cache[require.resolve(filePath)];
const mod = require(filePath);

@@ -42,0 +43,0 @@

2

package.json
{
"name": "@asyncapi/generator",
"version": "0.46.0",
"version": "0.46.1",
"description": "The AsyncAPI generator. It can generate documentation, code, anything!",

@@ -5,0 +5,0 @@ "main": "./lib/generator.js",

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.