Socket
Socket
Sign inDemoInstall

actions-auto-publish

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actions-auto-publish - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

11

index.js
'use strict';
const foo = () => {
const value = 41;
const plus = 1;
const value = 39;
const plus = 3;
return value + plus;
};
module.exports.foo = foo;
module.exports.foo = foo;
const bar = () => {
return 'beer';
};
module.exports.bar = bar;
{
"name": "actions-auto-publish",
"version": "1.0.5",
"version": "1.1.0",
"description": "A test setup of automatic publish to npm from github actions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,5 +6,11 @@ 'use strict';

test('Index() - test', (t) => {
test('Index() - foo', (t) => {
t.equal(index.foo(), 42, '.value should be 42');
t.end();
});
test('Index() - bar', (t) => {
t.equal(index.bar(), 'beer', '.value should be "beer"');
t.end();
});
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