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

@definitelytyped/definitions-parser

Package Overview
Dependencies
Maintainers
7
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/definitions-parser - npm Package Compare versions

Comparing version 0.0.191 to 0.0.192

10

CHANGELOG.md
# @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 @@

7

dist/clean.js
"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

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