Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NPM dependencies #464

Merged
merged 2 commits into from
Apr 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading