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

@ef2/strapi

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ef2/strapi - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

template/src/api/.gitkeep

2

package.json
{
"name": "@ef2/strapi",
"description": "Strapi EF2 template",
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "devDependencies": {

@@ -9,2 +9,3 @@ {

"@ef2/strapi-plugin-slug-localization": "^0.0.3",
"strapi-plugin-teaser": "latest",
"fs-extra": "^10.1.0",

@@ -11,0 +12,0 @@ "mime-types": "^2.1.35",

export default {
seo: { enabled: true },
placeholder: {
enabled: true,
config: {
size: 10
}
enabled: true,
config: {
size: 10,
},
},
navigation: { enabled: true },
'slug-localization': {
enabled: true
navigation: {
enabled: true,
config: {
contentTypes: [
"api::article-overview-page.article-overview-page",
"api::article-page.article-page",
"api::contact-page.contact-page",
"api::content-page.content-page",
],
contentTypesNameFields: {
"api::article-overview-page.article-overview-page": ["title"],
"api::article-page.article-page": ["title"],
"api::contact-page.contact-page": ["title"],
"api::content-page.content-page": ["title"],
},
pathDefaultFields: {
"api::article-page.article-page": ["slug"],
"api::content-page.content-page": ["slug"],
},
allowedLevels: 1,
},
},
"slug-localization": {
enabled: true,
},
graphql: {
enabled: true
enabled: true,
},
email: {
enabled: true,
config: {
provider: 'sendmail',
providerOptions: {},
settings: {
recipients: [],
defaultFrom: 'Strapi <info@ef2.builders>',
defaultReplyTo: 'Strapi <info@ef2.builders>',
testAddress: 'Strapi <info@ef2.builders>'
}
}
}
};
enabled: true,
config: {
provider: "sendmail",
providerOptions: {},
settings: {
recipients: [],
defaultFrom: "Strapi <info@ef2.builders>",
defaultReplyTo: "Strapi <info@ef2.builders>",
testAddress: "Strapi <info@ef2.builders>",
},
},
},
teaser: {
enabled: true,
},
};
{
"kind": "singleType",
"collectionName": "contact_pages",
"info": {
"singularName": "contact-page",
"pluralName": "contact-pages",
"displayName": "Contact page",
"description": ""
"kind": "singleType",
"collectionName": "contact_pages",
"info": {
"singularName": "contact-page",
"pluralName": "contact-pages",
"displayName": "Contact page",
"description": ""
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"options": {
"draftAndPublish": false
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"pluginOptions": {
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
"localized": true
}
},
"type": "dynamiczone",
"components": [
"hero.hero-buttons"
],
"required": true,
"min": 1,
"max": 1
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["hero.hero-buttons"],
"required": true,
"min": 1,
"max": 1
},
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["content.accordion", "content.image", "content.image-text", "content.text", "content.video"],
"required": true
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": [
"content.accordion",
"content.image",
"content.image-text",
"content.text",
"content.video",
"content.accordion-item",
"content.quote"
],
"required": true
},
"teaser": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "shared.teaser"
}
}
}
{
"kind": "collectionType",
"collectionName": "content_pages",
"info": {
"singularName": "content-page",
"pluralName": "content-pages",
"displayName": "Content page",
"description": ""
"kind": "collectionType",
"collectionName": "content_pages",
"info": {
"singularName": "content-page",
"pluralName": "content-pages",
"displayName": "Content page",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"options": {
"draftAndPublish": true
"slug": {
"required": true,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "customField",
"customField": "plugin::slug-localization.slug-localization"
},
"pluginOptions": {
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
"localized": true
}
},
"type": "dynamiczone",
"components": [
"hero.hero-buttons"
],
"required": true,
"min": 1,
"max": 1
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"slug": {
"required": true,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "customField",
"customField": "plugin::slug-localization.slug-localization"
},
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["hero.hero-buttons"],
"required": true,
"min": 1,
"max": 1
},
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["content.accordion", "content.image", "content.image-text", "content.text", "content.video"],
"required": true
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": [
"content.accordion",
"content.image",
"content.image-text",
"content.text",
"content.video",
"content.accordion-item",
"content.quote"
],
"required": true
},
"teaser": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "shared.teaser"
}
}
}
{
"kind": "singleType",
"collectionName": "general_settings",
"info": {
"singularName": "general-setting",
"pluralName": "general-settings",
"displayName": "General settings"
"kind": "singleType",
"collectionName": "general_settings",
"info": {
"singularName": "general-setting",
"pluralName": "general-settings",
"displayName": "General settings",
"description": ""
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"footer": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "general.footer"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {
"redirects": {
"type": "component",
"repeatable": true,
"pluginOptions": {
"i18n": {
"localized": true
"localized": true
}
},
"component": "input.redirect",
"required": true
},
"attributes": {
"footer": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "general.footer"
"googleTagManager": {
"pluginOptions": {
"i18n": {
"localized": false
}
},
"type": "string",
"required": false,
"default": "GTM-"
}
}
}
{
"kind": "singleType",
"collectionName": "homepages",
"info": {
"singularName": "homepage",
"pluralName": "homepages",
"displayName": "Homepage",
"description": ""
"kind": "singleType",
"collectionName": "homepages",
"info": {
"singularName": "homepage",
"pluralName": "homepages",
"displayName": "Homepage",
"description": ""
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"options": {
"draftAndPublish": false
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"pluginOptions": {
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
"localized": true
}
},
"type": "dynamiczone",
"components": [
"hero.hero-buttons"
],
"required": true,
"min": 1,
"max": 1
},
"attributes": {
"title": {
"type": "string",
"required": true
},
"seo": {
"type": "component",
"repeatable": false,
"component": "shared.seo",
"required": false
},
"hero": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["hero.hero-buttons"],
"required": true,
"min": 1,
"max": 1
},
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": ["content.accordion", "content.image", "content.image-text", "content.text", "content.video"],
"required": true
"flexContent": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": [
"content.accordion",
"content.image",
"content.image-text",
"content.text",
"content.video",
"content.quote"
],
"required": true
},
"testtt": {
"type": "relation",
"relation": "oneToOne",
"target": "api::content-page.content-page"
},
"test": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "customField",
"customField": "plugin::teaser.teaser"
},
"teaser": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "shared.teaser"
}
}
}
{
"collectionName": "components_content_accordions",
"info": {
"displayName": "Accordion",
"description": ""
"collectionName": "components_content_accordions",
"info": {
"displayName": "Accordion",
"description": "",
"icon": "eye"
},
"options": {},
"attributes": {
"heading": {
"type": "component",
"repeatable": false,
"component": "layout.heading",
"required": true
},
"options": {},
"attributes": {
"heading": {
"type": "component",
"repeatable": false,
"component": "layout.heading",
"required": true
},
"items": {
"type": "component",
"repeatable": true,
"component": "layout.paragraph",
"required": true,
"min": 1
}
"items": {
"type": "component",
"repeatable": true,
"component": "content.accordion-item",
"min": 1,
"required": true
}
}
}

@@ -25,4 +25,9 @@ {

"default": false
},
"textLeft": {
"type": "boolean",
"required": true,
"default": false
}
}
}

@@ -15,3 +15,3 @@ {

},
"full": {
"narrow": {
"type": "boolean",

@@ -18,0 +18,0 @@ "required": true,

@@ -19,4 +19,9 @@ {

"default": false
},
"narrow": {
"type": "boolean",
"required": true,
"default": false
}
}
}

@@ -19,3 +19,4 @@ {

"component": "input.links",
"required": false
"required": false,
"max": 2
},

@@ -22,0 +23,0 @@ "addresses": {

@@ -15,3 +15,2 @@ {

"type": "string",
"regex": "(https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|www\\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9]+\\.[^\\s]{2,}|www\\.[a-zA-Z0-9]+\\.[^\\s]{2,})",
"required": true

@@ -18,0 +17,0 @@ }

{
"collectionName": "components_hero_heros",
"info": {
"displayName": "Hero",
"description": ""
"collectionName": "components_hero_heros",
"info": {
"displayName": "Hero",
"description": ""
},
"options": {},
"attributes": {
"title": {
"type": "customField",
"customField": "plugin::bold-title-editor.title",
"required": true
},
"options": {},
"attributes": {
"title": {
"type": "text",
"required": true
},
"image": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": ["images"]
},
"text": {
"type": "customField",
"options": {
"preset": "standard"
},
"customField": "plugin::ckeditor.CKEditor",
"required": true
},
"textTeaser": {
"type": "string",
"required": true
}
"image": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": [
"images"
]
},
"text": {
"type": "customField",
"options": {
"preset": "standard"
},
"customField": "plugin::ckeditor.CKEditor",
"required": true
}
}
}
{
"collectionName": "components_input_address",
"info": {
"displayName": "Address",
"description": ""
"collectionName": "components_input_address",
"info": {
"displayName": "Address",
"description": ""
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true,
"default": "Bezoekadres"
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true,
"default": "Bezoekadres"
},
"street": {
"type": "string",
"required": true
},
"houseNumber": {
"type": "string",
"required": true
},
"houseNumberAddition": {
"type": "string",
"required": false
},
"postalCode": {
"type": "string",
"required": true
},
"place": {
"type": "string",
"required": true
},
"email": {
"type": "string",
"required": false
},
"phone": {
"type": "string",
"required": false
},
"phoneHref": {
"type": "string",
"required": false
}
"street": {
"type": "string",
"required": false
},
"houseNumber": {
"type": "string",
"required": false
},
"houseNumberAddition": {
"type": "string",
"required": false
},
"postalCode": {
"type": "string",
"required": false
},
"place": {
"type": "string",
"required": false
},
"email": {
"type": "string",
"required": false
},
"phone": {
"type": "string",
"required": false
},
"phoneHref": {
"type": "string",
"required": false
}
}
}

@@ -17,3 +17,3 @@ {

},
"color": {
"variant": {
"type": "enumeration",

@@ -24,8 +24,2 @@ "enum": ["primary", "secondary"],

},
"variant": {
"type": "enumeration",
"enum": ["default", "outline", "text"],
"default": "default",
"required": true
},
"target": {

@@ -32,0 +26,0 @@ "type": "enumeration",

@@ -10,3 +10,3 @@ {

"title": {
"type": "text",
"type": "string",
"required": true

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

@@ -14,8 +14,2 @@ {

},
"titleTag": {
"type": "enumeration",
"enum": ["h2", "h3", "h4", "h5", "span", "paragraph"],
"default": "h2",
"required": true
},
"subtitle": {

@@ -22,0 +16,0 @@ "type": "string",

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