Socket
Socket
Sign inDemoInstall

@tufjs/models

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tufjs/models - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0

README.md

2

dist/snapshot.js

@@ -69,4 +69,4 @@ "use strict";

}
return meta;
}
return meta;
}

@@ -1,7 +0,1 @@

export declare enum XMetadataKind {
Root = "root",
Timestamp = "timestamp",
Snapshot = "snapshot",
Targets = "targets"
}
export type JSONObject = {

@@ -8,0 +2,0 @@ [key: string]: JSONValue;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.XMetadataKind = void 0;
var XMetadataKind;
(function (XMetadataKind) {
XMetadataKind["Root"] = "root";
XMetadataKind["Timestamp"] = "timestamp";
XMetadataKind["Snapshot"] = "snapshot";
XMetadataKind["Targets"] = "targets";
})(XMetadataKind = exports.XMetadataKind || (exports.XMetadataKind = {}));
{
"name": "@tufjs/models",
"version": "1.0.0-alpha.1",
"version": "1.0.0",
"description": "TUF metadata models",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@types/jest": "^29.4.0",
"@types/node": "^18.14.1",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.4.3",
"prettier": "^2.8.4",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --maxWorkers=2 --coverage",
"lint": "eslint --fix --ext .ts src/**",
"lint:check": "eslint --max-warnings 0 --ext .ts src/**",
"format": "prettier --write \"src/**/*\""
"build": "tsc --build",
"clean": "rm -rf dist && rm tsconfig.tsbuildinfo",
"test": "jest"
},

@@ -36,3 +20,5 @@ "repository": {

"keywords": [
"tuf"
"tuf",
"security",
"update"
],

@@ -42,5 +28,16 @@ "author": "bdehamer@github.com",

"bugs": {
"url": "https://github.com/github/tuf-js/issues"
"url": "https://github.com/theupdateframework/tuf-js/issues"
},
"homepage": "https://github.com/github/tuf-js#readme"
"homepage": "https://github.com/theupdateframework/tuf-js/packages/models#readme",
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^18.14.1",
"typescript": "^4.9.5"
},
"dependencies": {
"minimatch": "^6.1.0"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
}

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