author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
699 | 19.12.2021 15:31:43 | 21,600 | 36fc4b74e2f17f3a5d229e1851ebdbf4a647383d | Add support for `compileOptions.permalink` functions in addExtension. Override just the permalink compilation with your own custom function. | [
{
"change_type": "MODIFY",
"old_path": "docs/meta-release.md",
"new_path": "docs/meta-release.md",
"diff": "-# ESM dependency list\n+# List of dependencies that went ESM\n- `lint-staged` ESM at 12.x\n- `@sindresorhus/slugify` ESM at 2.x\n"
},
{
"change_type": "MODIFY",
"old_path": "src/T... | JavaScript | MIT License | 11ty/eleventy | Add support for `compileOptions.permalink` functions in addExtension. Override just the permalink compilation with your own custom function. |
699 | 21.12.2021 21:55:08 | 21,600 | 548752bac7ebbb7ddb57703ce11129ac19160d06 | Allow custom extensions to partially override the default permalink behavior. e.g. useful if you want to add opt-out of file writing for any scss file that starts with an underscore. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -155,12 +155,12 @@ class CustomEngine extends TemplateEngine {\n}\n// TODO generalize this (look at JavaScript.js)\n- return (\n- this.entry.compile\n- .bind({ config: this.config })(str,... | JavaScript | MIT License | 11ty/eleventy | Allow custom extensions to partially override the default permalink behavior. e.g. useful if you want to add opt-out of file writing for any scss file that starts with an underscore. |
699 | 26.12.2021 23:25:32 | 21,600 | 35eeb949ec6632919243e9f9b93ea1c261d5edf3 | Only throw transforms warning if there was a truthy content before. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -547,6 +547,7 @@ class Template extends TemplateContent {\n// Warning: this argument list is the reverse of linters (inputPath then outputPath)\nasync runTransforms(str, inputPath, outputPath) {\nfor... | JavaScript | MIT License | 11ty/eleventy | Only throw transforms warning if there was a truthy content before. |
699 | 30.12.2021 09:19:46 | 21,600 | ed661f4a3208942da27d8d32a34a9cb5aea30ecf | Fix debug output for Eleventy:cmd | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -46,8 +46,7 @@ try {\n},\n});\n- // TODO fix debug output: `Eleventy:cmd command: eleventy [object Object] +0ms`\n- debug(\"command: eleventy \", argv.toString());\n+ debug(\"command: eleventy %o\", argv);\nconst Elev... | JavaScript | MIT License | 11ty/eleventy | Fix debug output for Eleventy:cmd |
699 | 30.12.2021 14:26:58 | 21,600 | fb1a7d878e119d5808a08f840d97d51ed26ac473 | Add outputFileExtension to default page variable | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -468,6 +468,7 @@ class Template extends TemplateContent {\ndata.page.inputPath = this.inputPath;\ndata.page.fileSlug = this.fileSlugStr;\ndata.page.filePathStem = this.filePathStem;\n+ data.page.outp... | JavaScript | MIT License | 11ty/eleventy | Add outputFileExtension to default page variable |
699 | 30.12.2021 14:28:08 | 21,600 | 5bc24ca70e16622f253979c3710c195b222fff2c | Checks when .compile returns undefined | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -267,6 +267,14 @@ function EleventyPlugin(eleventyConfig, options = {}) {\n}\n);\n+ if (fn === undefined) {\n+ return;\n+ } else if (typeof fn !== \"function\") {\n+ throw new... | JavaScript | MIT License | 11ty/eleventy | Checks when .compile returns undefined |
699 | 02.01.2022 14:31:47 | 21,600 | 3cb2d714a9e338c52515441a9ef4326f3ec98481 | Change cache default for custom extensions to true, but only if `read: true` | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -15,6 +15,8 @@ class CustomEngine extends TemplateEngine {\n// Enable cacheability for this template\nif (this.entry.compileOptions && \"cache\" in this.entry.compileOptions) {\nthis.cach... | JavaScript | MIT License | 11ty/eleventy | Change cache default for custom extensions to true, but only if `read: true` |
699 | 02.01.2022 15:27:01 | 21,600 | 97570cf77362d84eaa6c66908458beac8db60a30 | Custom extensions improvement: Make `getData: false` and `getData: []` work without error. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -67,23 +67,15 @@ class CustomEngine extends TemplateEngine {\nawait this._runningInit();\nif (\"getData\" in this.entry) {\n- let dataBench = bench.get(`Engine (${this.name}) Get Data Fro... | JavaScript | MIT License | 11ty/eleventy | Custom extensions improvement: Make `getData: false` and `getData: []` work without error. |
699 | 03.01.2022 10:21:54 | 21,600 | 4e2ad5e525c93e5a940d73f4ec506d54f95dbe84 | A few tweaks and tests for custom file extensions getData | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -64,9 +64,12 @@ class CustomEngine extends TemplateEngine {\n}\nasync getExtraDataFromFile(inputPath) {\n+ if (!(\"getData\" in this.entry) || this.entry.getData === false) {\n+ return;\n... | JavaScript | MIT License | 11ty/eleventy | A few tweaks and tests for custom file extensions getData |
699 | 03.01.2022 14:56:57 | 21,600 | d8603741ab720234deeddb6dc23161f59509f29a | Tests for `defaultRenderer` | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"js-yaml\": \"^4.1.0\",\n\"lint-staged\": \"^11.2.6\",\n\"markdown-it-emoji\": \"^2.0.0\",\n+ \"marked\": \"^4.0.8\",\n\"nyc\": \"^15.1.0\",\n\"prettier\": \"^2.5.1\",\n\"rimraf\": \"^3.0.2\",\n"
},
{
... | JavaScript | MIT License | 11ty/eleventy | Tests for `defaultRenderer` |
699 | 03.01.2022 17:43:31 | 21,600 | 9514da23cc07e0a6f1c819208bf669185a56f35f | .write, .toJSON, and .toNDJSON will now call .init() for you transparently. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -45,8 +45,7 @@ class CustomEngine extends TemplateEngine {\nreturn true;\n}\n- // If we init from multiple places, wait for the first init to finish\n- // before continuing on.\n+ // If w... | JavaScript | MIT License | 11ty/eleventy | .write, .toJSON, and .toNDJSON will now call .init() for you transparently. |
699 | 03.01.2022 17:51:13 | 21,600 | a2186071a915bea1a40a5d1ba148acf58a7bdb7e | Run executeBuild twice, in parallel | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyTest.js",
"new_path": "test/EleventyTest.js",
"diff": "@@ -322,3 +322,48 @@ test(\"Eleventy programmatic API without init\", async (t) => {\n]\n);\n});\n+\n+test(\"Can Eleventy run two executeBuilds in parallel?\", async (t) => {\n+ let elev = new... | JavaScript | MIT License | 11ty/eleventy | Run executeBuild twice, in parallel |
699 | 04.01.2022 10:12:58 | 21,600 | 223f9ab49e5f9ff71693f47b91dc96b1133f5179 | Updates to ava 4 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.3\",\n\"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.8\",\n\"@vue/server-renderer\": \"^3.2.26\",\n- \"ava\": \"^3.15.0\",\n+ \"ava\": \"^4.0.0\",\n\"husky\": ... | JavaScript | MIT License | 11ty/eleventy | Updates to ava 4 https://github.com/avajs/ava/releases/tag/v4.0.0 |
699 | 04.01.2022 10:17:19 | 21,600 | 730252a065166518a303f453c9bfbd993611d0d1 | Minor tweak for local test stability | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest-CustomExtensions.js",
"new_path": "test/TemplateTest-CustomExtensions.js",
"diff": "@@ -250,9 +250,10 @@ test(\"Overridden liquid gets used from a markdown template\", async (t) => {\ncache: false,\n},\ncompile: function (str, inputPath) {\n+... | JavaScript | MIT License | 11ty/eleventy | Minor tweak for local test stability |
699 | 07.01.2022 20:07:54 | 21,600 | fca0104e02006ae15be892e08959670f7e415864 | Require key for cacheable custom template extensions | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateContent.js",
"new_path": "src/TemplateContent.js",
"diff": "@@ -269,7 +269,8 @@ class TemplateContent {\nstr,\nbypassMarkdown\n);\n- if (cacheable && cache.has(key)) {\n+ if (cacheable && key) {\n+ if (cache.has(key)) {\nreturn cache.get(key);\n}\n... | JavaScript | MIT License | 11ty/eleventy | Require key for cacheable custom template extensions |
699 | 07.01.2022 20:08:25 | 21,600 | 2d5be6c681eaed65b66975831565e6875fe874a3 | Fixed: benchmark was misreporting too many init calls | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -48,9 +48,9 @@ class CustomEngine extends TemplateEngine {\n// If we init from multiple places, wait for the first init to finish before continuing on.\nasync _runningInit() {\nif (this.n... | JavaScript | MIT License | 11ty/eleventy | Fixed: benchmark was misreporting too many init calls |
699 | 11.01.2022 17:37:21 | 21,600 | f16d8cd52e27cb6b49887fc90c1542408e17628f | Benchmarks should not be a global (this is bad for serverless local dev) | [
{
"change_type": "MODIFY",
"old_path": "src/Benchmark.js",
"new_path": "src/Benchmark.js",
"diff": "@@ -18,6 +18,10 @@ class Benchmark {\nthis.beforeTimers = [];\n}\n+ incrementCount() {\n+ this.timesCalled++;\n+ }\n+\n// TODO(slightlyoff):\n// disable all of these hrtime requests when not benchmark... | JavaScript | MIT License | 11ty/eleventy | Benchmarks should not be a global (this is bad for serverless local dev) |
699 | 12.01.2022 11:00:49 | 21,600 | f91a5fce2c27c58ecd6955221bf04239d71c4e11 | Issue with duplicate permalinks when `build` missing from permalink object. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -627,7 +627,7 @@ class TemplateMap {\nlet warnings = {};\nfor (let entry of this.map) {\nfor (let page of entry._pages) {\n- if (page.url === false) {\n+ if (page.outputPath === false || page.u... | JavaScript | MIT License | 11ty/eleventy | Issue with duplicate permalinks when `build` missing from permalink object. |
699 | 13.01.2022 10:23:26 | 21,600 | f3201b1ea15cbd55953494e214e6280a498463e1 | If a page has an Array of available serverless URLs, the serverlessUrl filter will return only the URLs that match (instead of throwing an error). If no results match, then an error will be thrown. | [
{
"change_type": "MODIFY",
"old_path": "src/Filters/ServerlessUrl.js",
"new_path": "src/Filters/ServerlessUrl.js",
"diff": "@@ -7,7 +7,30 @@ function stringify(url, urlData = {}) {\nmodule.exports = function (url, urlData = {}) {\nif (Array.isArray(url)) {\n- return url.slice().map((entry) => string... | JavaScript | MIT License | 11ty/eleventy | If a page has an Array of available serverless URLs, the serverlessUrl filter will return only the URLs that match (instead of throwing an error). If no results match, then an error will be thrown. |
699 | 16.01.2022 14:45:19 | 21,600 | 08fe54e03da025cda24c4b25b5b8a8d0007b4689 | Minor tweaks to help with the plugin | [
{
"change_type": "MODIFY",
"old_path": "src/BenchmarkGroup.js",
"new_path": "src/BenchmarkGroup.js",
"diff": "@@ -66,6 +66,10 @@ class BenchmarkGroup {\nthis.minimumThresholdPercent = val;\n}\n+ has(type) {\n+ return !!this.benchmarks[type];\n+ }\n+\nget(type) {\nif (!this.benchmarks[type]) {\nthis.... | JavaScript | MIT License | 11ty/eleventy | Minor tweaks to help with the https://github.com/11ty/eleventy-plugin-directory-output plugin |
719 | 07.02.2022 13:43:07 | 28,800 | 3ada1047f217c9a29d8129f6974975180d702e96 | Support rendering empty data in pagination | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -191,7 +191,13 @@ class Pagination {\nthrow new Error(\"Missing `setData` call for Pagination object.\");\n}\n- return lodashChunk(this.target, this.size);\n+ const chunks = lodas... | JavaScript | MIT License | 11ty/eleventy | Support rendering empty data in pagination |
699 | 15.02.2022 14:23:55 | 21,600 | 3a7f568da165e5bee1955a240919c69298f6b80d | Swap to use internal IsPlainObject utility rather than lodash/isPlainObject for performance reasons. See | [
{
"change_type": "MODIFY",
"old_path": "src/ComputedDataProxy.js",
"new_path": "src/ComputedDataProxy.js",
"diff": "const lodashSet = require(\"lodash/set\");\nconst lodashGet = require(\"lodash/get\");\n-const lodashIsPlainObject = require(\"lodash/isPlainObject\");\n+const isPlainObject = require(... | JavaScript | MIT License | 11ty/eleventy | Swap to use internal IsPlainObject utility rather than lodash/isPlainObject for performance reasons. See #2214. |
699 | 15.02.2022 14:38:18 | 21,600 | ffdad870233ec0370804cb876e3bedac63ad3ad9 | Fixes test failure with `Eleventy addGlobalData should run once.` in EleventyTest.js | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyTest.js",
"new_path": "test/EleventyTest.js",
"diff": "@@ -372,7 +372,7 @@ test(\"Can Eleventy run two executeBuilds in parallel?\", async (t) => {\ntest(\"Eleventy addGlobalData should run once.\", async (t) => {\nlet count = 0;\n- let elev = new... | JavaScript | MIT License | 11ty/eleventy | Fixes test failure with `Eleventy addGlobalData should run once.` in EleventyTest.js |
699 | 16.02.2022 13:22:11 | 21,600 | 64b250588e9e0c6a185100b0dac21901c2a936cf | Update a few dependencies. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "]\n},\n\"devDependencies\": {\n- \"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.3\",\n+ \"@11ty/eleventy-plugin-syntaxhighlight\": \"^4.0.0\",\n\"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.8\",\n- \"@vue/... | JavaScript | MIT License | 11ty/eleventy | Update a few dependencies. |
699 | 16.02.2022 13:53:48 | 21,600 | ad6816cad9dfa0e57feab02c3de14fee54e49c36 | Old config file, not being used. | [
{
"change_type": "DELETE",
"old_path": ".jsdoc.conf.json",
"new_path": null,
"diff": "-{\n- \"plugins\": [\"plugins/markdown\"],\n- \"templates\": {\n- \"systemName\": \"Eleventy\",\n- \"theme\": \"cosmo\",\n- \"navType\": \"vertical\",\n- \"inverseNav\": true,\n- \"syntaxTheme\": \"dark\",\n- \"sea... | JavaScript | MIT License | 11ty/eleventy | Old config file, not being used. |
699 | 16.02.2022 17:32:05 | 21,600 | 3715a2270252bb550a5c985a9a99158b76a68aa1 | Fixes (though it was already fixed, but this is a sanity check) | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyTest.js",
"new_path": "test/EleventyTest.js",
"diff": "@@ -398,3 +398,10 @@ test(\"Eleventy addGlobalData can feed layouts to populate data cascade with layo\nt.deepEqual(result.data, { LayoutData: 123 });\nt.is(result.content.trim(), \"FromLayout... | JavaScript | MIT License | 11ty/eleventy | Fixes #670 (though it was already fixed, but this is a sanity check) |
699 | 16.02.2022 22:09:36 | 21,600 | 2c7c65b136a0601df1829d7954f54de7af504935 | Fixes brittle test for | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/stubs-670/index.njk",
"diff": "+{{ collections | length }},{% for key,item in collections %}{{ key }},{% endfor %}\n\\ No newline at end of file\n"
}
] | JavaScript | MIT License | 11ty/eleventy | Fixes brittle test for #670 |
699 | 17.02.2022 17:13:13 | 21,600 | 8f35e553f80a9a75da3b2eb1a923ecce87f65573 | Fixes
Adds `date: "git Last Modified"` support to use last git commit as `page.date` variable. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@sindresorhus/slugify\": \"^1.1.2\",\n\"browser-sync\": \"^2.27.7\",\n\"chokidar\": \"^3.5.3\",\n+ \"cross-spawn\": \"^7.0.3\",\n\"debug\": \"^4.3.3\",\n\"dependency-graph\": \"^0.11.0\",\n\"ejs\": \"^3.1.6... | JavaScript | MIT License | 11ty/eleventy | Fixes #142.
Adds `date: "git Last Modified"` support to use last git commit as `page.date` variable. |
699 | 18.02.2022 14:40:57 | 21,600 | 30e355129382e81678e3901b55536dc2881b4ebf | Fixes changes to use event.rawUrl workaround. Also populates rawUrl for local development. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "@@ -238,6 +238,7 @@ class BundlerHelper {\nlet result = await serverlessFunction.handler({\nhttpMethod: \"GET\",\npath: url.pathname,\n+ rawUrl: url.toStrin... | JavaScript | MIT License | 11ty/eleventy | Fixes #2221, changes to use event.rawUrl workaround. Also populates rawUrl for local development. |
735 | 22.02.2022 13:48:12 | -3,600 | 2db04534a7c319f20008e08d05f75782f718cdc9 | fix: wrapper for json parse to pass only one argument | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -492,11 +492,12 @@ class TemplateData {\nreturn this._parseDataFile(path, rawImports, ignoreProcessing, parser);\n} else if (extension === \"json\") {\n// File to string, parse with JSON (pre... | JavaScript | MIT License | 11ty/eleventy | fix: wrapper for json parse to pass only one argument |
699 | 23.02.2022 15:53:26 | 21,600 | 7091b3db1d78c17250574dfc81428c7017a9ea53 | Somehow this test needs a join now. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -1098,7 +1098,7 @@ test(\"Liquid bypass compilation\", async (t) => {\ntest(\"Liquid reverse filter in {{ }}\", async (t) => {\n// https://liquidjs.com/filters/rever... | JavaScript | MIT License | 11ty/eleventy | Somehow this test needs a join now. |
711 | 27.02.2022 19:09:14 | -3,600 | 547804bd96032f9cc0daf31202f3ad4804ec66b1 | standardize this in nunjucks filters | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -174,10 +174,22 @@ class Nunjucks extends TemplateEngine {\naddFilters(helpers, isAsync) {\nfor (let name in helpers) {\n- this.njkEnv.addFilter(name, helpers[name], isAsync);\n+ this... | JavaScript | MIT License | 11ty/eleventy | standardize this in nunjucks filters |
711 | 27.02.2022 19:09:30 | -3,600 | 84b166a99628ce73ef2067308806db8c6e315097 | standardize this in liquid filters | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -65,7 +65,23 @@ class Liquid extends TemplateEngine {\n}\naddFilter(name, filter) {\n- this.liquidLib.registerFilter(name, filter);\n+ this.liquidLib.registerFilter(name, this.wrapFilter(... | JavaScript | MIT License | 11ty/eleventy | standardize this in liquid filters |
711 | 27.02.2022 19:09:46 | -3,600 | 6fca795eb3d97715d93726820c66506a91552eb2 | standardize this in handlebars helper | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Handlebars.js",
"new_path": "src/Engines/Handlebars.js",
"diff": "@@ -27,9 +27,22 @@ class Handlebars extends TemplateEngine {\nthis.handlebarsLib.registerHelper(name, callback);\n}\n+ wrapHelper(callback) {\n+ let jsFuncs = this.config.javascriptF... | JavaScript | MIT License | 11ty/eleventy | standardize this in handlebars helper |
711 | 27.02.2022 19:10:02 | -3,600 | de99f7e01a2b2664851de299866e0995f38298e4 | standardize this in javascript function | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -105,13 +105,25 @@ class JavaScript extends TemplateEngine {\nif (key === \"page\") {\n// do nothing\n} else {\n- // note: bind creates a new function\n- fns[key] = configFns[key]... | JavaScript | MIT License | 11ty/eleventy | standardize this in javascript function |
711 | 27.02.2022 19:56:36 | -3,600 | 1706516c7855ef6243a507253ea583a125160776 | make all filters backwards compatible | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Handlebars.js",
"new_path": "src/Engines/Handlebars.js",
"diff": "@@ -27,22 +27,20 @@ class Handlebars extends TemplateEngine {\nthis.handlebarsLib.registerHelper(name, callback);\n}\n- wrapHelper(callback) {\n- let jsFuncs = this.config.javascript... | JavaScript | MIT License | 11ty/eleventy | make all filters backwards compatible |
711 | 28.02.2022 11:17:04 | -3,600 | aec30ea7d924cd6c0868ba49fc93d66bd982887b | Provide the datacascade in this.ctx for 11ty.js | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -96,7 +96,7 @@ class JavaScript extends TemplateEngine {\nreturn getJavaScriptData(inst, inputPath);\n}\n- getJavaScriptFunctions(inst) {\n+ getJavaScriptFunctions(inst, data) {\n... | JavaScript | MIT License | 11ty/eleventy | Provide the datacascade in this.ctx for 11ty.js |
699 | 03.03.2022 09:56:15 | 21,600 | 4a02b2b65588d5581f7f84d4fa190cba727fa788 | Refactor some of the client, streamline the morphdom event data | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"pug\": \"^3.0.2\",\n\"recursive-copy\": \"^2.0.14\",\n\"semver\": \"^7.3.5\",\n- \"serve-static\": \"^1.14.2\",\n\"slugify\": \"^1.6.5\",\n\"ws\": \"^8.5.0\"\n}\n"
},
{
"change_type": "MODIFY",
... | JavaScript | MIT License | 11ty/eleventy | Refactor some of the client, streamline the morphdom event data |
699 | 04.03.2022 17:51:16 | 21,600 | f1e8b84a79aefd3228c62350163a3d3b1d3dd9ba | In progress. Still needs to be published | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependency-graph\": \"^0.11.0\",\n\"ejs\": \"^3.1.6\",\n\"fast-glob\": \"^3.2.11\",\n- \"finalhandler\": \"^1.1.2\",\n\"graceful-fs\": \"^4.2.9\",\n\"gray-matter\": \"^4.0.3\",\n\"hamljs\": \"^0.6.2\",\n\"p... | JavaScript | MIT License | 11ty/eleventy | In progress. Still needs @11ty/eleventy-dev-server to be published |
699 | 04.03.2022 17:53:22 | 21,600 | e25018beef6fcf446a115f51e9e44c1d2de2a1cd | Removes transformUrl dep | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyServe.js",
"new_path": "src/EleventyServe.js",
"diff": "@@ -72,7 +72,6 @@ class EleventyServe {\nthis.config.dir.output,\nthis.getDefaultServerOptions(),\n{\n- transformUrl: PathPrefixer.joinUrlParts,\ntemplatePath: TemplatePath,\nlogger: new Conso... | JavaScript | MIT License | 11ty/eleventy | Removes transformUrl dep |
699 | 04.03.2022 22:35:21 | 21,600 | 89df07e14a6d6669807684b77af45342af602c55 | Fix bug with incremental and passthrough copy with glob patterns | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePassthroughManager.js",
"new_path": "src/TemplatePassthroughManager.js",
"diff": "+const multimatch = require(\"multimatch\");\n+const isGlob = require(\"is-glob\");\nconst { TemplatePath } = require(\"@11ty/eleventy-utils\");\nconst EleventyExtens... | JavaScript | MIT License | 11ty/eleventy | Fix bug with incremental and passthrough copy with glob patterns |
699 | 08.03.2022 17:24:25 | 21,600 | 02d5a1117f8f5e74089f7771ea46481634e4eb46 | Tests cleanup for Eleventy Serve | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyServeTest.js",
"new_path": "test/EleventyServeTest.js",
"diff": "@@ -2,59 +2,53 @@ const test = require(\"ava\");\nconst EleventyServe = require(\"../src/EleventyServe\");\nconst TemplateConfig = require(\"../src/TemplateConfig\");\n-test(\"Constr... | JavaScript | MIT License | 11ty/eleventy | Tests cleanup for Eleventy Serve |
699 | 09.03.2022 10:22:18 | 21,600 | c8dcf6fc9428141226c0485b5489b43641152f8c | Only throw an error if the `setup` callback is in play on server options | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyServe.js",
"new_path": "src/EleventyServe.js",
"diff": "@@ -92,9 +92,9 @@ class EleventyServe {\n// TODO improve by sorting keys here\nthis._savedConfigOptions = JSON.stringify(this.config.serverOptions);\n- if (!this._initOptionsFetched) {\n+ if (... | JavaScript | MIT License | 11ty/eleventy | Only throw an error if the `setup` callback is in play on server options |
699 | 09.03.2022 10:23:03 | 21,600 | 827ec845c83371343d7e6ca63bf575dd7ee9192f | Removes functionality from setBrowserSyncConfig configuration API method and adds removal message. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "@@ -318,10 +318,6 @@ function EleventyPlugin(eleventyConfig, options = {}) {\nif (process.env.ELEVENTY_SOURCE === \"cli\") {\nlet helper = new BundlerHelper... | JavaScript | MIT License | 11ty/eleventy | Removes functionality from setBrowserSyncConfig configuration API method and adds removal message. |
699 | 09.03.2022 17:41:50 | 21,600 | 9a9570e84b53e5c495113c256a13243999f62e91 | Updates eleventy-dev-server canary | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@11ty/dependency-tree\": \"^2.0.0\",\n- \"@11ty/eleventy-dev-server\": \"^1.0.0-canary.1\",\n+ \"@11ty/eleventy-dev-server\": \"^1.0.0-canary.2\",\n\"@11ty/eleventy-utils\": \"^1.0.... | JavaScript | MIT License | 11ty/eleventy | Updates eleventy-dev-server canary |
699 | 14.03.2022 18:02:17 | 18,000 | a1af7438e2d949aea43c93bcf2eae9d8ff08c4ac | Adds versionCheck to Server API for compatibility checking. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -134,6 +134,7 @@ class Eleventy {\n/** @member {Object} - tbd. */\nthis.eleventyServe = new EleventyServe();\nthis.eleventyServe.config = this.config;\n+ this.eleventyServe.eleventyConfig = this.elev... | JavaScript | MIT License | 11ty/eleventy | Adds versionCheck to Server API for compatibility checking. |
699 | 15.03.2022 11:26:07 | 18,000 | 285cb5d99be77e6521908b792d6ba6e96b60211b | Minor update to copy in Server API compatibility check warning | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyServe.js",
"new_path": "src/EleventyServe.js",
"diff": "@@ -86,6 +86,7 @@ class EleventyServe {\nserverPath,\n\"package.json\"\n);\n+\nlet serverPackageJson = require(serverPackageJsonPath);\nif (\nserverPackageJson[\"11ty\"] &&\n@@ -97,7 +98,7 @@ ... | JavaScript | MIT License | 11ty/eleventy | Minor update to copy in Server API compatibility check warning |
699 | 16.03.2022 14:52:06 | 18,000 | 685543ec4b929885055ef2b36d99a532f2de2cb6 | Add template results to the eleventy.after event argument. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -1018,6 +1018,11 @@ Arguments:\nret = this.logger.closeStream(to);\n}\n+ // Passing the processed output to the eleventy.after event is new in 2.0\n+ let [passthroughCopyResults, ...templateResults] ... | JavaScript | MIT License | 11ty/eleventy | Add template results to the eleventy.after event argument. |
699 | 16.03.2022 14:57:47 | 18,000 | d1f48f77462d09d8b77ddcf0bbaa7faffb306e51 | Additions for vite integration work. Needs to know run mode (--serve or --watch) and outputPath of the files. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -85,6 +85,12 @@ class Eleventy {\n*/\nthis.verboseModeSetViaCommandLineParam = false;\n+ /**\n+ * @member {String} - One of build, serve, or watch\n+ * @default \"build\"\n+ */\n+ this.runMode = \"bu... | JavaScript | MIT License | 11ty/eleventy | Additions for vite integration work. Needs to know run mode (--serve or --watch) and outputPath of the files. |
699 | 16.03.2022 15:35:25 | 18,000 | 9495d4b309afe354ee484388fca4c53a7a1d3721 | Report `outputMode` in build events (one of: fs, json, ndjson) | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -1011,6 +1011,7 @@ Arguments:\ninputDir: this.config.inputDir,\ndir: this.config.dir,\nrunMode: this.runMode,\n+ outputMode: to,\n};\nawait this.config.events.emit(\"beforeBuild\", eventsArg);\nawait... | JavaScript | MIT License | 11ty/eleventy | Report `outputMode` in build events (one of: fs, json, ndjson) |
699 | 25.03.2022 19:59:45 | 18,000 | 7d140fd6e75d2c5887b448cebd9b07665dcf83dc | Adds `config` callback to renderFile and render functions, export them under EleventyRenderPlugin as EleventyRenderPlugin.File and EleventyRenderPlugin.String.
Allows use of render plugin directly (instead of requiring shortcodes) | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -9,30 +9,20 @@ const TemplateRender = require(\"../TemplateRender\");\nconst TemplateConfig = require(\"../TemplateConfig\");\nconst Liquid = require(\"../Engines/Liquid\");\n... | JavaScript | MIT License | 11ty/eleventy | Adds `config` callback to renderFile and render functions, export them under EleventyRenderPlugin as EleventyRenderPlugin.File and EleventyRenderPlugin.String.
Allows use of render plugin directly (instead of requiring shortcodes) |
699 | 25.03.2022 20:25:00 | 18,000 | bd04095713e1a25139abbe7e82dc76342b769a7f | Downgrade ava, reliability reasons. Upgrade other deps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@11ty/eleventy-plugin-syntaxhighlight\": \"^4.0.0\",\n\"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.8\",\n\"@vue/server-renderer\": \"^3.2.31\",\n- \"ava\": \"^4.1.0\",\n+ \"ava\": \"^3.15.0\",\n\"husky\": ... | JavaScript | MIT License | 11ty/eleventy | Downgrade ava, reliability reasons. Upgrade other deps |
699 | 29.03.2022 16:42:05 | 18,000 | 7d4bc4ddbac395fd18af7b26d1ace2f536902256 | Move isPlainObject to | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependencies\": {\n\"@11ty/dependency-tree\": \"^2.0.0\",\n\"@11ty/eleventy-dev-server\": \"^1.0.0-canary.7\",\n- \"@11ty/eleventy-utils\": \"^1.0.0\",\n+ \"@11ty/eleventy-utils\": \"^1.0.1\",\n\"@iarna/tom... | JavaScript | MIT License | 11ty/eleventy | Move isPlainObject to @11ty/eleventy-utils |
699 | 29.03.2022 16:42:48 | 18,000 | 1bfbf4daa180b2107e690c91106b80e3bd6b7a62 | Add `page.templateSyntax` to Eleventy Supplied Data (comma separated list of current template languages) | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -473,6 +473,7 @@ class Template extends TemplateContent {\ndata.page.fileSlug = this.fileSlugStr;\ndata.page.filePathStem = this.filePathStem;\ndata.page.outputFileExtension = this.engine.defaultTemp... | JavaScript | MIT License | 11ty/eleventy | Add `page.templateSyntax` to Eleventy Supplied Data (comma separated list of current template languages) |
699 | 29.03.2022 16:56:15 | 18,000 | 4b03a3956b34a809c20fa01e284e86ccc1467b5b | Re-use `eleventy` global for free inside of renderTemplate and renderFile | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -104,6 +104,7 @@ function EleventyPlugin(eleventyConfig, options = {}) {\nlet normalizedContext = {};\nif (ctx) {\nnormalizedContext.page = ctx.get([\"page\"]);\n+ normalizedC... | JavaScript | MIT License | 11ty/eleventy | Re-use `eleventy` global for free inside of renderTemplate and renderFile |
699 | 30.03.2022 16:59:54 | 18,000 | 5a3fb4b4528b4f61b96691a28b276a278675c677 | Trying to opt-out of fast-glob for direct render usage on bundler | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/TemplateEngine.js",
"new_path": "src/Engines/TemplateEngine.js",
"diff": "-const fastglob = require(\"fast-glob\");\nconst fs = require(\"fs\");\nconst { TemplatePath } = require(\"@11ty/eleventy-utils\");\n@@ -106,6 +105,9 @@ class TemplateEngine ... | JavaScript | MIT License | 11ty/eleventy | Trying to opt-out of fast-glob for direct render usage on bundler |
699 | 01.04.2022 17:32:01 | 18,000 | c146407ff90c53333ca56dfbde9f0b5e57f41557 | Remove nunjucks monkey patch env opt-in | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -6,121 +6,6 @@ const EleventyErrorUtil = require(\"../EleventyErrorUtil\");\nconst EleventyBaseError = require(\"../EleventyBaseError\");\nconst eventBus = require(\"../EventBus\");\n... | JavaScript | MIT License | 11ty/eleventy | Remove nunjucks monkey patch env opt-in |
699 | 01.04.2022 17:33:09 | 18,000 | a6aac1985b0afe257776393d33dfbfcf92a65843 | Reuse eleventy global on shortcodes | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -129,6 +129,7 @@ class Liquid extends TemplateEngine {\nlet obj = {};\nif (ctx) {\nobj.page = ctx.get([\"page\"]);\n+ obj.eleventy = ctx.get([\"eleventy\"]);\n}\nreturn obj;\n}\n"
},
... | JavaScript | MIT License | 11ty/eleventy | Reuse eleventy global on shortcodes |
699 | 01.04.2022 17:33:31 | 18,000 | 76f8ef278ee3f5672ff5f082c0b697a7dbedfa40 | Support for precompiled Nunjucks templates | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -14,12 +14,40 @@ class Nunjucks extends TemplateEngine {\nthis.nunjucksEnvironmentOptions =\nthis.config.nunjucksEnvironmentOptions || {};\n+ this.nunjucksPrecompiledTemplates =\n+ th... | JavaScript | MIT License | 11ty/eleventy | Support for precompiled Nunjucks templates |
699 | 01.04.2022 18:01:07 | 18,000 | 286bbc9755284bb5beb9ffac856a209fb2e24b21 | GetEmptyConfig function | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -333,3 +333,7 @@ function EleventyPlugin(eleventyConfig, options = {}) {\nmodule.exports = EleventyPlugin;\nmodule.exports.File = renderFile;\nmodule.exports.String = render;\... | JavaScript | MIT License | 11ty/eleventy | GetEmptyConfig function |
699 | 01.04.2022 19:56:55 | 18,000 | 81eefe36c768364f928615d5c88f47ca310d0acb | Pass in a templateConfig as a plugin option. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -16,6 +16,7 @@ async function render(\nif (!templateConfig) {\ntemplateConfig = new TemplateConfig(null, false);\n}\n+ // TODO should this run every time??? probably not?\nif ... | JavaScript | MIT License | 11ty/eleventy | Pass in a templateConfig as a plugin option. |
699 | 04.04.2022 17:49:59 | 18,000 | 2f5178471649731cc55bcfd63016c07a64dd725d | Event for Nunjucks environment | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -25,8 +25,10 @@ class Nunjucks extends TemplateEngine {\n}\n_setEnv(override) {\n+ if (override) {\n+ this.njkEnv = override;\n+ } else if (this._usingPrecompiled) {\n// Precompiled t... | JavaScript | MIT License | 11ty/eleventy | Event for Nunjucks environment |
699 | 04.04.2022 17:50:21 | 18,000 | d20a43ca8ea5b4685034511582e3d2cf560cef73 | Handle falsy values on RenderPlugin config (to allow partial opt-in) | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -16,6 +16,7 @@ async function render(\nif (!templateConfig) {\ntemplateConfig = new TemplateConfig(null, false);\n}\n+\n// TODO should this run every time??? probably not?\nif... | JavaScript | MIT License | 11ty/eleventy | Handle falsy values on RenderPlugin config (to allow partial opt-in) |
699 | 05.04.2022 13:25:42 | 18,000 | 24fffc5208f4fbdccd2c6a354e50ed5b3998e082 | Use RenderManager so that configs are passed around and re-used for free. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -11,7 +11,7 @@ const Liquid = require(\"../Engines/Liquid\");\nasync function render(\ncontent,\ntemplateLang,\n- { templateConfig, extensionMap, config } = {}\n+ { templateCo... | JavaScript | MIT License | 11ty/eleventy | Use RenderManager so that configs are passed around and re-used for free. |
699 | 07.04.2022 10:50:34 | 18,000 | 3c6a26580df228964e93110ccfa1893da38faf3b | Fixes bug with templateEngineOverride and page.templateSyntax | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -17,7 +17,7 @@ async function render(\ntemplateConfig = new TemplateConfig(null, false);\n}\n- // Breaking change in 2.0+, previous default was `html`\n+ // Breaking change in... | JavaScript | MIT License | 11ty/eleventy | Fixes bug with templateEngineOverride and page.templateSyntax |
699 | 07.04.2022 10:59:21 | 18,000 | a86c17c93cd31273d4496f4266d6344528a0b9ae | Make sure getEnginesList returns a string and not array | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateRender.js",
"new_path": "src/TemplateRender.js",
"diff": "@@ -177,7 +177,7 @@ class TemplateRender {\nif (engineOverride) {\nlet engines =\nTemplateRender.parseEngineOverrides(engineOverride).reverse();\n- return engines;\n+ return engines.join(\",... | JavaScript | MIT License | 11ty/eleventy | Make sure getEnginesList returns a string and not array |
699 | 12.04.2022 12:36:35 | 18,000 | f3cbf54bdd1f731e8ca40ec6db1bc2509551176e | Fix a test from moving to JavaScriptDependencies util | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyWatchTargetsTest.js",
"new_path": "test/EleventyWatchTargetsTest.js",
"diff": "const test = require(\"ava\");\nconst EleventyWatchTargets = require(\"../src/EleventyWatchTargets\");\n+const JavaScriptDependencies = require(\"../src/Util/JavaScript... | JavaScript | MIT License | 11ty/eleventy | Fix a test from moving to JavaScriptDependencies util |
699 | 13.04.2022 11:11:17 | 18,000 | dd99adc1ac13d09770d12fc5533821cf29f6a8bf | Tests to confirm is working okay | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -2292,3 +2292,44 @@ test(\"Permalink is an object but an empty object (inherit default behavior)\", as\n\"./test/stubs/_site/permalink-empty-object/empty-object/index.html\"\n);\n});\n+\n+t... | JavaScript | MIT License | 11ty/eleventy | Tests to confirm #1898 is working okay |
699 | 13.04.2022 17:54:07 | 18,000 | 49cceff6939611abbc80b15dec69b5f38c386af6 | Use new dev server canary | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@11ty/dependency-tree\": \"^2.0.1\",\n- \"@11ty/eleventy-dev-server\": \"^1.0.0-canary.7\",\n+ \"@11ty/eleventy-dev-server\": \"^1.0.0-canary.8\",\n\"@11ty/eleventy-utils\": \"^1.0.... | JavaScript | MIT License | 11ty/eleventy | Use new dev server canary |
699 | 14.04.2022 12:46:37 | 18,000 | 2b18aab4be68fa89959495327cb19da16401f66a | Switch to static functions for Eleventy version and help args. Fixes | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -62,6 +62,11 @@ try {\n);\n});\n+ if (argv.version) {\n+ console.log(Eleventy.getVersion());\n+ } else if (argv.help) {\n+ console.log(Eleventy.getHelp());\n+ } else {\nlet elev = new Eleventy(argv.input, argv.output,... | JavaScript | MIT License | 11ty/eleventy | Switch to static functions for Eleventy version and help args. Fixes #1313 |
699 | 14.04.2022 17:46:35 | 18,000 | a5c985d8b6f4b6ba70d502563f5387d1656a4ba2 | Copy update to debug output | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -942,7 +942,7 @@ Arguments:\n}\nstopWatch() {\n- debug(\"Cleaning up chokidar and browsersync (if exists) instances.\");\n+ debug(\"Cleaning up chokidar and server instances, if they exist.\");\nthis... | JavaScript | MIT License | 11ty/eleventy | Copy update to debug output |
699 | 15.04.2022 11:53:58 | 18,000 | b46e32723f26a0f69df3a1a3097b070e86b29095 | Improvements to aggregate benchmark logs via | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -173,6 +173,19 @@ class TemplateConfig {\nthis.config.pathPrefix = pathPrefix;\n}\n+ /**\n+ * Gets the current path prefix denoting the root folder the output will be deployed to\n+ *\n+ ... | JavaScript | MIT License | 11ty/eleventy | Improvements to aggregate benchmark logs via #2295 |
699 | 15.04.2022 12:43:44 | 18,000 | 089ab8f205a6b1ed790a45d1a234438649f91b74 | Adds `eleventy.version` and `eleventy.generator` to Eleventy supplied global data to fix | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "+const pkg = require(\"../package.json\");\nconst fs = require(\"fs\");\nconst fastglob = require(\"fast-glob\");\nconst path = require(\"path\");\nconst lodashset = require(\"lodash/set\");\nco... | JavaScript | MIT License | 11ty/eleventy | Adds `eleventy.version` and `eleventy.generator` to Eleventy supplied global data to fix #2293. |
699 | 15.04.2022 17:20:40 | 18,000 | f053bd2c3c96756c0e3361721a0fd5fcc5d0bccf | Note about npm canary | [
{
"change_type": "MODIFY",
"old_path": "docs/meta-release.md",
"new_path": "docs/meta-release.md",
"diff": "1. Tag new version\n1. `npm publish --access=public --tag=canary`\n+Unfortunate thing about npm: if you push a 1.0.0-canary.x to `canary` after a `2.0.0-canary.x`, it will use the last pushed ... | JavaScript | MIT License | 11ty/eleventy | Note about npm canary |
699 | 18.04.2022 14:59:16 | 18,000 | b50ffb95700e9473b25f960ff2ed083121c3c9a7 | Outdated instructions for 11ty-website | [
{
"change_type": "MODIFY",
"old_path": "docs/meta-release.md",
"new_path": "docs/meta-release.md",
"diff": "@@ -46,7 +46,6 @@ Unfortunate thing about npm: if you push a 1.0.0-canary.x to `canary` after a `2\n1. Check in a new `11ty-website` site with updated `package.json` version.\n1. Add version t... | JavaScript | MIT License | 11ty/eleventy | Outdated instructions for 11ty-website |
699 | 18.04.2022 23:21:27 | 18,000 | b707d8c8fe57225c0c93930e02c88041195438b2 | Initial commit for Eleventy Edge | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "+# Generated files\n+package/generated*\n+\n# Ignore installed npm modules\nnode_modules/\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/meta-release.md",
"new_path": "docs/meta-release.md",
... | JavaScript | MIT License | 11ty/eleventy | Initial commit for Eleventy Edge |
699 | 19.04.2022 08:09:56 | 18,000 | 5a2784de8ddab5c7c0baf086960d7d5972189bb8 | Idea for later | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/EdgePlugin.js",
"new_path": "src/Plugins/EdgePlugin.js",
"diff": "@@ -264,13 +264,13 @@ function EleventyEdgePlugin(eleventyConfig, opts = {}) {\npath.join(options.functionsDir, \"_generated/precompiled.js\"),\n`export default { ${content.join(\",\... | JavaScript | MIT License | 11ty/eleventy | Idea for later |
699 | 20.04.2022 16:44:13 | 18,000 | 4c5091037cef9e136f5e73a515026a688ba2ca0c | Minor tweak to generated app data file name | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/DefaultEdgeFunctionContent.js",
"new_path": "src/Plugins/DefaultEdgeFunctionContent.js",
"diff": "import { EleventyEdge } from \"eleventy:edge\";\n-import precompiled from \"./_generated/precompiled.js\";\n+import precompiledAppData from \"./_gener... | JavaScript | MIT License | 11ty/eleventy | Minor tweak to generated app data file name |
699 | 20.04.2022 17:39:31 | 18,000 | a2aba293c8c8c7a6ddcc2a2a2602ddc5b0f88530 | The serverless bundle module files were being created empty, which caused serverless runtime errors. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "@@ -147,8 +147,12 @@ class BundlerHelper {\n}\nwriteBundlerDependenciesFile(filename, deps = []) {\n- let modules = deps.map((name) => `require(\"${name}\")... | JavaScript | MIT License | 11ty/eleventy | The serverless bundle module files were being created empty, which caused serverless runtime errors. |
699 | 28.04.2022 11:32:12 | 18,000 | c513c8939314572c1c431d361415cbb91597cffa | Fix for using the Edge plugin in a template where permalink: false | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/EdgePlugin.js",
"new_path": "src/Plugins/EdgePlugin.js",
"diff": "@@ -166,13 +166,17 @@ function renderAsLiquid(\ncss: { comments: [\"/*\", \"*/\"] },\njs: { comments: [\"/*\", \"*/\"] },\n};\n+\nlet type = \"html\";\n+ // when permalink is false, ... | JavaScript | MIT License | 11ty/eleventy | Fix for using the Edge plugin in a template where permalink: false |
699 | 02.05.2022 17:03:23 | 18,000 | 331f730cfea863ed24697370ae474105ee28899b | chore: Move some testing code out of the class! | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -69,7 +69,6 @@ class Template extends TemplateContent {\nthis.isDryRun = false;\nthis.writeCount = 0;\nthis.skippedCount = 0;\n- this.wrapWithLayouts = true;\nthis.fileSlug = new TemplateFileSlug(\nt... | JavaScript | MIT License | 11ty/eleventy | chore: Move some testing code out of the class! |
699 | 02.05.2022 17:29:23 | 18,000 | 2940de8c2edc584de9e80c04382531a14b7cdb87 | Cleanup on Template render methods | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -460,30 +460,28 @@ class Template extends TemplateContent {\nreturn layout.render(tmplData, templateContent);\n}\n- // Used only by tests\n- async renderContent(str, data, bypassMarkdown) {\n+ async ... | JavaScript | MIT License | 11ty/eleventy | Cleanup on Template render methods |
699 | 03.05.2022 09:58:09 | 18,000 | c6b43f924ec02547bfe7229c1e4b78e1bd097cc8 | More test code removal from src | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -133,14 +133,6 @@ class Template extends TemplateContent {\nreturn this._layout;\n}\n- async _testGetLayoutChain() {\n- if (!this._layout) {\n- await this.getData();\n- }\n-\n- return this._layout._t... | JavaScript | MIT License | 11ty/eleventy | More test code removal from src |
699 | 03.05.2022 10:55:02 | 18,000 | 99a573c2e2af25ba9a24a8512a2ece4d019d09ad | Preferring an error instead of expensive duplicated getData calls. Test code versus real code paths cleanup | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -182,7 +182,7 @@ class Template extends TemplateContent {\nasync _getLink(data) {\nif (!data) {\n- data = await this.getData();\n+ throw new Error(\"data argument missing in Template->_getLink\");\n}... | JavaScript | MIT License | 11ty/eleventy | Preferring an error instead of expensive duplicated getData calls. Test code versus real code paths cleanup |
699 | 03.05.2022 15:07:15 | 18,000 | 22d59ad9697f510e2c39a832089bc3db4c72742e | Fixes Super important memory improvements to Pagination | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -56,8 +56,10 @@ class TemplateMap {\n}\nasync add(template) {\n- // getTemplateMapEntries is where the Template.getData is first generated\n- for (let map of await template.getTemplateMapEntrie... | JavaScript | MIT License | 11ty/eleventy | Fixes #2360. Super important memory improvements to Pagination |
699 | 04.05.2022 08:13:37 | 18,000 | eec1482df184ddf85f38904cb510f2791fc90f37 | [breaking] Bump Node minimum to 14. Fixes | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -8,7 +8,7 @@ jobs:\nstrategy:\nmatrix:\nos: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n- node: [\"12\", \"14\", \"16\"]\n+ node: [\"14\", \"16\", \"18\"]\nname: Node... | JavaScript | MIT License | 11ty/eleventy | [breaking] Bump Node minimum to 14. Fixes #2336 |
699 | 04.05.2022 08:16:17 | 18,000 | 3c49f22b31b10e5dae0daf661a54750875ae5d0f | bug: Liquid and Nunjucks needsCompilation checks expected string arguments. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateContent.js",
"new_path": "src/TemplateContent.js",
"diff": "@@ -357,7 +357,7 @@ class TemplateContent {\nreturn permalink;\n}\n- /* Usage:\n+ /* Custom `compile` function for permalinks, usage:\npermalink: function(permalinkString, inputPath) {\nre... | JavaScript | MIT License | 11ty/eleventy | bug: Liquid and Nunjucks needsCompilation checks expected string arguments. |
699 | 04.05.2022 09:38:45 | 18,000 | 11176b95d883d87166ea8cdb881df3e7355a5f29 | Re-use output locations from pagination (if they exist) | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -296,6 +296,7 @@ class Template extends TemplateContent {\n// TODO instead of htmlIOException, do a global search to check if output path = input path and then add extra suffix\nasync getOutputLocati... | JavaScript | MIT License | 11ty/eleventy | Re-use output locations from pagination (if they exist) |
699 | 04.05.2022 16:49:14 | 18,000 | ceb5e70e7a90862da621ae9e05cc4f5c33057c94 | Huge memory wins by using a proxy for pagination data, rather than a deep copy for each page. specifically the data set linked up here | [
{
"change_type": "MODIFY",
"old_path": "src/Util/Merge.js",
"new_path": "src/Util/Merge.js",
"diff": "const { isPlainObject } = require(\"@11ty/eleventy-utils\");\nconst OVERRIDE_PREFIX = \"override:\";\n-function getMergedItem(target, source, parentKey) {\n- // if key is prefixed with OVERRIDE_PREF... | JavaScript | MIT License | 11ty/eleventy | Huge memory wins by using a proxy for pagination data, rather than a deep copy for each page. #2360 specifically the @signpostmarv data set linked up here https://github.com/11ty/eleventy/issues/2360#issuecomment-1117043607 |
699 | 06.05.2022 12:15:11 | 18,000 | 0bb2deb4de7baf707d3c9001ca5c9bc989c23587 | Get rid of hoisting code (no longer necessary) | [
{
"change_type": "MODIFY",
"old_path": "src/ComputedData.js",
"new_path": "src/ComputedData.js",
"diff": "@@ -15,7 +15,6 @@ class ComputedData {\nthis.computedKeys = new Set();\nthis.declaredDependencies = {};\nthis.queue = new ComputedDataQueue();\n- this.usesLog = {};\nthis.config = config;\n}\n@@... | JavaScript | MIT License | 11ty/eleventy | Get rid of hoisting code (no longer necessary) |
699 | 06.05.2022 12:21:01 | 18,000 | bc1e7ad819ef4c1b9625d883d3ad4c08b3e76f17 | Slightly better error messages on serverless errors | [
{
"change_type": "MODIFY",
"old_path": "src/Serverless.js",
"new_path": "src/Serverless.js",
"diff": "@@ -221,9 +221,12 @@ class Serverless {\n// TODO (@zachleat) https://github.com/11ty/eleventy/issues/1957\nthis.deleteEnvironmentVariables();\n- let filtered = json.filter((entry) => {\n+ let filter... | JavaScript | MIT License | 11ty/eleventy | Slightly better error messages on serverless errors |
699 | 06.05.2022 12:53:01 | 18,000 | f64fd8b0c161f4b2b8df58f3aacc6b4bb66255fe | Test for Handlebars partial with parameter | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderHandlebarsTest.js",
"new_path": "test/TemplateRenderHandlebarsTest.js",
"diff": "@@ -77,6 +77,14 @@ test(\"Handlebars Render Partial with variable\", async (t) => {\nt.is(await fn({ name: \"Zach\" }), \"<p>This is a Zach.</p>\");\n});\n+test... | JavaScript | MIT License | 11ty/eleventy | Test for Handlebars partial with parameter |
699 | 06.05.2022 13:08:02 | 18,000 | f050e53c3657be6af74d411e81b790c75b142d5b | Fix for "TypeError: 'getOwnPropertyDescriptor' on proxy: trap returned descriptor for property '___' that is incompatible with the existing property in the proxy target" | [
{
"change_type": "MODIFY",
"old_path": "src/Util/ProxyWrap.js",
"new_path": "src/Util/ProxyWrap.js",
"diff": "@@ -6,19 +6,9 @@ function wrapObject(target, fallback) {\ngetOwnPropertyDescriptor(target, prop) {\n// console.log( \"handler:getOwnPropertyDescriptor\", prop );\nif (prop in target) {\n- re... | JavaScript | MIT License | 11ty/eleventy | Fix for "TypeError: 'getOwnPropertyDescriptor' on proxy: trap returned descriptor for property '___' that is incompatible with the existing property in the proxy target" |
681 | 07.05.2022 11:48:06 | -19,080 | d252d8c62fcb34b24524603d5327d41b46d1299a | chore: Replace deprecated String.prototype.substr() with String.prototype.slice()
Replace deprecated String.prototype.substr() with String.prototype.slice() | [
{
"change_type": "MODIFY",
"old_path": "src/ComputedDataTemplateString.js",
"new_path": "src/ComputedDataTemplateString.js",
"diff": "@@ -38,7 +38,10 @@ class ComputedDataTemplateString {\nlet vars = new Set();\nlet splits = output.split(this.prefix);\nfor (let split of splits) {\n- let varName = sp... | JavaScript | MIT License | 11ty/eleventy | chore: Replace deprecated String.prototype.substr() with String.prototype.slice()
Replace deprecated String.prototype.substr() with String.prototype.slice() |
699 | 09.05.2022 15:39:02 | 18,000 | 0aa204c1fd4022a9d1a91f02533c00c5f936d9ca | Test for Fails with the code before was merged and passes after it was added | [
{
"change_type": "MODIFY",
"old_path": "test/EleventyTest.js",
"new_path": "test/EleventyTest.js",
"diff": "@@ -3,6 +3,7 @@ const Eleventy = require(\"../src/Eleventy\");\nconst EleventyWatchTargets = require(\"../src/EleventyWatchTargets\");\nconst TemplateConfig = require(\"../src/TemplateConfig\"... | JavaScript | MIT License | 11ty/eleventy | Test for #2348. Fails with the code before #2367 was merged and passes after it was added |
699 | 10.05.2022 10:47:57 | 18,000 | 02b8459681b9d29ee9ab28191f381b87764fd8a9 | Super small tweaks to | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateDataTest.js",
"new_path": "test/TemplateDataTest.js",
"diff": "@@ -474,13 +474,11 @@ test(\"Dots in datafile path (Issue #1242)\", async (t) => {\nlet data = await dataObj.getData();\n- t.deepEqual(data, {\n- \"xyz.dottest\": {\n+ t.deepEqual(data... | JavaScript | MIT License | 11ty/eleventy | Super small tweaks to #1912. |
699 | 10.05.2022 11:07:33 | 18,000 | d445975fc993048ce83a9ad210a7a2400a8ea3cc | Found a dependency that was a devDependency | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"markdown-it-emoji\": \"^2.0.2\",\n\"marked\": \"^4.0.15\",\n\"nyc\": \"^15.1.0\",\n+ \"pretty\": \"^2.0.0\",\n\"prettier\": \"^2.6.2\",\n\"rimraf\": \"^3.0.2\",\n\"sass\": \"^1.51.0\",\n\"nunjucks\": \"^3.2... | JavaScript | MIT License | 11ty/eleventy | Found a dependency that was a devDependency |
699 | 10.05.2022 11:53:55 | 18,000 | 1ac289a0a3918161919a23f6b1349ff27fbfd877 | Additional tests and cleanup for | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -985,6 +985,7 @@ class Template extends TemplateContent {\n} else {\nlet filepathRegex = this.inputPath.match(/(\\d{4}-\\d{2}-\\d{2})/);\nif (filepathRegex !== null) {\n+ // if multiple are found in ... | JavaScript | MIT License | 11ty/eleventy | Additional tests and cleanup for #2111 |
699 | 10.05.2022 12:32:17 | 18,000 | 4599c11383c9b9f47008b5f7036ed82f1a9d5384 | debug() level warning for | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -6,7 +6,7 @@ const lodashset = require(\"lodash/set\");\nconst lodashget = require(\"lodash/get\");\nconst lodashUniq = require(\"lodash/uniq\");\nconst semver = require(\"semver\");\n-const ... | JavaScript | MIT License | 11ty/eleventy | debug() level warning for #1691 |
699 | 11.05.2022 10:04:23 | 18,000 | 73c1ec199e68449f77730d712a42439f479abd9b | A different preference for the options arg to | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -754,7 +754,20 @@ class UserConfig {\n);\n}\n- addDataExtension(extensionList, parser, options = {}) {\n+ addDataExtension(extensionList, parser) {\n+ let options = {};\n+ // second argument is a... | JavaScript | MIT License | 11ty/eleventy | A different preference for the options arg to #2378 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.