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

@britannica/cam-utils

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@britannica/cam-utils - npm Package Compare versions

Comparing version 5.0.0-beta.8 to 5.0.0-beta.9

5

dist/cam-utils.cjs.js

@@ -116,9 +116,8 @@ 'use strict';

// todo: which MW subdomains should be included?
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle)
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle) can we do something like `href.includes('games/octordle')` rather than `hostname.includes()`?
const productNameMap = {
kids: 'Britannica Kids',
money: 'Britannica Money',
myaccount: 'Billing Preferences',
premium: 'Britannica Premium',
subscription: 'Britannica Premium',
unabridged: 'Merriam-Webster Unabridged',
};

@@ -125,0 +124,0 @@ // Match the hostname to a key within "productNameMap", otherwise default to "Britannica.com" or "Merriam-Webster"

@@ -114,9 +114,8 @@ // --- Enums

// todo: which MW subdomains should be included?
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle)
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle) can we do something like `href.includes('games/octordle')` rather than `hostname.includes()`?
const productNameMap = {
kids: 'Britannica Kids',
money: 'Britannica Money',
myaccount: 'Billing Preferences',
premium: 'Britannica Premium',
subscription: 'Britannica Premium',
unabridged: 'Merriam-Webster Unabridged',
};

@@ -123,0 +122,0 @@ // Match the hostname to a key within "productNameMap", otherwise default to "Britannica.com" or "Merriam-Webster"

@@ -120,9 +120,8 @@ (function (global, factory) {

// todo: which MW subdomains should be included?
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle)
// todo: how should we handle games, which live under a path? (e.g. www.britannica.com/games/octordle) can we do something like `href.includes('games/octordle')` rather than `hostname.includes()`?
const productNameMap = {
kids: 'Britannica Kids',
money: 'Britannica Money',
myaccount: 'Billing Preferences',
premium: 'Britannica Premium',
subscription: 'Britannica Premium',
unabridged: 'Merriam-Webster Unabridged',
};

@@ -129,0 +128,0 @@ // Match the hostname to a key within "productNameMap", otherwise default to "Britannica.com" or "Merriam-Webster"

2

package.json
{
"name": "@britannica/cam-utils",
"version": "5.0.0-beta.8",
"version": "5.0.0-beta.9",
"description": "Consumer Account Management (CAM) auth configuration and utilities",

@@ -5,0 +5,0 @@ "repository": "git://github.com/britannica/cam-utils.git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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