@definitelytyped/definitions-parser
Advanced tools
Comparing version 0.0.191 to 0.0.192
# @definitelytyped/definitions-parser | ||
## 0.0.192 | ||
### Patch Changes | ||
- 5b0559f6: Update and clean up dependencies | ||
- Updated dependencies [5b0559f6] | ||
- @definitelytyped/typescript-versions@0.0.181 | ||
- @definitelytyped/header-parser@0.0.188 | ||
- @definitelytyped/utils@0.0.186 | ||
## 0.0.191 | ||
@@ -4,0 +14,0 @@ |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.clean = void 0; | ||
const fs_extra_1 = require("fs-extra"); | ||
const fs_1 = __importDefault(require("fs")); | ||
const settings_1 = require("./lib/settings"); | ||
function clean() { | ||
(0, fs_extra_1.removeSync)(settings_1.dataDirPath); | ||
fs_1.default.rmSync(settings_1.dataDirPath, { recursive: true, force: true }); | ||
} | ||
exports.clean = clean; | ||
//# sourceMappingURL=clean.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.dataFilePath = exports.writeDataFile = exports.readDataFile = void 0; | ||
const fs_extra_1 = require("fs-extra"); | ||
const fs_1 = __importDefault(require("fs")); | ||
const utils_1 = require("@definitelytyped/utils"); | ||
@@ -12,3 +15,3 @@ const settings_1 = require("./lib/settings"); | ||
async function writeDataFile(filename, content, formatted = true) { | ||
await (0, fs_extra_1.ensureDir)(settings_1.dataDirPath); | ||
await fs_1.default.promises.mkdir(settings_1.dataDirPath, { recursive: true }); | ||
await (0, utils_1.writeJson)(dataFilePath(filename), content, formatted); | ||
@@ -15,0 +18,0 @@ } |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.getLocallyInstalledDefinitelyTyped = exports.getDefinitelyTyped = void 0; | ||
const fs_extra_1 = require("fs-extra"); | ||
const fs_1 = __importDefault(require("fs")); | ||
const utils_1 = require("@definitelytyped/utils"); | ||
@@ -15,3 +15,3 @@ const settings_1 = require("./lib/settings"); | ||
log.info("Downloading Definitely Typed ..."); | ||
await (0, fs_extra_1.ensureDir)(settings_1.dataDirPath); | ||
await fs_1.default.promises.mkdir(settings_1.dataDirPath, { recursive: true }); | ||
log.info(settings_1.dataDirPath + " exists."); | ||
@@ -18,0 +18,0 @@ return (0, utils_1.downloadAndExtractFile)(settings_1.definitelyTypedZipUrl, log); |
{ | ||
"name": "@definitelytyped/definitions-parser", | ||
"version": "0.0.191", | ||
"version": "0.0.192", | ||
"description": "Reads the DefinitelyTyped repository and provides an API for querying its metadata", | ||
@@ -18,14 +18,13 @@ "homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/definitions-parser#readme", | ||
"dependencies": { | ||
"@types/node": "^14.14.35", | ||
"@types/semver": "^7.5.2", | ||
"fs-extra": "^9.1.0", | ||
"pacote": "^13.6.1", | ||
"semver": "^7.3.7", | ||
"@definitelytyped/header-parser": "0.0.187", | ||
"@definitelytyped/typescript-versions": "0.0.180", | ||
"@definitelytyped/utils": "0.0.185" | ||
"@types/node": "^16.18.61", | ||
"@types/semver": "^7.5.5", | ||
"pacote": "^17.0.4", | ||
"semver": "^7.5.4", | ||
"@definitelytyped/header-parser": "0.0.188", | ||
"@definitelytyped/typescript-versions": "0.0.181", | ||
"@definitelytyped/utils": "0.0.186" | ||
}, | ||
"devDependencies": { | ||
"@types/fs-extra": "^9.0.8", | ||
"@types/pacote": "^11.1.5" | ||
"@types/pacote": "^11.1.8", | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -38,2 +37,5 @@ "peerDependencies": { | ||
}, | ||
"engines": { | ||
"node": ">=16.17.0" | ||
}, | ||
"scripts": { | ||
@@ -40,0 +42,0 @@ "build": "tsc -b", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
147975
8
1695
+ Added@definitelytyped/header-parser@0.0.188(transitive)
+ Added@definitelytyped/typescript-versions@0.0.181(transitive)
+ Added@definitelytyped/utils@0.0.186(transitive)
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@npmcli/agent@2.2.2(transitive)
+ Added@npmcli/fs@3.1.1(transitive)
+ Added@npmcli/git@5.0.8(transitive)
+ Added@npmcli/installed-package-contents@2.1.0(transitive)
+ Added@npmcli/node-gyp@3.0.0(transitive)
+ Added@npmcli/package-json@5.2.1(transitive)
+ Added@npmcli/promise-spawn@7.0.2(transitive)
+ Added@npmcli/redact@1.1.0(transitive)
+ Added@npmcli/run-script@7.0.4(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Added@sigstore/bundle@2.3.2(transitive)
+ Added@sigstore/core@1.1.0(transitive)
+ Added@sigstore/protobuf-specs@0.3.2(transitive)
+ Added@sigstore/sign@2.3.2(transitive)
+ Added@sigstore/tuf@2.3.4(transitive)
+ Added@sigstore/verify@1.2.1(transitive)
+ Added@tufjs/canonical-json@2.0.0(transitive)
+ Added@tufjs/models@2.0.1(transitive)
+ Added@types/node@16.18.119(transitive)
+ Addedabbrev@2.0.0(transitive)
+ Addedagent-base@7.1.1(transitive)
+ Addedansi-regex@6.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedb4a@1.6.7(transitive)
+ Addedbare-events@2.5.0(transitive)
+ Addedcacache@18.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@9.2.2(transitive)
+ Addedfast-fifo@1.3.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedfs-minipass@3.0.3(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedhosted-git-info@7.0.2(transitive)
+ Addedhttp-proxy-agent@7.0.2(transitive)
+ Addedhttps-proxy-agent@7.0.5(transitive)
+ Addedignore-walk@6.0.5(transitive)
+ Addedini@4.1.3(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedjson-parse-even-better-errors@3.0.2(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedmake-fetch-happen@13.0.1(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedminipass-collect@2.0.1(transitive)
+ Addedminipass-fetch@3.0.5(transitive)
+ Addednode-gyp@10.2.0(transitive)
+ Addednopt@7.2.1(transitive)
+ Addednormalize-package-data@6.0.2(transitive)
+ Addednpm-bundled@3.0.1(transitive)
+ Addednpm-install-checks@6.3.0(transitive)
+ Addednpm-normalize-package-bin@3.0.1(transitive)
+ Addednpm-package-arg@11.0.3(transitive)
+ Addednpm-packlist@8.0.2(transitive)
+ Addednpm-pick-manifest@9.1.0(transitive)
+ Addednpm-registry-fetch@16.2.1(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpacote@17.0.7(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedproc-log@4.2.0(transitive)
+ Addedqueue-tick@1.0.1(transitive)
+ Addedread-package-json@7.0.1(transitive)
+ Addedread-package-json-fast@3.0.2(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedsigstore@2.3.1(transitive)
+ Addedsocks-proxy-agent@8.0.4(transitive)
+ Addedssri@10.0.6(transitive)
+ Addedstreamx@2.20.2(transitive)
+ Addedstring-width@5.1.2(transitive)
+ Addedstrip-ansi@7.1.0(transitive)
+ Addedtar-stream@3.1.7(transitive)
+ Addedtext-decoder@1.2.1(transitive)
+ Addedtuf-js@2.2.1(transitive)
+ Addedunique-filename@3.0.0(transitive)
+ Addedunique-slug@4.0.0(transitive)
+ Addedvalidate-npm-package-name@5.0.1(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedfs-extra@^9.1.0
- Removed@definitelytyped/header-parser@0.0.187(transitive)
- Removed@definitelytyped/typescript-versions@0.0.180(transitive)
- Removed@definitelytyped/utils@0.0.185(transitive)
- Removed@gar/promisify@1.1.3(transitive)
- Removed@npmcli/fs@2.1.2(transitive)
- Removed@npmcli/git@3.0.2(transitive)
- Removed@npmcli/installed-package-contents@1.0.7(transitive)
- Removed@npmcli/move-file@2.0.1(transitive)
- Removed@npmcli/node-gyp@2.0.0(transitive)
- Removed@npmcli/promise-spawn@3.0.0(transitive)
- Removed@npmcli/run-script@4.2.1(transitive)
- Removed@tootallnate/once@2.0.0(transitive)
- Removed@types/node@14.18.63(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedagentkeepalive@4.5.0(transitive)
- Removedare-we-there-yet@3.0.1(transitive)
- Removedat-least-node@1.0.0(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbl@4.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedbuiltins@5.1.0(transitive)
- Removedcacache@16.1.3(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedfs-extra@8.1.09.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgauge@4.0.4(transitive)
- Removedglob@7.2.38.1.0(transitive)
- Removedhosted-git-info@5.2.1(transitive)
- Removedhttp-proxy-agent@5.0.0(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedhumanize-ms@1.2.1(transitive)
- Removedieee754@1.2.1(transitive)
- Removedignore-walk@5.0.1(transitive)
- Removedinfer-owner@1.0.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedjsonfile@4.0.06.1.0(transitive)
- Removedlru-cache@7.18.3(transitive)
- Removedmake-fetch-happen@10.2.1(transitive)
- Removedminimatch@3.1.25.1.6(transitive)
- Removedminipass-collect@1.0.2(transitive)
- Removedminipass-fetch@2.1.2(transitive)
- Removednode-gyp@9.4.1(transitive)
- Removednopt@6.0.0(transitive)
- Removednormalize-package-data@4.0.1(transitive)
- Removednpm-bundled@1.1.22.0.1(transitive)
- Removednpm-install-checks@5.0.0(transitive)
- Removednpm-normalize-package-bin@1.0.12.0.0(transitive)
- Removednpm-package-arg@9.1.2(transitive)
- Removednpm-packlist@5.1.3(transitive)
- Removednpm-pick-manifest@7.0.2(transitive)
- Removednpm-registry-fetch@13.3.1(transitive)
- Removednpmlog@6.0.2(transitive)
- Removedpacote@13.6.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedproc-log@2.0.1(transitive)
- Removedread-package-json@5.0.2(transitive)
- Removedread-package-json-fast@2.0.3(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedsocks-proxy-agent@7.0.0(transitive)
- Removedssri@9.0.1(transitive)
- Removedtar-stream@2.2.0(transitive)
- Removedunique-filename@2.0.1(transitive)
- Removedunique-slug@3.0.0(transitive)
- Removeduniversalify@0.1.22.0.1(transitive)
- Removedvalidate-npm-package-name@4.0.0(transitive)
Updated@types/node@^16.18.61
Updated@types/semver@^7.5.5
Updatedpacote@^17.0.4
Updatedsemver@^7.5.4