From 92016381bfb47c9b2472e6d33795d9a9d9aeefed Mon Sep 17 00:00:00 2001 From: Microsoft Provenance Contributions Date: Tue, 17 Aug 2021 17:02:10 +0800 Subject: [PATCH] Update package.json to include the repository key With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources. We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information. Published NPM packages with repository information: * svgcanvas --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index d069933..fc57f5e 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,10 @@ "build": "rollup index.js -o dist/svgcanvas.js -f cjs && rollup index.js -o dist/svgcanvas.esm.js -f es && rollup test/index.js -o dist/test.js -f iife", "prepublishOnly": "npm run build" }, + "repository": { + "type": "git", + "url": "https://github.com/zenozeng/svgcanvas.git" + }, "keywords": [ "canvas", "svg",