🚀 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
2
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
2.1.1

7

lib/csharp-types.js

@@ -108,4 +108,4 @@ //

function typedArray(type , vmName ) {
const innerType = getType(type.name, type.elements[0], vmName);
function typedArray(name, type , vmName ) {
const innerType = getType(name, type.elements[0], vmName);
return {

@@ -187,3 +187,2 @@ type:

}
// Determine the correct type

@@ -193,3 +192,3 @@ if (!type.elements && !type.value && !type.raw) {

} else if (type.name === 'Array') {
result = typedArray(type, vmName);
result = typedArray(name, type, vmName);
} else if (type.name === 'signature' && type.type === 'object') {

@@ -196,0 +195,0 @@ result = objectSignature(vmName, name, type);

@@ -27,3 +27,3 @@ //

function cleanName(name ) {
const clean = name.replace(/((?:View)?Model|(?:ViewModel|Model)?Types)$/, '');
const clean = name.replace('ViewModel', '').replace(/(Model|Types)$/, '');
return upperFirst(camelCase(clean));

@@ -42,7 +42,2 @@ }

return name;
// const cleanName = name.replace(/(?:View)?Models$/, '');
//
// return [...cleanName.split('.'), 'ViewModels']
// .map(part => upperFirst(camelCase(part)))
// .join('.');
}

@@ -49,0 +44,0 @@

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

@@ -6,0 +6,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet