🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@charlietango/react-docs-net

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@charlietango/react-docs-net - npm Package Compare versions

Comparing version

to
3.5.0

4

lib/models/enum-model.js

@@ -54,2 +54,4 @@ //

const name = typesName(model.name);
const summary = [model.description, model.see].filter(Boolean);
const fileSource = `using System.ComponentModel.DataAnnotations;

@@ -65,3 +67,3 @@ using System.Runtime.Serialization;

{
${model.see ? comment(model.see, 4, 'summary') : ''}
${summary.length ? comment(summary.join('\n'), 4, 'summary') : ''}
public enum ${name}

@@ -68,0 +70,0 @@ {

@@ -132,2 +132,16 @@ //

if (result.models) {
/* If this is view model generated from an ENUM file, we only want to output the Types file */
if (model.props.hasOwnProperty('ENUM_TYPE')) {
return [
createEnum(
{
name,
description: model.description,
types: result.models[0].types,
},
config
),
];
}
const subModels = result.models

@@ -134,0 +148,0 @@ .map(sub => {

{
"name": "@charlietango/react-docs-net",
"description": "Package and publish a NuGet package to a custom feed.",
"version": "3.4.1",
"version": "3.5.0",
"main": "lib/index.js",

@@ -48,3 +48,3 @@ "bin": {

},
"gitHead": "bef4d6489f154b48f5e601e0560fa767d4359c8a"
"gitHead": "bcbfbf9674075be44a6aa426603b8ccc74ba81d6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet