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

await-npm-package-version-action-test

Package Overview
Dependencies
Maintainers
2
Versions
467
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

await-npm-package-version-action-test - npm Package Compare versions

Comparing version 1.0.0-test-1607063998915 to 1.0.0-test-1607065536361

2

package.json
{
"name": "await-npm-package-version-action-test",
"version": "1.0.0-test-1607063998915",
"version": "1.0.0-test-1607065536361",
"scripts": {

@@ -5,0 +5,0 @@ "prepublishOnly": "node ./prepare.js"

const { writeFileSync } = require("fs");
const core = require("@actions/core");
if (!process.env.NPM_TOKEN) {
throw new Error("NPM_TOKEN is not set");
}
const pkg = require("./package.json");

@@ -11,5 +8,2 @@ pkg.version = "1.0.0-test-" + Date.now();

writeFileSync("package.json", JSON.stringify(pkg, null, 2) + "\n");
writeFileSync(
".npmrc",
`//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`
);
core.setOutput("version", pkg.version);
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