@tufjs/models
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
43
0
4
80040
1
2103
1
+ Addedminimatch@^6.1.0
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@6.2.0(transitive)