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

contentful-hugo

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-hugo - npm Package Compare versions

Comparing version 1.16.0 to 1.16.2

4

dist/main/processEntry/mapper/getEntryFields.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var getEntryFields = function (entry) {
var _a;
var obj = {};

@@ -8,3 +9,4 @@ if (entry.sys) {

id: entry.sys.id,
contentType: entry.sys.contentType.sys.id,
// contentType is missing if an deleted entry get's referenced
contentType: (_a = entry.sys.contentType) === null || _a === void 0 ? void 0 : _a.sys.id,
};

@@ -11,0 +13,0 @@ }

@@ -8,5 +8,7 @@ "use strict";

var mapEntry = function (target) {
var _a, _b;
return {
id: target.sys.id,
contentType: target.sys.contentType.sys.id,
// contentType doesn't exist if the entry is "missing or inaccessible"
contentType: (_b = (_a = target.sys.contentType) === null || _a === void 0 ? void 0 : _a.sys) === null || _b === void 0 ? void 0 : _b.id,
};

@@ -13,0 +15,0 @@ };

{
"name": "contentful-hugo",
"version": "1.16.0",
"version": "1.16.2",
"description": "Node module that pulls data from Contentful and turns it into markdown files for Hugo. Can be used with other Static Site Generators, but has some Hugo specific features.",

@@ -46,7 +46,7 @@ "main": "./dist/main/index.js",

"chokidar": "^3.5.1",
"contentful": "^8.2.1",
"contentful": "^8.3.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"fs-extra": "^9.1.0",
"js-yaml": "^4.0.0",
"js-yaml": "^4.1.0",
"json-to-pretty-yaml": "^1.2.2",

@@ -63,12 +63,12 @@ "yargs": "^16.2.0"

"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/cli": "^7.13.16",
"@types/express": "^4.17.9",
"@types/fs-extra": "^9.0.7",
"@types/jest": "^26.0.20",
"@types/js-yaml": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"@types/fs-extra": "^9.0.11",
"@types/jest": "^26.0.23",
"@types/js-yaml": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.0.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",

@@ -82,7 +82,7 @@ "eslint-plugin-import": "^2.22.1",

"prettier-plugin-go-template": "0.0.10",
"ts-jest": "^26.5.1",
"ts-loader": "^8.0.17",
"ts-jest": "^26.5.5",
"ts-loader": "^8.2.0",
"tscpaths": "0.0.9",
"typescript": "^4.1.5"
"typescript": "^4.2.4"
}
}

@@ -14,3 +14,3 @@ # Contentful Hugo

- Default shortcodes for rich text content
- Asset field resolution
- Automatic Asset field resolution
- Customizable linked entry resolution

@@ -17,0 +17,0 @@ - Content Filters

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