New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apps-consumer-utils

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apps-consumer-utils - npm Package Compare versions

Comparing version 1.0.4-0 to 1.0.5-0

3

index.js

@@ -46,2 +46,5 @@ "use strict";

// getId :: Object -> String
"getHomeSectionId": (content) => R.head(content.Source.split('-')) + '.' + content.OwnerHomeSection,
// getLatestEventById :: [Object] -> [Object]

@@ -48,0 +51,0 @@ "getLatestEventsById": (records) => {

2

package.json
{
"name": "apps-consumer-utils",
"version": "1.0.4-0",
"version": "1.0.5-0",
"description": "",

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

@@ -26,2 +26,13 @@ "use strict";

describe('getHomeSectionId', () => {
it('should not return the homeSectionId', () => {
const content = {
Source: 'nationals-article',
OwnerHomeSection: '123'
};
assert.equal(index.getHomeSectionId(content), 'nationals.123');
});
});
describe('normalizeJSON', () => {

@@ -28,0 +39,0 @@ it('should not add deleted field to non-delete event', () => {

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