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

@thegetty/quire-11ty

Package Overview
Dependencies
Maintainers
13
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thegetty/quire-11ty - npm Package Compare versions

Comparing version 1.0.0-DEV7192.1 to 1.0.0-DEV7192.2

_includes/components/search.js

1

_includes/components/index.js

@@ -59,2 +59,3 @@ /**

pageTitle: require('./page-title.js'),
search: require('./search.js'),
scripts: require('./scripts.js'),

@@ -61,0 +62,0 @@ sequencePanel: require('./figure/image/sequence-panel'),

62

_layouts/base.11ty.js

@@ -14,36 +14,34 @@ const path = require('path')

const pageId = this.slugify(url) || path.parse(inputPath).name
const figures = pageData.page.figures
return this.renderTemplate(
html`
<!doctype html>
<html lang="${publication.language}">
${this.head(data)}
<body>
${this.icons(data)}
${this.iconscc(data)}
<div class="quire no-js" id="container">
<div
aria-expanded="false"
class="quire__secondary"
id="site-menu"
role="contentinfo"
data-outputs-exclude="epub,pdf"
>
${this.menu({ collections, pageData })}
</div>
<div class="quire__primary">
${this.navigation(data)}
<main class="quire-page ${pageClasses}" data-output-path="${outputPath}" data-page-id="${pageId}" >
${content}
</main>
</div>
{% render 'search' %}
return html`
<!doctype html>
<html lang="${publication.language}">
${this.head(data)}
<body>
${this.icons(data)}
${this.iconscc(data)}
<div class="quire no-js" id="container">
<div
aria-expanded="false"
class="quire__secondary"
id="site-menu"
role="contentinfo"
data-outputs-exclude="epub,pdf"
>
${this.menu({ collections, pageData })}
</div>
${await this.modal()}
${this.scripts()}
</body>
</html>
`,
'liquid'
)
<div class="quire__primary">
${this.navigation(data)}
<main class="quire-page ${pageClasses}" data-output-path="${outputPath}" data-page-id="${pageId}" >
${content}
</main>
</div>
${this.search(data)}
</div>
${await this.modal(figures)}
${this.scripts()}
</body>
</html>
`
}

@@ -16,5 +16,5 @@ /**

const page = collections.all.find(({ inputPath }) => inputPath === this.page.inputPath)
return component(eleventyConfig, { collections, page })(...args)
return component(eleventyConfig, { collections, page }).bind(this)(...args)
})
}
}

@@ -44,4 +44,4 @@ const chalkFactory = require('~lib/chalk')

figure = { ...figure, ...arguments }
if (!page.figures) page.figures = []
page.figures.push(figure)
if (!this.page.figures) this.page.figures = []
this.page.figures.push(figure)

@@ -48,0 +48,0 @@ const { mediaType } = figure

@@ -43,3 +43,3 @@ const { html } = require('~lib/common-tags')

for (let id of ids.slice(startIndex, columns + startIndex)) {
row += await figure(eleventyConfig, { page })(id, classes)
row += await figure(eleventyConfig, { page }).bind(this)(id, classes)
}

@@ -46,0 +46,0 @@ figureTags.push(`<div class="q-figure--group__row columns">${row}</div>`)

{
"name": "@thegetty/quire-11ty",
"version": "1.0.0-DEV7192.1",
"version": "1.0.0-DEV7192.2",
"description": "Quire 11ty static site generator",

@@ -5,0 +5,0 @@ "keywords": [

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