Skip to content

Commit

Permalink
Merge pull request #464 from dotnet/updateNPMdeps
Browse files Browse the repository at this point in the history
Update NPM dependencies
  • Loading branch information
AArnott committed Apr 7, 2020
2 parents 07423ab + 2573f43 commit ec790bd
Show file tree
Hide file tree
Showing 4 changed files with 534 additions and 611 deletions.
1 change: 1 addition & 0 deletions src/nerdbank-gitversioning.npm/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
out/
js/
typings/
.ntvs_analysis.dat
tools/
Expand Down
17 changes: 9 additions & 8 deletions src/nerdbank-gitversioning.npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@
"versioning"
],
"devDependencies": {
"@types/node": "^10.12.21",
"del": "^3.0.0",
"gulp": "^4.0.0",
"gulp-cli": "^2.0.1",
"gulp-sourcemaps": "2.6.4",
"gulp-typescript": "5.0.0",
"@types/camel-case": "^1.2.1",
"@types/node": "^13.11.0",
"del": "^5.1.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.2.0",
"gulp-sourcemaps": "2.6.5",
"gulp-typescript": "^5.0.0",
"gulp-util": "^3.0.8",
"merge2": "1.2.3",
"merge2": "^1.3.0",
"path": "^0.12.7",
"typescript": "^3.3.1"
},
"dependencies": {
"camel-case": "^3.0.0"
"camel-case": "^4.1.1"
},
"scripts": {
"build": "gulp"
Expand Down
4 changes: 2 additions & 2 deletions src/nerdbank-gitversioning.npm/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as fs from 'fs';
import * as path from 'path';
var camelCase = require('camel-case')
import * as camelCase from 'camel-case';
import {execAsync} from './asyncprocess';

const nbgvPath = 'nbgv.cli';
Expand Down Expand Up @@ -53,7 +53,7 @@ export async function getVersion(projectDirectory?: string, dotnetCommand?: stri
var directResult = JSON.parse(versionText.stdout);
var result = {};
for (var field in directResult) {
result[camelCase(field)] = directResult[field];
result[camelCase.camelCase(field)] = directResult[field];
}

return <IGitVersion>result;
Expand Down

0 comments on commit ec790bd

Please sign in to comment.