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
26.11.2019 08:24:09
21,600
16a7bc45e3989afc6a549bb655c83a9578a7e3bd
Updates ava version
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.3\",\n- \"ava\": \"^2.2.0\",\n+ \"ava\": \"^2.4.0\",\n\"ink-docstrap\": \"1.3.2\",\n\"jsdoc\": \"3.6.2\",\n\"lint-staged\": \"^9.2...
JavaScript
MIT License
11ty/eleventy
Updates ava version
699
27.11.2019 08:19:58
21,600
a3b4433af8c8eccf1027e6c66c7c316280727c9c
When you watch a dir it needs to be a glob, for
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -73,7 +73,7 @@ class Eleventy {\n/** @member {Object} - tbd. */\nthis.watchTargets = new EleventyWatchTargets();\n- this.watchTargets.add(this.config.additionalWatchTargets);\n+ this.watchTargets.add...
JavaScript
MIT License
11ty/eleventy
When you watch a dir it needs to be a glob, for #641
699
27.11.2019 22:52:24
21,600
dbb6c93645d1926dcc70933180fe0da3953b2c05
Adds warning for lack of support for ! in .gitignore and .eleventyignore. Future support TBD at
[ { "change_type": "MODIFY", "old_path": "src/EleventyFiles.js", "new_path": "src/EleventyFiles.js", "diff": "@@ -182,6 +182,16 @@ class EleventyFiles {\nreturn line.trim();\n})\n.filter(line => {\n+ if (line.charAt(0) === \"!\") {\n+ debug(\n+ \">>> When processing .gitignore/.eleventyignore, Elevent...
JavaScript
MIT License
11ty/eleventy
Adds warning for lack of support for ! in .gitignore and .eleventyignore. Future support TBD at #693.
699
27.11.2019 22:52:56
21,600
e40fb33031831bf6438029195c19354ce6e6639e
Oops, the .gitignore and .eleventyignore files were being processed twice!
[ { "change_type": "MODIFY", "old_path": "src/EleventyFiles.js", "new_path": "src/EleventyFiles.js", "diff": "@@ -221,29 +221,28 @@ class EleventyFiles {\ngetIgnores() {\nlet files = [];\n+ let rootDirectory = this.localPathRoot || TemplatePath.getWorkingDir();\n+ let absoluteInputDir = TemplatePath.a...
JavaScript
MIT License
11ty/eleventy
Oops, the .gitignore and .eleventyignore files were being processed twice!
699
29.11.2019 13:54:30
21,600
7fe644d9a78605853c31d24299f6a880168f2d8f
Fix sortable issue surfaced by in
[ { "change_type": "MODIFY", "old_path": "src/Util/Sortable.js", "new_path": "src/Util/Sortable.js", "diff": "@@ -2,8 +2,8 @@ const capitalize = require(\"./Capitalize\");\nclass Sortable {\nconstructor() {\n- this.sortAscending = true;\n- this.sortNumeric = false;\n+ this.isSortAscending = true;\n+ t...
JavaScript
MIT License
11ty/eleventy
Fix sortable issue surfaced by @edbrannin in #747
699
30.11.2019 19:36:18
21,600
e62ebfa7726de9c48736430af1c8e9324daf4702
Show pathPrefix on the command line when in use.
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -233,15 +233,21 @@ class Eleventy {\n}`\n);\n+ let versionStr = `v${pkg.version}`;\nlet time = ((new Date() - this.start) / 1000).toFixed(2);\nret.push(`in ${time} ${simplePlural(time, \"second\", \"...
JavaScript
MIT License
11ty/eleventy
Show pathPrefix on the command line when in use.
699
08.12.2019 20:01:46
21,600
4247c4ca1f29aaf0e9f97205989c9f23dd8c4b98
Update dependencies in preparation for 0.10.0-beta.1
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "#!/usr/bin/env node\nconst pkg = require(\"./package.json\");\n-const chalk = require(\"chalk\"); // node 4+\n+const chalk = require(\"chalk\"); // node 8+\nrequire(\"please-upgrade-node\")(pkg, {\nmessage: function(requ...
JavaScript
MIT License
11ty/eleventy
Update dependencies in preparation for 0.10.0-beta.1
701
13.12.2019 01:07:45
-7,200
19b97ff93765e3c48d0b572c1acd6fc8e59d5197
Add global data extension priority and merge data objects with the same base filename according to data file extension priority
[ { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", "diff": "@@ -2,6 +2,7 @@ const fs = require(\"fs-extra\");\nconst fastglob = require(\"fast-glob\");\nconst parsePath = require(\"parse-filepath\");\nconst lodashset = require(\"lodash/set\");\n+const lo...
JavaScript
MIT License
11ty/eleventy
Add global data extension priority and merge data objects with the same base filename according to data file extension priority
701
13.12.2019 01:11:48
-7,200
c5966f8b5143ca681fa5b69044a3cfc308720bf6
add tests for new global data priority and merging
[ { "change_type": "MODIFY", "old_path": "test/UserDataExtensionsTest.js", "new_path": "test/UserDataExtensionsTest.js", "diff": "@@ -70,7 +70,6 @@ test(\"Global data\", async t => {\n\"./test/stubs-630/_data/**/*.(nosj|yaml|json|js)\"\n]);\n- let dataFilePaths = await dataObj.getGlobalDataFiles();\nl...
JavaScript
MIT License
11ty/eleventy
add tests for new global data priority and merging
716
13.12.2019 08:55:09
-7,200
a689764ca1a5db2146c75f360fcbec67a26808a3
Update test to check that changes made by a plugin surface in the final markdown
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderMarkdownPluginTest.js", "new_path": "test/TemplateRenderMarkdownPluginTest.js", "diff": "@@ -6,6 +6,8 @@ const createTestMarkdownPlugin = () => {\nconst plugin = md => {\nmd.core.ruler.after(\"inline\", \"replace-link\", function(state) {\np...
JavaScript
MIT License
11ty/eleventy
Update test to check that changes made by a plugin surface in the final markdown (cherry picked from commit 7424813eec7731ca8530f343416245de01d4a425)
699
18.12.2019 08:20:37
21,600
dd22c086cfb1f4aa628b01c47805d32c5303dd67
Adds publishConfig and funding to package.json
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"name\": \"@11ty/eleventy\",\n\"version\": \"0.10.0-beta.1\",\n\"description\": \"Transform a directory of templates into HTML.\",\n+ \"publishConfig\": {\n+ \"access\": \"public\"\n+ },\n\"main\": \"src/Ele...
JavaScript
MIT License
11ty/eleventy
Adds publishConfig and funding to package.json
699
18.12.2019 08:20:56
21,600
0d18f4d1ca4c0587c1ebba298a9603ca11429243
Adds `getFilter` to config API for plugins
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -195,6 +195,15 @@ class UserConfig {\nthis.addHandlebarsHelper(name, callback);\n}\n+ getFilter(name) {\n+ return (\n+ this.javascriptFunctions[name] ||\n+ this.nunjucksFilters[name] ||\n+ this.l...
JavaScript
MIT License
11ty/eleventy
Adds `getFilter` to config API for plugins
699
18.12.2019 10:30:21
21,600
727607c0325bcceaba6dabc7a958663d40a25e49
Adds --quiet=false support for
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -41,6 +41,12 @@ class Eleventy {\n*/\nthis.isVerbose = process.env.DEBUG ? false : !this.config.quietMode;\n+ /**\n+ * @member {Boolean} - Was verbose mode overrode manually?\n+ * @default false\n+ *...
JavaScript
MIT License
11ty/eleventy
Adds --quiet=false support for #808.
699
29.12.2019 14:00:03
21,600
89b2f19c2bf4d17db465c8e48457b4565b1efba5
Tests for async filters in Liquid and Nunjucks
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderLiquidTest.js", "new_path": "test/TemplateRenderLiquidTest.js", "diff": "@@ -139,6 +139,21 @@ test(\"Liquid Custom Filter\", async t => {\nt.is(await tr._testRender(\"{{ 'test' | prefixWithZach }}\", {}), \"Zachtest\");\n});\n+test.skip(\"Li...
JavaScript
MIT License
11ty/eleventy
Tests for async filters in Liquid and Nunjucks
699
29.12.2019 14:00:19
21,600
ab7f0dcba7692ae377b9bbb73ab8394299ad33c4
Add bugs and homepage to package.json
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"type\": \"git\",\n\"url\": \"git://github.com/11ty/eleventy.git\"\n},\n+ \"bugs\": \"https://github.com/11ty/eleventy/issues\",\n+ \"homepage\": \"https://www.11ty.dev/\",\n\"ava\": {\n\"files\": [\n\"./tes...
JavaScript
MIT License
11ty/eleventy
Add bugs and homepage to package.json
699
04.01.2020 13:49:19
21,600
241a0388b7adedc554f43f72cdf45c8d3b660fe1
Fix tests that broke with syntaxhighlight major version upgrade 2.0 to 3.0
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderMarkdownTest.js", "new_path": "test/TemplateRenderMarkdownTest.js", "diff": "@@ -171,7 +171,7 @@ var key = \"value\";\n\\`\\`\\``);\nt.is(\n(await fn()).trim(),\n- `<pre class=\"language-js\"><code class=\"language-js\"><span class=\"highlig...
JavaScript
MIT License
11ty/eleventy
Fix tests that broke with syntaxhighlight major version upgrade 2.0 to 3.0
699
04.01.2020 14:02:29
21,600
4ea61135ab5e7eb3b658a8a8240e3fb5c0c90d72
Coverage for 0.10.0-beta.2
[ { "change_type": "MODIFY", "old_path": "docs-src/_data/coverage.json", "new_path": "docs-src/_data/coverage.json", "diff": "-{\"total\": {\"lines\":{\"total\":2919,\"covered\":2564,\"skipped\":0,\"pct\":87.84},\"statements\":{\"total\":2936,\"covered\":2581,\"skipped\":0,\"pct\":87.91},\"functions\"...
JavaScript
MIT License
11ty/eleventy
Coverage for 0.10.0-beta.2
701
10.01.2020 14:52:42
-7,200
a6067d518e4c4124129b2435f5671ba8d21e6147
adds new tests for cjs data extension in TemplateDataTest and fixes a lot of checks of data files listings in old tests
[ { "change_type": "MODIFY", "old_path": "test/EleventyFilesTest.js", "new_path": "test/EleventyFilesTest.js", "diff": "@@ -558,6 +558,7 @@ test(\"Glob Watcher Files with Config Passthroughs (no template formats)\", async\nt.deepEqual(await evf.getGlobWatcherTemplateDataFiles(), [\n\"./test/stubs/**/*...
JavaScript
MIT License
11ty/eleventy
adds new tests for cjs data extension in TemplateDataTest and fixes a lot of checks of data files listings in old tests
699
17.01.2020 17:07:37
21,600
f3d90f97b40158946ed81ecffeefd3ece7cc8e8a
Match the test to the workaround in
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -246,15 +246,15 @@ test(\"Nunjucks Render with getGlobals Issue #567\", async t => {\nt.is(await fn({ \"my-global-name\": \"Zach\" }), \"<p>Zach</p>\");\n});\n-t...
JavaScript
MIT License
11ty/eleventy
Match the test to the workaround in #567
699
22.01.2020 22:43:39
21,600
76fbae68f5f03af71698cf276fc5695442728496
js-yaml should be a devDependency not a dep
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@ava/babel\": \"^1.0.0\",\n\"ava\": \"^3.0.0\",\n\"ink-docstrap\": \"1.3.2\",\n+ \"js-yaml\": \"^3.13.1\",\n\"jsdoc\": \"3.6.3\",\n\"lint-staged\": \"^9.5.0\",\n\"markdown-it-emoji\": \"^1.4.0\",\n\"toml\":...
JavaScript
MIT License
11ty/eleventy
js-yaml should be a devDependency not a dep
699
22.01.2020 22:44:08
21,600
4d4e827cae4bf6d556a5e0e1820e89f9a7b38428
Adds times called to benchmarking
[ { "change_type": "MODIFY", "old_path": "src/Benchmark.js", "new_path": "src/Benchmark.js", "diff": "@@ -5,10 +5,12 @@ class Benchmark {\nreset() {\nthis.timeSpent = 0;\n+ this.timesCalled = 0;\nthis.beforeDates = [];\n}\nbefore() {\n+ this.timesCalled++;\nthis.beforeDates.push(new Date());\n}\n@@ -2...
JavaScript
MIT License
11ty/eleventy
Adds times called to benchmarking
699
22.01.2020 22:44:38
21,600
556f2d83196a3845e34b1d7f23c6cef2365f0e66
Ava 3.0 update to one test
[ { "change_type": "MODIFY", "old_path": "test/EleventyErrorUtilTest.js", "new_path": "test/EleventyErrorUtilTest.js", "diff": "@@ -22,18 +22,15 @@ test(\"cleanMessage()\", t => {\n});\ntest(\"deconvertErrorToObject() should throw on invalid inputs\", t => {\n- t.throws(\n- () => deconvertErrorToObjec...
JavaScript
MIT License
11ty/eleventy
Ava 3.0 update to one test
699
24.01.2020 13:15:54
21,600
b3adaabc5c1de0bcf59f00d2957483b2ec6aac4b
Slow move to async from sync directory checks
[ { "change_type": "MODIFY", "old_path": "src/EleventyExtensionMap.js", "new_path": "src/EleventyExtensionMap.js", "diff": "@@ -54,7 +54,7 @@ class EleventyExtensionMap {\n}\n_getGlobs(formatKeys, inputDir) {\n- let dir = TemplatePath.convertToRecursiveGlob(inputDir);\n+ let dir = TemplatePath.convert...
JavaScript
MIT License
11ty/eleventy
Slow move to async from sync directory checks
699
11.02.2020 09:34:05
21,600
ec4535dd4d623f8debfe41380fa55aad09b89b95
Adds new docs issue template
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/ISSUE_TEMPLATE/documentation.md", "diff": "+---\n+name: The documentation needs improvement\n+about: A thing that Eleventy does needs to be documented better or is currently documented incorrectly!\n+title: \"\"\n+labels: documentation\n...
JavaScript
MIT License
11ty/eleventy
Adds new docs issue template
699
11.02.2020 09:35:02
21,600
e707dbcb98df9f328039f14f375323209537b69d
Missing deletes
[ { "change_type": "DELETE", "old_path": ".github/ISSUE_TEMPLATE/i-want-eleventy-do-to-this-new-thing.md", "new_path": null, "diff": "----\n-name: I want Eleventy do to this new thing\n-about: Suggest an idea for this project\n-title: \"\"\n-labels: enhancement\n-assignees: \"\"\n----\n-\n-**Is your f...
JavaScript
MIT License
11ty/eleventy
Missing deletes
699
11.02.2020 09:53:53
21,600
fb10b66ec83658f2835e62f95e14c3258b301afc
Copy improvements to issue templates
[ { "change_type": "MODIFY", "old_path": ".github/ISSUE_TEMPLATE/documentation.md", "new_path": ".github/ISSUE_TEMPLATE/documentation.md", "diff": "---\n-name: The documentation needs improvement\n+name: Documentation!\nabout: A thing that Eleventy does needs to be documented better or is currently do...
JavaScript
MIT License
11ty/eleventy
Copy improvements to issue templates
701
02.02.2020 12:24:05
-7,200
94aa574f650a9095cbf516c2ddc23d805b0b5e0e
merge with upstream master
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"bugs\": \"https://github.com/11ty/eleventy/issues\",\n\"homepage\": \"https://www.11ty.dev/\",\n\"ava\": {\n+ \"babel\": true,\n+ \"failFast\": true,\n\"files\": [\n\"./test/*.js\"\n],\n- \"sources\": [\n- ...
JavaScript
MIT License
11ty/eleventy
merge with upstream master
701
11.02.2020 16:02:15
-7,200
52414b8d9e6cdb65ff765e09f761a48e7193d205
bump ava/babel version
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.0.1\",\n- \"@ava/babel\": \"^1.0.0\",\n+ \"@ava/babel\": \"^1.0.1\",\n\"ava\": \"^3.0.0\",\n\"ink-docstrap\": \"1.3.2\",\n\"js-yaml\...
JavaScript
MIT License
11ty/eleventy
bump ava/babel version
701
12.02.2020 01:14:15
-7,200
90e5a07bab90c68a53a75aeb1e9c3c8cc7008875
tests for cjs order in global data files resolution
[ { "change_type": "MODIFY", "old_path": "test/TemplateDataTest.js", "new_path": "test/TemplateDataTest.js", "diff": "@@ -179,7 +179,7 @@ test(\"getAllGlobalData() with common js function data file\", async t => {\n);\nt.truthy(data.globalDataFnCJS);\n- t.is(data.globalDataFnCJS.datakeyfromcjsfn, \"co...
JavaScript
MIT License
11ty/eleventy
tests for cjs order in global data files resolution
699
11.02.2020 21:21:05
21,600
46059ddb59a4ad17cdecdcadd2133b43e331a35a
Adds 3 new filters: log, getPreviousCollectionItem, getNextCollectionItem.
[ { "change_type": "MODIFY", "old_path": "config.js", "new_path": "config.js", "diff": "const urlFilter = require(\"./src/Filters/Url\");\nconst slugFilter = require(\"./src/Filters/Slug\");\n+const getCollectionItem = require(\"./src/Filters/GetCollectionItem\");\nmodule.exports = function(config) {\...
JavaScript
MIT License
11ty/eleventy
Adds 3 new filters: log, getPreviousCollectionItem, getNextCollectionItem.
699
11.02.2020 21:34:44
21,600
3cdbaa4ee9c4a9945e4f5e37cafc31676b75987f
Adds getNextCollectionItem and getPreviousCollectionItem filters and tests.
[ { "change_type": "MODIFY", "old_path": "config.js", "new_path": "config.js", "diff": "@@ -6,8 +6,12 @@ module.exports = function(config) {\nconfig.addFilter(\"slug\", slugFilter);\nconfig.addFilter(\"url\", urlFilter);\nconfig.addFilter(\"log\", console.log);\n- config.addLiquidFilter(\"getPreviousC...
JavaScript
MIT License
11ty/eleventy
Adds getNextCollectionItem and getPreviousCollectionItem filters and tests.
699
11.02.2020 22:09:11
21,600
d5be63fdbc8c4310e4baaaecd5641e66d2be4b48
Make sure Nunjucks `set = ` works with filters.
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -156,6 +156,20 @@ test(\"Nunjucks Async Filter\", async t => {\nt.is((await fn()).trim(), \"HItest\");\n});\n+test(\"Nunjucks Render set with a filter\", async t...
JavaScript
MIT License
11ty/eleventy
Make sure Nunjucks `set = ` works with filters.
699
12.02.2020 07:52:32
21,600
f1440046f3ae0c378a79c398541b97258c03bce4
Trying out husky again.
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.0.1\",\n\"@ava/babel\": \"^1.0.0\",\n\"ava\": \"^3.0.0\",\n+ \"husky\": \"^4.2.2\",\n\"ink-docstrap\": \"1.3.2\",\n\"js-yaml\": \"^3.13.1\",\n\"jsdoc\": \"3.6.3...
JavaScript
MIT License
11ty/eleventy
Trying out husky again.
699
12.02.2020 22:12:22
21,600
37ff4895403494edcffec97760449090f5a2e8db
Duplicated code path
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -535,18 +535,12 @@ class Template extends TemplateContent {\nthis.config\n);\ncontent = await layout.render(page.data, page.templateContent);\n- await this.runLinters(content, page.inputPath, page.ou...
JavaScript
MIT License
11ty/eleventy
Duplicated code path
699
14.02.2020 10:27:02
21,600
63ac0bb637783c6d39fc23db991049fdba42a1bf
Adds skipped test for
[ { "change_type": "MODIFY", "old_path": "src/Engines/JavaScript.js", "new_path": "src/Engines/JavaScript.js", "diff": "@@ -34,12 +34,18 @@ class JavaScript extends TemplateEngine {\nmod.prototype &&\n(\"data\" in mod.prototype || \"render\" in mod.prototype)\n) {\n+ // render function is optional\nif...
JavaScript
MIT License
11ty/eleventy
Adds skipped test for #934
699
14.02.2020 16:12:05
21,600
7a5dad7199d21e97bfb70453794d021ccaa8a787
Code cleanup (duplicate code paths)
[ { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", "diff": "@@ -384,6 +384,20 @@ class TemplateData {\npaths.push(curpath + \".\" + extension);\n}\n}\n+ _addBaseToPaths(paths, base, extensions) {\n+ let dataSuffix = this.config.jsDataFileSuffix;\n+\n+ //...
JavaScript
MIT License
11ty/eleventy
Code cleanup (duplicate code paths)
699
16.02.2020 13:35:03
21,600
5f57ce0b597c27b765cd05b5e70ef3f774ab3739
Look into cjs files to find watch target dependencies
[ { "change_type": "MODIFY", "old_path": "src/EleventyWatchTargets.js", "new_path": "src/EleventyWatchTargets.js", "diff": "@@ -90,7 +90,7 @@ class EleventyWatchTargets {\ngetJavaScriptDependenciesFromList(files = []) {\nlet depSet = new Set();\nfiles\n- .filter(file => file.endsWith(\".js\")) // TODO...
JavaScript
MIT License
11ty/eleventy
Look into cjs files to find watch target dependencies
699
16.02.2020 13:47:04
21,600
cde29307ef06722e5708e373f9ba6b38c11db018
Uncomment test for
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -1942,19 +1942,20 @@ test(\"global variable with dashes Issue #567 (liquid)\", async t => {\nt.is(pages[0].templateContent.trim(), \"Yes\");\n});\n-// test(\"Issue #446: Layout has a permal...
JavaScript
MIT License
11ty/eleventy
Uncomment test for #446
699
20.02.2020 23:22:12
21,600
9c13e4d0fe24efa0fdd8ba9d0d39437b427609d3
A few more tests for
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -2033,6 +2033,28 @@ test(\"eleventyComputed\", async t => {\nt.is((await tmpl.render(data)).trim(), \"hi:value2-value1.css\");\n});\n+test(\"eleventyComputed overrides existing value.\", as...
JavaScript
MIT License
11ty/eleventy
A few more tests for #481
672
23.02.2020 14:30:51
-3,600
0d65518f4329bb29fec4b7c0860a2e05add5c8dc
Correct verb conjugation mistake in comment The past participle of the verb "override" is "overridden", not "overrode". We say: "foo overrode bar", but "bar was overriden by foo".
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -42,7 +42,7 @@ class Eleventy {\nthis.isVerbose = process.env.DEBUG ? false : !this.config.quietMode;\n/**\n- * @member {Boolean} - Was verbose mode overrode manually?\n+ * @member {Boolean} - Was ve...
JavaScript
MIT License
11ty/eleventy
Correct verb conjugation mistake in comment The past participle of the verb "override" is "overridden", not "overrode". We say: "foo overrode bar", but "bar was overriden by foo". https://www.theconjugator.com/english/verb/to+override.html
699
23.02.2020 21:51:39
21,600
72c2e74e7760c383493ea1cf08d7a324d0a5b5bf
Even more tests for
[ { "change_type": "MODIFY", "old_path": "test/ComputedDataTest.js", "new_path": "test/ComputedDataTest.js", "diff": "@@ -121,3 +121,61 @@ test(\"use a computed value in another computed (out of order), async callbacks\",\nt.is(data.keyComputed2nd, \"using computed this is a test inject me\");\n});\n+...
JavaScript
MIT License
11ty/eleventy
Even more tests for #481
672
26.02.2020 16:49:02
-3,600
cfcf54b86a87b9bdde39f46430145392424d467b
Inverse boolean logic to avoid empty statement I'm not sure what's the benefit of having a condition leading to an empty statement ? You may have a good reason that I have missed though.
[ { "change_type": "MODIFY", "old_path": "src/Engines/Ejs.js", "new_path": "src/Engines/Ejs.js", "diff": "@@ -40,9 +40,8 @@ class Ejs extends TemplateEngine {\nasync compile(str, inputPath) {\nlet options = this.getEjsOptions();\n- if (!inputPath || inputPath === \"ejs\" || inputPath === \"md\") {\n- ...
JavaScript
MIT License
11ty/eleventy
Inverse boolean logic to avoid empty statement I'm not sure what's the benefit of having a condition leading to an empty statement ? You may have a good reason that I have missed though.
699
28.02.2020 08:43:26
21,600
a7b89458a2e5ba03c6855701be41acabe9151009
Make dependency graph test file
[ { "change_type": "MODIFY", "old_path": "test/TemplateMapTest.js", "new_path": "test/TemplateMapTest.js", "diff": "@@ -749,28 +749,6 @@ test(\"Dependency Map should have include orphan user config collections (in the\nt.is(collections.userCollection.length, 2);\n});\n-test(\"Dependency graph assumpti...
JavaScript
MIT License
11ty/eleventy
Make dependency graph test file
699
28.02.2020 23:07:27
21,600
8ad24ab96f80802c39f28921f938a8a6c943e05a
Tweaks to computed data that allow primitives to be used. No console.logs in first pass for dependency graph creation
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -391,6 +391,8 @@ class Template extends TemplateContent {\n},\ndeclaredDependencies\n);\n+ } else {\n+ computedData.add(parentKey, obj, declaredDependencies);\n}\n}\n" } ]
JavaScript
MIT License
11ty/eleventy
#481 Tweaks to computed data that allow primitives to be used. No console.logs in first pass for dependency graph creation
672
03.03.2020 16:00:05
-3,600
f65e2c96f1691ec3456ab96c0a856a5d924343c8
Add getTemplateData caching test
[ { "change_type": "MODIFY", "old_path": "test/EleventyFilesTest.js", "new_path": "test/EleventyFilesTest.js", "diff": "@@ -383,6 +383,14 @@ test(\"Get ignores (both .eleventyignore and .gitignore exists, but .gitignore ha\n});\n/* End .eleventyignore and .gitignore combos */\n+test(\"getTemplateData ...
JavaScript
MIT License
11ty/eleventy
Add getTemplateData caching test
672
05.03.2020 16:50:52
-3,600
05204918fa04ff0fe2339f0dd92afaf40c162af6
Use getter/setter for getTemplateData
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -277,7 +277,7 @@ class Eleventy {\nthis.eleventyFiles.init();\nthis.templateData = new TemplateData(this.inputDir);\n- this.eleventyFiles.setTemplateData(this.templateData);\n+ this.eleventyFiles.tem...
JavaScript
MIT License
11ty/eleventy
Use getter/setter for getTemplateData
699
05.03.2020 14:56:29
21,600
b82341721a3e7128dfd9d520064f3aee6ba08fb0
Just in time config includes to allow template compilation inside of configuration files
[ { "change_type": "MODIFY", "old_path": "src/EleventyExtensionMap.js", "new_path": "src/EleventyExtensionMap.js", "diff": "const TemplatePath = require(\"./TemplatePath\");\n-const config = require(\"./Config\");\nclass EleventyExtensionMap {\nconstructor(formatKeys = []) {\n@@ -17,7 +16,7 @@ class E...
JavaScript
MIT License
11ty/eleventy
Just in time config includes to allow template compilation inside of configuration files
672
06.03.2020 16:03:54
-3,600
efb8edee3a3ca6f3fc0c6111ac9c2bc608773ff8
Refactor command check to use minimist options.unknown callback
[ { "change_type": "ADD", "old_path": null, "new_path": "src/EleventyCommandCheckError.js", "diff": "+const EleventyBaseError = require(\"./EleventyBaseError\");\n+class EleventyCommandCheckError extends EleventyBaseError {}\n+module.exports = EleventyCommandCheckError;\n" }, { "change_type": ...
JavaScript
MIT License
11ty/eleventy
Refactor command check to use minimist options.unknown callback
672
06.03.2020 16:07:13
-3,600
5e8ebdb1a5a1f5ede9d186dfaf862ef332307ff6
Add proper formatting with line breaks to string property
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -19,7 +19,14 @@ const EleventyErrorHandler = require(\"./src/EleventyErrorHandler\");\ntry {\nconst EleventyCommandCheckError = require(\"./src/EleventyCommandCheckError\");\nconst argv = require(\"minimist\")(process...
JavaScript
MIT License
11ty/eleventy
Add proper formatting with line breaks to string property
672
06.03.2020 16:42:13
-3,600
2604277a6ce6d3ab5fb6e5449075a7feb37baa66
Move Template.write in TemplateTest, since only used there (TODO fix)
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -584,17 +584,6 @@ class Template extends TemplateContent {\nreturn Promise.all(promises);\n}\n- // TODO is this still used by anything but tests?\n- async write(outputPath, data) {\n- let templates =...
JavaScript
MIT License
11ty/eleventy
Move Template.write in TemplateTest, since only used there (TODO fix)
672
10.03.2020 14:37:32
-3,600
a1338070837f2c07fdd31f723757f7aa94ed166d
Use getter for pagedItems in Pagination class ("TODO" fix)
[ { "change_type": "MODIFY", "old_path": "src/Plugins/Pagination.js", "new_path": "src/Plugins/Pagination.js", "diff": "@@ -63,7 +63,7 @@ class Pagination {\nthis.alias = data.pagination.alias;\nthis.target = this._resolveItems();\n- this.items = this.getPagedItems();\n+ this.items = this.pagedItems;\...
JavaScript
MIT License
11ty/eleventy
Use getter for pagedItems in Pagination class ("TODO" fix)
699
18.03.2020 17:17:19
18,000
c8e04f0bf767bb12d71266403822a2987477adc4
Adds support for `init` in custom template engines (in this case to support loading Vue single file components)
[ { "change_type": "MODIFY", "old_path": "src/Engines/Custom.js", "new_path": "src/Engines/Custom.js", "diff": "@@ -3,13 +3,18 @@ const TemplateEngine = require(\"./TemplateEngine\");\nclass CustomEngine extends TemplateEngine {\nconstructor(name, includesDir) {\nsuper(name, includesDir);\n+\n+ this.e...
JavaScript
MIT License
11ty/eleventy
Adds support for `init` in custom template engines (in this case to support loading Vue single file components)
699
19.03.2020 07:47:14
18,000
041db759ff02c59ea7cb890c5a3f39be00dd6269
Allow access to the config in the custom template methods
[ { "change_type": "MODIFY", "old_path": "src/Engines/Custom.js", "new_path": "src/Engines/Custom.js", "diff": "@@ -33,12 +33,12 @@ class CustomEngine extends TemplateEngine {\nasync compile(str, inputPath) {\nif (this.needsInit && !this.initFinished) {\n- await this.entry.init();\n+ await this.entry....
JavaScript
MIT License
11ty/eleventy
Allow access to the config in the custom template methods
699
19.03.2020 11:51:43
18,000
2f4b39b62066ebcfe13c8eb630cd8b8920e5e326
Adds `addTemplateFormat` config API method to allow additive templateFormats inside of plugins for
[ { "change_type": "MODIFY", "old_path": "src/TemplateFileSlug.js", "new_path": "src/TemplateFileSlug.js", "diff": "@@ -15,7 +15,6 @@ class TemplateFileSlug {\nthis.dirs.pop();\nthis.parsed = parsePath(inputPath);\n- // TODO update this after the fix for issue #117 merges\nthis.filenameNoExt = extensi...
JavaScript
MIT License
11ty/eleventy
Adds `addTemplateFormat` config API method to allow additive templateFormats inside of plugins for #117
699
19.03.2020 13:01:38
18,000
cf9d7b5f57d0a4bc8689cb984d1af9d21ed7c03c
Remove unused experiments API
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -52,7 +52,6 @@ class UserConfig {\nthis.dynamicPermalinks = true;\nthis.useGitIgnore = true;\nthis.dataDeepMerge = false;\n- this.experiments = new Set();\nthis.extensionMap = new Set();\nthis.wa...
JavaScript
MIT License
11ty/eleventy
Remove unused experiments API
699
19.03.2020 17:05:56
18,000
24155cc6446b47f0363249d524eae3bafaa99957
Get current input directory from this.config
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -273,6 +273,8 @@ class Eleventy {\n* @returns {} - tbd.\n*/\nasync init() {\n+ this.config.inputDir = this.inputDir;\n+\nlet formats = this.formatsOverride || this.config.templateFormats;\nthis.exten...
JavaScript
MIT License
11ty/eleventy
Get current input directory from this.config
699
19.03.2020 20:36:26
18,000
d44f9ee089697989f0db11faff081a4681f07e3e
Add warning about unstable addExtension
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -608,6 +608,11 @@ class UserConfig {\n}\naddExtension(fileExtension, options = {}) {\n+ console.log(\n+ chalk.yellow(\n+ \"Warning: Configuration API `addExtension` is an undocumented experimenta...
JavaScript
MIT License
11ty/eleventy
Add warning about unstable addExtension
699
20.03.2020 07:11:10
18,000
679d353805e80155b43f8803bbe59bb8a474d793
Updating experimental warning
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -610,7 +610,7 @@ class UserConfig {\naddExtension(fileExtension, options = {}) {\nconsole.log(\nchalk.yellow(\n- \"Warning: Configuration API `addExtension` is an undocumented experimental featur...
JavaScript
MIT License
11ty/eleventy
Updating experimental warning
699
20.03.2020 12:05:57
18,000
b2e84639d7fc144142e6f32f5a6200a25757dbe8
Experimental features require ELEVENTY_EXPERIMENTAL environment variable to opt-in
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -608,11 +608,16 @@ class UserConfig {\n}\naddExtension(fileExtension, options = {}) {\n+ if (!process.env.ELEVENTY_EXPERIMENTAL) {\n+ return;\n+ }\n+\nconsole.log(\nchalk.yellow(\n\"Warning: Conf...
JavaScript
MIT License
11ty/eleventy
Experimental features require ELEVENTY_EXPERIMENTAL environment variable to opt-in
699
25.03.2020 16:53:46
18,000
72d2c1a63e95da7b0117c2a6778357301ca29ac5
Adds `beforeWatch` event that fires when a watch build runs (only on re-runs, not on first run). Code for Related to
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -442,6 +442,8 @@ Arguments:\nreturn;\n}\n+ this.config.events.emit(\"beforeWatch\");\n+\nthis.watchManager.setBuildRunning();\n// reset and reload global configuration :O\n" }, { "change_type...
JavaScript
MIT License
11ty/eleventy
Adds `beforeWatch` event that fires when a watch build runs (only on re-runs, not on first run). Code for #1042. Related to #729
699
26.03.2020 09:49:37
18,000
c1ed84a01a4dde3ad8c5e70ccb1d831f18ab9069
Going to limit to just the `page` data right now.
[ { "change_type": "MODIFY", "old_path": "src/Engines/JavaScript.js", "new_path": "src/Engines/JavaScript.js", "diff": "@@ -109,9 +109,7 @@ class JavaScript extends TemplateEngine {\nlet fns = {};\nlet configFns = this.config.javascriptFunctions;\nfor (let key in configFns) {\n- fns[key] = configFns[k...
JavaScript
MIT License
11ty/eleventy
Going to limit #741 to just the `page` data right now.
699
26.03.2020 09:54:20
18,000
141a71b4424e98b6e596ed357fb1f64533fb7174
Add a handlebars test for
[ { "change_type": "MODIFY", "old_path": "src/Engines/Handlebars.js", "new_path": "src/Engines/Handlebars.js", "diff": "@@ -50,7 +50,6 @@ class Handlebars extends TemplateEngine {\ncontent = options.fn(this);\n}\n- // TODO breaking change, use { data: this } for consistency with Nunjucks, Liquid, 11ty...
JavaScript
MIT License
11ty/eleventy
Add a handlebars test for #741
667
29.03.2020 18:43:30
-28,800
02b70c2f39234a031f295ddd3bbee0ab196a4a25
chore: upgrade 2x performant LiquidJS v9
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.7.3\",\n\"javascript-stringify\": \"^2.0.1\",\n- \"liquidjs\": \"^6.4.3\",\n+ \"liquidjs\": \"^9.11.7\",\n\"lodash\": \"^4.17.15\",\n\"luxon\": \"^1.22.2\",\n\"ma...
JavaScript
MIT License
11ty/eleventy
chore: upgrade 2x performant LiquidJS v9
659
29.03.2020 21:49:59
-7,200
b8a0bdd9059a0018cf18e778e212d40f5ca210aa
allow registering Nunjucks globals
[ { "change_type": "MODIFY", "old_path": "src/Engines/Nunjucks.js", "new_path": "src/Engines/Nunjucks.js", "diff": "@@ -36,6 +36,7 @@ class Nunjucks extends TemplateEngine {\nthis.config.nunjucksAsyncPairedShortcodes,\ntrue\n);\n+ this.addGlobals(this.config.nunjucksGlobals);\n}\naddFilters(helpers, i...
JavaScript
MIT License
11ty/eleventy
allow registering Nunjucks globals
667
01.04.2020 11:46:05
-28,800
7a55e2d721bbfd345ef5c6882f0c1406b5c0f406
chore: upgrade liquidjs to the latest
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"js-yaml\": \"^3.13.1\",\n\"jsdoc\": \"3.6.3\",\n\"lint-staged\": \"^10.0.9\",\n+ \"liquidjs\": \"^9.11.9\",\n\"markdown-it-emoji\": \"^1.4.0\",\n\"node-sass\": \"^4.13.1\",\n\"nyc\": \"^15.0.0\",\n\"hamljs\...
JavaScript
MIT License
11ty/eleventy
chore: upgrade liquidjs to the latest
699
01.04.2020 11:02:48
18,000
8ffbb9927ea8482c5a46515f3a2ed25cd8830ad8
Looks like the mitigation for fixes
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -2142,3 +2142,18 @@ test(\"eleventyComputed true primitive\", async t => {\nt.is(data.key3, false);\nt.is(data.key4, 324);\n});\n+\n+test(\"eleventyComputed relies on global data\", async t...
JavaScript
MIT License
11ty/eleventy
Looks like the mitigation for #1061 fixes #1043
699
04.04.2020 14:38:08
18,000
b8144add8a5ecd7d41fb3c602237189e67ffb252
Fixes `[object Object]` output in debug
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthroughManager.js", "new_path": "src/TemplatePassthroughManager.js", "diff": "@@ -181,7 +181,7 @@ class TemplatePassthroughManager {\nlet promises = [];\ndebug(\"TemplatePassthrough copy started.\");\nfor (let path of this.getConfigPaths()) {\n...
JavaScript
MIT License
11ty/eleventy
Fixes `[object Object]` output in debug
699
08.04.2020 17:28:30
18,000
82d83f55b92624b7b307c3814c80c7f83b264d7f
Now shows total files copied in passthrough copy output. Fixes Adds aggregate benchmarks. Changes threshold percent from 10% to 8%.
[ { "change_type": "MODIFY", "old_path": "src/Benchmark.js", "new_path": "src/Benchmark.js", "diff": "+const { performance } = require(\"perf_hooks\");\n+\nclass Benchmark {\nconstructor() {\nthis.reset();\n}\n+ getNewTimestamp() {\n+ if (performance) {\n+ return performance.now();\n+ }\n+ return new ...
JavaScript
MIT License
11ty/eleventy
Now shows total files copied in passthrough copy output. Fixes #1077. Adds aggregate benchmarks. Changes threshold percent from 10% to 8%.
699
08.04.2020 20:43:54
18,000
fc115dc1440a2bb91b6b2088292ad98d0b0c0b30
Better output during incremental passthrough copy changes
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -231,15 +231,17 @@ class Eleventy {\nif (copyCount) {\nret.push(\n- `Copied ${copyCount} ${simplePlural(copyCount, \"file\", \"files\")} /`\n+ `Copied ${copyCount} ${simplePlural(copyCount, \"file\",...
JavaScript
MIT License
11ty/eleventy
Better output during incremental passthrough copy changes
699
08.04.2020 21:04:51
18,000
645a767c65c2333ae6d28776e7b8568f0a8a2fae
Use high resolution timers for full build time. Adds initial performance.now() warm up time to debug
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -8,6 +8,8 @@ const EleventyServe = require(\"./EleventyServe\");\nconst EleventyWatch = require(\"./EleventyWatch\");\nconst EleventyWatchTargets = require(\"./EleventyWatchTargets\");\nconst Elevent...
JavaScript
MIT License
11ty/eleventy
Use high resolution timers for full build time. Adds initial performance.now() warm up time to debug
699
19.04.2020 21:10:34
18,000
1fd4f024969e7b83cab43808f0a3ac3ddac4b4f3
COMPUTED DATA PROXIES
[ { "change_type": "MODIFY", "old_path": "src/ComputedData.js", "new_path": "src/ComputedData.js", "diff": "@@ -27,7 +27,7 @@ class ComputedData {\nthis.templateStringKeyLookup[key] = true;\n}\n- async getVarOrder() {\n+ async getVarOrder(data) {\nif (this.computedKeys.size > 0) {\nlet graph = new Dep...
JavaScript
MIT License
11ty/eleventy
COMPUTED DATA PROXIES
699
24.04.2020 17:40:59
18,000
65ff465f2954642ed02ac3873862ace0dde7d2a3
Fixed: Passthrough copy globs were not adding to individual file copy counts correctly.
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -78,6 +78,7 @@ class TemplatePassthrough {\nreturn copy(src, dest, copyOptions)\n.on(copy.events.COPY_FILE_START, function(copyOp) {\n// Access to individual files at `copyOp.sr...
JavaScript
MIT License
11ty/eleventy
Fixed: Passthrough copy globs were not adding to individual file copy counts correctly.
699
27.04.2020 17:06:38
18,000
a0b19a3920a7d1ef18ce60aef7394a7ce4060268
Some debug output for computed data
[ { "change_type": "MODIFY", "old_path": "src/ComputedData.js", "new_path": "src/ComputedData.js", "diff": "@@ -5,7 +5,7 @@ const DependencyGraph = require(\"dependency-graph\").DepGraph;\nconst ComputedDataTemplateString = require(\"./ComputedDataTemplateString\");\nconst ComputedDataProxy = require(...
JavaScript
MIT License
11ty/eleventy
Some debug output for computed data
699
28.04.2020 17:19:20
18,000
58858b16e24d20ae85b14c29ec80f6d07b5f100f
Delay computed data processing when they depend on collections. Fix for
[ { "change_type": "MODIFY", "old_path": "src/ComputedData.js", "new_path": "src/ComputedData.js", "diff": "const lodashGet = require(\"lodash/get\");\nconst lodashSet = require(\"lodash/set\");\n-const DependencyGraph = require(\"dependency-graph\").DepGraph;\n+const ComputedDataQueue = require(\"./C...
JavaScript
MIT License
11ty/eleventy
Delay computed data processing when they depend on collections. Fix for #1114
699
29.04.2020 07:57:32
18,000
b39203040702d49752064ca7384ab39abb93cef6
Adds test for template engine singletons
[ { "change_type": "MODIFY", "old_path": "test/TemplateMapTest-ComputedData.js", "new_path": "test/TemplateMapTest-ComputedData.js", "diff": "@@ -2,7 +2,7 @@ import test from \"ava\";\nimport Template from \"../src/Template\";\nimport TemplateData from \"../src/TemplateData\";\nimport TemplateMap from...
JavaScript
MIT License
11ty/eleventy
Adds test for template engine singletons
699
29.04.2020 08:17:36
18,000
3b0fdf25d6d49fa69a801ae0c8e7a0ace3295267
A little performance optimization for computed data
[ { "change_type": "MODIFY", "old_path": "src/ComputedData.js", "new_path": "src/ComputedData.js", "diff": "@@ -29,6 +29,11 @@ class ComputedData {\n}\nasync resolveVarOrder(data) {\n+ let proxyByTemplateString = new ComputedDataTemplateString(\n+ this.computedKeys\n+ );\n+ let proxyByProxy = new Comp...
JavaScript
MIT License
11ty/eleventy
A little performance optimization for computed data
699
29.04.2020 13:53:59
18,000
68f75053071aaefc3efb8c2ebdbdae8361117b48
v0.11.0-beta.4 coverage
[ { "change_type": "MODIFY", "old_path": "docs-src/_data/coverage.json", "new_path": "docs-src/_data/coverage.json", "diff": "-{\"total\": {\"lines\":{\"total\":3241,\"covered\":2856,\"skipped\":0,\"pct\":88.12},\"statements\":{\"total\":3263,\"covered\":2877,\"skipped\":0,\"pct\":88.17},\"functions\"...
JavaScript
MIT License
11ty/eleventy
v0.11.0-beta.4 coverage
699
30.04.2020 12:51:00
18,000
a1ce30a478123765ba7211955b5c2a58c624cfd9
Test was already passing for
[ { "change_type": "MODIFY", "old_path": "src/ComputedData.js", "new_path": "src/ComputedData.js", "diff": "@@ -48,7 +48,7 @@ class ComputedData {\nlet varsUsed = await proxy.findVarsUsed(computed, data);\ndebug(\"%o accesses %o variables\", key, varsUsed);\n- let filteredVarsUsed = varsUsed.filter(va...
JavaScript
MIT License
11ty/eleventy
Test was already passing for #1138
665
01.05.2020 14:13:06
18,000
e8f4004d749a0bf9f023e0a04c955e19acf52113
Add before/after build events
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -736,10 +736,13 @@ Arguments:\nEleventyErrorHandler.logger = this.logger;\n}\n+ this.config.events.emit(\"beforeBuild\");\n+\ntry {\nlet promise = this.writer.write();\nret = await promise;\n+ this.c...
JavaScript
MIT License
11ty/eleventy
Add before/after build events
699
06.05.2020 21:45:23
18,000
e3121f911d7f635de6fcf03a4e4e08fd7c37cd5a
Better initialization check for Custom engines will wait for init to finish if already running.
[ { "change_type": "MODIFY", "old_path": "src/Engines/Custom.js", "new_path": "src/Engines/Custom.js", "diff": "const TemplateEngine = require(\"./TemplateEngine\");\n+const getJavaScriptData = require(\"../Util/GetJavaScriptData\");\nclass CustomEngine extends TemplateEngine {\nconstructor(name, incl...
JavaScript
MIT License
11ty/eleventy
Better initialization check for Custom engines will wait for init to finish if already running.
699
10.05.2020 14:02:44
18,000
50d0b5f244efbb3affb2623a22c22f8bd69d69f3
Make sure it outputs 0 files when 0 files are written (avoid "in 0.03 seconds (v0.11.0)" bug)
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -250,13 +250,12 @@ class Eleventy {\n);\n}\n- if (writeCount || skippedCount) {\nslashRet.push(\n`Wrote ${writeCount} ${simplePlural(writeCount, \"file\", \"files\")}${\nskippedCount ? ` (skipped ${s...
JavaScript
MIT License
11ty/eleventy
Make sure it outputs 0 files when 0 files are written (avoid "in 0.03 seconds (v0.11.0)" bug)
699
10.05.2020 14:04:13
18,000
36c5022d885d147b5677fc08ef157eb849b8437a
Made another commit to 0.11.0
[ { "change_type": "MODIFY", "old_path": "docs-src/_data/coverage.json", "new_path": "docs-src/_data/coverage.json", "diff": "-{\"total\": {\"lines\":{\"total\":3464,\"covered\":3062,\"skipped\":0,\"pct\":88.39},\"statements\":{\"total\":3486,\"covered\":3083,\"skipped\":0,\"pct\":88.44},\"functions\"...
JavaScript
MIT License
11ty/eleventy
Made another commit to 0.11.0
661
13.05.2020 12:54:49
25,200
13fc3d88de76d081c5734b09646d6ca6c96ca5fa
Fix argument for setTimeout vs new Promise
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -658,8 +658,8 @@ Arguments:\nawait new Promise((resolve, reject) => {\nwatchDelay = setTimeout(async () => {\nthis._watch().then(resolve, reject);\n- });\n}, this.config.watchThrottleWaitTime);\n+ })...
JavaScript
MIT License
11ty/eleventy
Fix argument for setTimeout vs new Promise
693
24.05.2020 09:17:01
14,400
42650fffc46bb29bc26b4e4d1c2eda8d866a66ba
Pass data to pagination before callback.
[ { "change_type": "MODIFY", "old_path": "test/PaginationTest.js", "new_path": "test/PaginationTest.js", "diff": "@@ -606,6 +606,18 @@ test(\"Pagination `before` Callback\", async t => {\nt.deepEqual(templates[0].data.myalias, \"item6\");\n});\n+test(\"Pagination `before` Callback with metadata\", asy...
JavaScript
MIT License
11ty/eleventy
Pass data to pagination before callback.
676
17.06.2020 13:47:30
25,200
c2e0dc506ec476d3b0392b1bf78c66dff90fd751
Initial, cleaned-up cut of performance tuning patches. Benchmark results: API compatible; all tests pass.
[ { "change_type": "MODIFY", "old_path": "src/Benchmark.js", "new_path": "src/Benchmark.js", "diff": "@@ -18,6 +18,8 @@ class Benchmark {\nthis.beforeTimers = [];\n}\n+ // TODO(slightlyoff):\n+ // disable all of these hrtime requests when not benchmarking\nbefore() {\nthis.timesCalled++;\nthis.beforeT...
JavaScript
MIT License
11ty/eleventy
Initial, cleaned-up cut of performance tuning patches. Benchmark results: https://gist.github.com/slightlyoff/4a2c2709c8a4ef80ef074010b0be6a65 API compatible; all tests pass.
676
20.06.2020 15:12:06
25,200
a7274b3c1e67d310984523371d0be80d6a51c4d1
Invalidate input caches in watch mode.
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "const pkg = require(\"../package.json\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst TemplateData = require(\"./TemplateData\");\n+const TemplateContent = require(\"./TemplateContent\");\...
JavaScript
MIT License
11ty/eleventy
Invalidate input caches in watch mode.
670
23.06.2020 14:17:21
-36,000
ae894e6c3f9cae0a4b06c677aa3e1fbb82a513fe
Add global data
[ { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", "diff": "@@ -177,14 +177,37 @@ class TemplateData {\nreturn globalData;\n}\n+ async getInitialGlobalData() {\n+ let globalData = {};\n+ if (this.config.globalData) {\n+ let keys = Object.keys(this.config...
JavaScript
MIT License
11ty/eleventy
Add global data
670
23.06.2020 18:03:24
-36,000
1bb0d0caaa20d86b4a4f5b25360fe0547deca27c
chore: fix eslint warnings
[ { "change_type": "MODIFY", "old_path": "src/Engines/Haml.js", "new_path": "src/Engines/Haml.js", "diff": "const HamlLib = require(\"hamljs\");\nconst TemplateEngine = require(\"./TemplateEngine\");\n-const config = require(\"../Config\");\nclass Haml extends TemplateEngine {\nconstructor(name, inclu...
JavaScript
MIT License
11ty/eleventy
chore: fix eslint warnings
699
10.07.2020 22:02:49
18,000
6c8addfa4cf6d0a3f88bff325b1942e494765bd0
Include reference to issue
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderLiquidTest.js", "new_path": "test/TemplateRenderLiquidTest.js", "diff": "@@ -977,42 +977,42 @@ test(\"Liquid Render a false #1069\", async t => {\nt.is(await fn({ falseValue: false }), \"false\");\n});\n-test(\"Liquid Render Square Brackets ...
JavaScript
MIT License
11ty/eleventy
Include reference to issue #680
670
19.07.2020 11:18:01
-36,000
95278987c9e4c507051a1fcb9ecf3a06f09473e8
Change method to take an object
[ { "change_type": "ADD", "old_path": null, "new_path": "eleventy", "diff": "+/eleventy\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "@@ -104,7 +104,7 @@ class TemplateConfig {\nthro...
JavaScript
MIT License
11ty/eleventy
Change method to take an object
670
19.07.2020 17:25:46
-36,000
e0dbea3092afd32116ae955cb13dfe460f47009b
Pass template dir options to plugins
[ { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "@@ -7,6 +7,7 @@ const EleventyBaseError = require(\"./EleventyBaseError\");\nconst eleventyConfig = require(\"./EleventyConfig\");\nconst debug = require(\"debug\")(\"Eleventy:TemplateConfig...
JavaScript
MIT License
11ty/eleventy
Pass template dir options to plugins
699
01.08.2020 19:56:26
18,000
cad14d15c721f2b28d47c89327f95b7e5c8ed6ea
Fix Node 10 issue with syntax.
[ { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", "diff": "@@ -21,7 +21,9 @@ const bench = require(\"./BenchmarkManager\").get(\"Data\");\nconst aggregateBench = require(\"./BenchmarkManager\").get(\"Aggregate\");\nclass FSExistsCache {\n- _cache = new ...
JavaScript
MIT License
11ty/eleventy
Fix Node 10 issue with syntax.
699
01.08.2020 20:40:26
18,000
917c0d4e0ae54526e7d8775d623ea0910b2a8b66
Use Node 10/12/14
[ { "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: [\"8\", \"10\", \"12\"]\n+ node: [\"10\", \"12\", \"14\"]\nname: Node....
JavaScript
MIT License
11ty/eleventy
Use Node 10/12/14
699
01.08.2020 20:42:32
18,000
232cb9b21fed147a1f1660696723fcd5fb060c4d
Adds GitHub Actions link from Readme
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -13,7 +13,9 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n- Support [11ty on Open Collective](https://opencollective.com/11ty)\n- [11ty on npm](https://www.npmjs.com/org/11...
JavaScript
MIT License
11ty/eleventy
Adds GitHub Actions link from Readme
670
06.08.2020 12:00:38
-36,000
c8e628aa79b0cdcd16da1965fc4213769329b1fe
Remove Merge master
[ { "change_type": "DELETE", "old_path": "eleventy", "new_path": null, "diff": "-/eleventy\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "@@ -104,7 +104,7 @@ class TemplateConfig {\nt...
JavaScript
MIT License
11ty/eleventy
Remove Merge master
670
06.08.2020 12:01:34
-36,000
bad56c0260a535cfba9179b40209900beee59fb3
Update src/TemplateConfig.js
[ { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "@@ -117,7 +117,7 @@ class TemplateConfig {\n// remove special merge keys from object\nlet savedForSpecialMerge = {\n- templateFormatsAdded: eleventyConfigApiMergingObject.templateFormatsAdde...
JavaScript
MIT License
11ty/eleventy
Update src/TemplateConfig.js
699
10.08.2020 22:51:06
18,000
cdb1191360a53ba7defc2b93b1ec2895d031c368
Update a few dependencies for 1.0
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"@11ty/eleventy\",\n- \"version\": \"0.11.0\",\n+ \"version\": \"1.0.0-beta.0\",\n\"description\": \"Transform a directory of templates into HTML.\",\n\"publishConfig\": {\n\"access\": \"public\...
JavaScript
MIT License
11ty/eleventy
Update a few dependencies for 1.0
699
10.08.2020 22:54:50
18,000
b2db452194a56abd1ea4c31ef3098e09e3da7092
Two major dep updates both moving to Node 10+
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"@11ty/dependency-tree\": \"^1.0.0\",\n\"browser-sync\": \"^2.26.12\",\n- \"chalk\": \"^3.0.0\",\n+ \"chalk\": \"^4.1.0\",\n\"chokidar\": \"^3.4.2\",\n\"debug\": \"^4.1.1\",\n\"dependenc...
JavaScript
MIT License
11ty/eleventy
Two major dep updates both moving to Node 10+
687
17.08.2020 16:38:45
-7,200
554d7928308d52c128a88e716600cde8ff740d90
add async EventEmitter
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -459,7 +459,7 @@ Arguments:\nreturn;\n}\n- this.config.events.emit(\"beforeWatch\");\n+ await this.config.events.emit(\"beforeWatch\");\nthis.watchManager.setBuildRunning();\n@@ -737,13 +737,13 @@ Ar...
JavaScript
MIT License
11ty/eleventy
add async EventEmitter
670
02.09.2020 04:04:46
-36,000
08334a88a87b5a075f2b5cbc9d941083b0c6352d
back to orig sig
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -228,11 +228,10 @@ class UserConfig {\nthis.nunjucksTags[name] = bench.add(`\"${name}\" Nunjucks Custom Tag`, tagFn);\n}\n- addGlobalData(data) {\n- for (const [key, value] of Object.entries(data...
JavaScript
MIT License
11ty/eleventy
back to orig sig