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

@britannica/compendium

Package Overview
Dependencies
Maintainers
4
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@britannica/compendium - npm Package Compare versions

Comparing version 3.0.0-beta.3 to 3.0.0-beta.4

10

dist/es/utils/contentful-utils.js

@@ -8,8 +8,8 @@ import { a as _objectSpread } from '../chunk-d078aeec.js';

*
* @param {string} id Contentful's entry id
* @param {object} fields Fields for the current Entry
* @param {object} includes The Links/Assets associated with the current Entry
* @param {string} [id] Contentful's entry id
* @returns {object}
*/
static mapFieldsToEntry(id, fields, includes) {
static mapFieldsToEntry(fields, includes, id) {
const entry = {};

@@ -57,3 +57,3 @@ Object.entries(fields).forEach((_ref) => {

});
return ContentfulUtils.mapFieldsToEntry(id, fields, includes);
return ContentfulUtils.mapFieldsToEntry(fields, includes, id);
}

@@ -168,7 +168,7 @@ /**

} = _ref8;
return ContentfulUtils.mapFieldsToEntry(sys.id, fields, includes);
return ContentfulUtils.mapFieldsToEntry(fields, includes, sys.id);
});
}
return ContentfulUtils.mapFieldsToEntry(sys.id, responseFields, includes);
return ContentfulUtils.mapFieldsToEntry(responseFields, includes);
}

@@ -175,0 +175,0 @@ /**

{
"name": "@britannica/compendium",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"main": "./dist/cjs",

@@ -5,0 +5,0 @@ "module": "./dist/es",

Sorry, the diff of this file is too big to display

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