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

@charlietango/react-docs-net

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.4.0

@@ -32,2 +32,3 @@ //

function modelName(name ) {
if (name.endsWith('Types')) return typesName(name);
return cleanName(name) + 'ViewModel';

@@ -34,0 +35,0 @@ }

@@ -79,5 +79,10 @@ //

const uniqueRefs = [...new Set(refs)];
const modelsAtDest = config.dest
? globby
.sync(path.join(config.dest, '*.cs'))
.map(file => ({ name: path.basename(file, '.cs') }))
: models;
const missing = uniqueRefs.filter(
name => !models.find(model => model.name === name)
name => !modelsAtDest.find(model => model.name === name)
);

@@ -84,0 +89,0 @@

{
"name": "@charlietango/react-docs-net",
"description": "Package and publish a NuGet package to a custom feed.",
"version": "2.3.3",
"version": "2.4.0",
"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