Skip to content

Commit

Permalink
update depricated dependencies
Browse files Browse the repository at this point in the history
benibenj committed Jul 19, 2024
1 parent 2e3e3bc commit d0e1a5c
Showing 3 changed files with 724 additions and 143 deletions.
855 changes: 718 additions & 137 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@
"cockatiel": "^3.1.2",
"commander": "^6.2.1",
"form-data": "^4.0.0",
"glob": "^7.0.6",
"glob": "^11.0.0",
"hosted-git-info": "^4.0.2",
"jsonc-parser": "^3.2.0",
"leven": "^3.1.0",
@@ -56,7 +56,7 @@
"parse-semver": "^1.1.1",
"read": "^1.0.7",
"semver": "^7.5.2",
"tmp": "^0.2.1",
"tmp": "^0.2.3",
"typed-rest-client": "^1.8.4",
"url-join": "^4.0.1",
"xml2js": "^0.5.0",
@@ -66,7 +66,7 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.33.7",
"@types/cheerio": "^0.22.29",
"@types/glob": "^7.1.1",
"@types/glob": "^8.1.0",
"@types/hosted-git-info": "^3.0.2",
"@types/markdown-it": "^0.0.2",
"@types/mime": "^1",
6 changes: 3 additions & 3 deletions src/package.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import * as yazl from 'yazl';
import { ExtensionKind, Manifest } from './manifest';
import { ITranslations, patchNLS } from './nls';
import * as util from './util';
import glob from 'glob';
import { glob } from 'glob';
import minimatch from 'minimatch';
import markdownit from 'markdown-it';
import * as cheerio from 'cheerio';
@@ -200,7 +200,7 @@ export interface VSIX {
preRelease: boolean;
sponsorLink: string;
pricing: string;
executesCode:boolean;
executesCode: boolean;
}

export class BaseProcessor implements IProcessor {
@@ -1622,7 +1622,7 @@ async function collectAllFiles(
): Promise<string[]> {
const deps = await getDependencies(cwd, dependencies, dependencyEntryPoints);
const promises = deps.map(dep =>
promisify(glob)('**', { cwd: dep, nodir: true, dot: true, ignore: 'node_modules/**' }).then(files =>
glob('**', { cwd: dep, nodir: true, dot: true, ignore: 'node_modules/**' }).then(files =>
files.map(f => path.relative(cwd, path.join(dep, f))).map(f => f.replace(/\\/g, '/'))
)
);

0 comments on commit d0e1a5c

Please sign in to comment.