Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure-tools/codegen

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure-tools/codegen - npm Package Compare versions

Comparing version 2.1.218 to 2.1.219

2

dist/text-manipulation.d.ts

@@ -43,3 +43,3 @@ import { TextPossibilities } from './file-generator';

export declare function removeSequentialDuplicates(identifier: Iterable<string>): string[];
export declare function pascalCase(identifier: string | Array<string>): string;
export declare function pascalCase(identifier: string | Array<string>, removeDuplicates?: boolean): string;
export declare function camelCase(identifier: string | Array<string>): string;

@@ -46,0 +46,0 @@ export declare function getPascalIdentifier(name: string): string;

@@ -240,6 +240,6 @@ "use strict";

exports.removeSequentialDuplicates = removeSequentialDuplicates;
function pascalCase(identifier) {
function pascalCase(identifier, removeDuplicates = true) {
return identifier === undefined ? '' : typeof identifier === 'string' ?
pascalCase(fixLeadingNumber(deconstruct(identifier))) :
[...removeSequentialDuplicates(identifier)].map(each => each.capitalize()).join('');
pascalCase(fixLeadingNumber(deconstruct(identifier)), removeDuplicates) :
(removeDuplicates ? [...removeSequentialDuplicates(identifier)] : identifier).map(each => each.capitalize()).join('');
}

@@ -246,0 +246,0 @@ exports.pascalCase = pascalCase;

{
"name": "@azure-tools/codegen",
"version": "2.1.218",
"version": "2.1.219",
"patchOffset": 100,

@@ -5,0 +5,0 @@ "description": "Autorest Code generator common and base classes",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc