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 | 24.09.2018 21:57:52 | 18,000 | ca2ab6fa5dc177bf483747af62dadf93290508c4 | Unnecessary var | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -10,7 +10,7 @@ require(\"please-upgrade-node\")(pkg, {\n});\nif (process.env.DEBUG) {\n- let timeRequire = require(\"time-require\");\n+ require(\"time-require\");\n}\nconst EleventyErrorHandler = require(\"./src/Elev... | JavaScript | MIT License | 11ty/eleventy | Unnecessary var |
699 | 24.09.2018 22:03:54 | 18,000 | 9bc0efbaf4eb422794409f8345c826d26169879d | Fixes normalizes front matter tags to always be an array when fetched. Maintains backwards compatibility. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -58,6 +58,7 @@ class TemplateCollection extends Sortable {\nmatch = true;\n}\n});\n+ // This branch should no longer be necessary per TemplateContent.cleanupFrontMatterData\n} els... | JavaScript | MIT License | 11ty/eleventy | Fixes #246, normalizes front matter tags to always be an array when fetched. Maintains backwards compatibility. |
699 | 26.09.2018 07:22:14 | 18,000 | d558b5fb5de5c69b335b92e5c601349812cb8122 | Better debug error stack trace formatting | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyErrorHandler.js",
"new_path": "src/EleventyErrorHandler.js",
"diff": "@@ -25,7 +25,7 @@ class EleventyErrorHandler {\n`${ref.message} (${ref.name})`,\ntype\n);\n- debug(`(${type} stack): %O`, ref.stack);\n+ debug(`(${type} stack): ${ref.stack}`);\n... | JavaScript | MIT License | 11ty/eleventy | Better debug error stack trace formatting |
699 | 26.09.2018 08:10:07 | 18,000 | 545ea7b7d49e521dc0e55e3c4c50bbab85451154 | Config tests have side effects, need to be .reset() until refactored | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -131,6 +131,7 @@ class UserConfig {\n// Support the nunjucks style syntax for asynchronous filter add\naddNunjucksFilter(name, callback, isAsync) {\nif (isAsync) {\n+ // namespacing happens downs... | JavaScript | MIT License | 11ty/eleventy | Config tests have side effects, need to be .reset() until refactored |
699 | 28.09.2018 09:01:48 | 18,000 | 5a81ba65b4319283ca65e50ccfa5fc620c7a4179 | Adds new plugin options to support new features for eleventy-plugin-syntaxhighlight v2.0.0 | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -235,15 +235,21 @@ class UserConfig {\nthis.collections[name] = callback;\n}\n- addPlugin(pluginCallback) {\n+ addPlugin(plugin, options = {}) {\ndebug(\"Adding plugin (unknown name: check your c... | JavaScript | MIT License | 11ty/eleventy | Adds new plugin options to support new features for eleventy-plugin-syntaxhighlight v2.0.0 |
699 | 29.09.2018 22:55:52 | 18,000 | 00ec80f49554995022374139e965130a6cf47dd9 | Adds tests for the failing ones are skipped until the dependency issue is fixed. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -424,3 +424,13 @@ test(\"Liquid Missing Filter Issue #183\", async t => {\nt.pass(\"Threw an error.\");\n}\n});\n+\n+test.skip(\"Liquid Render Date, Issue #258\", as... | JavaScript | MIT License | 11ty/eleventy | Adds tests for #258, the failing ones are skipped until the dependency issue is fixed. |
699 | 04.10.2018 08:43:49 | 18,000 | c380cfc78da76f7a2115ff1e21929d1f4a74a16d | Working example of | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lodash.get\": \"^4.4.2\",\n\"lodash.isobject\": \"^3.0.2\",\n\"lodash.merge\": \"^4.6.1\",\n+ \"lodash.mergewith\": \"^4.6.1\",\n\"lodash.set\": \"^4.3.2\",\n\"lodash.uniq\": \"^4.5.0\",\n\"luxon\": \"^1.4.... | JavaScript | MIT License | 11ty/eleventy | Working example of #147 |
699 | 06.10.2018 14:20:57 | 18,000 | ef4e3526053eba9f922164b1dcc098985809cf57 | Test, fixes | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.12\",\n\"javascript-stringify\": \"^1.6.0\",\n- \"liquidjs\": \"^6.0.0\",\n+ \"liquidjs\": \"^6.0.1\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.... | JavaScript | MIT License | 11ty/eleventy | Test, fixes #258 |
699 | 06.10.2018 21:04:24 | 18,000 | 0dac4389936a7d7bdbafd369cd660095dddd30c7 | Adds DATA_DEEP_MERGE experiment. Opt-in to global deep-merging behavior with `eleventyConfig.addExperiment("DATA_DEEP_MERGE")` | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -175,7 +175,8 @@ class Template extends TemplateContent {\nif (frontMatterData[this.config.keys.layout]) {\nlet layout = TemplateLayout.getTemplate(\nfrontMatterData[this.config.keys.layout],\n- this... | JavaScript | MIT License | 11ty/eleventy | Adds DATA_DEEP_MERGE experiment. Opt-in to global deep-merging behavior with `eleventyConfig.addExperiment("DATA_DEEP_MERGE")` |
699 | 07.10.2018 19:59:20 | 18,000 | 9b4e94759ce136b168f67b70c00f9d8da38e8ee8 | Adds `override:` prefix to any data key to allow it to override upstream values (not deep merge) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"gray-matter\": \"^4.0.1\",\n\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.12\",\n+ \"is-plain-object\": \"^2.0.4\",\n\"javascript-stringify\": \"^1.6.0\",\n\"liquidjs\": \"^6.0.1\",\n\"lodash.chunk\": \"^... | JavaScript | MIT License | 11ty/eleventy | Adds `override:` prefix to any data key to allow it to override upstream values (not deep merge) |
699 | 10.10.2018 08:19:03 | 18,000 | f5d78d866f81a5d57871b3bb23744a5d3a222396 | A few more badges | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -13,7 +13,7 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n- [@11ty on npm](https://www.npmjs.com/org/11ty)\n- [@11ty on GitHub](https://github.com/11ty)\n-[\n- [@11ty on GitHub](https://github.com/11ty)\n-[ {\n};\nTemplatePath.isDirectorySync = function(path) {\n- return fs.statSync(path).isDirectory();\n+ return fs... | JavaScript | MIT License | 11ty/eleventy | Check whether file exists before isDirectory check
This adds a file exists check before statting the file.
This avoids an exception being thrown, but more importantly, allows glob
arguments to be passed as `--input`, fixing #173 in the process. |
692 | 30.10.2018 20:10:49 | 0 | 89129752c966bcc9b9f81bfddde831ee7324f21e | Added two helper variables to the Pagination plugin
Changes to Pagination:
* Added firstPageLink
* Added lastPageLink | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -176,6 +176,11 @@ Pagination.prototype.getPageTemplates = async function() {\noverrides[pageNumber].pagination.next =\noverrides[pageNumber].pagination.nextPageLink;\n+ overrides[... | JavaScript | MIT License | 11ty/eleventy | Added two helper variables to the Pagination plugin
Changes to Pagination:
* Added firstPageLink
* Added lastPageLink |
699 | 19.11.2018 17:30:10 | 21,600 | 87f725ef9d8846788fa6dae11e589c235499b95d | Adds first and page href shortcuts for pagination. Related to | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -194,6 +194,11 @@ Pagination.prototype.getPageTemplates = async function() {\noverrides[pageNumber].pagination.nextPageHref =\npageNumber < templates.length - 1 ? hrefs[pageNumber... | JavaScript | MIT License | 11ty/eleventy | Adds first and page href shortcuts for pagination. Related to #312, #285 |
699 | 20.11.2018 08:42:07 | 21,600 | bc707ad3e768208aeffd2286b01ed77dc37f9346 | Fixes (switches away from experiment to a top level configuration option) | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -212,7 +212,7 @@ class Template extends TemplateContent {\n);\n}\n- let mergedData = TemplateData.mergeExperiment(\n+ let mergedData = TemplateData.mergeDeep(\nthis.config,\n{},\nmergedLayoutData,\n@... | JavaScript | MIT License | 11ty/eleventy | Fixes #147 (switches away from experiment to a top level configuration option) |
699 | 21.11.2018 17:33:56 | 21,600 | eadea6626c68f3140a2dbc32f07839f865684d75 | Normalize on .11ty.js | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -3,19 +3,22 @@ import TemplateRender from \"../src/TemplateRender\";\ntest(\"JS\", t => {\nt.is(new TemplateRender(\"js\").getEngineName(), \"js\");\n- t.is(... | JavaScript | MIT License | 11ty/eleventy | Normalize on .11ty.js |
699 | 21.11.2018 18:18:23 | 21,600 | ec7f468d9acd3e2e72d92ae288227bd4370ad9f1 | Consolidate lodash to a single module | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"is-plain-object\": \"^2.0.4\",\n\"javascript-stringify\": \"^1.6.0\",\n\"liquidjs\": \"^6.0.1\",\n- \"lodash.chunk\": \"^4.2.0\",\n- \"lodash.clone\": \"^4.5.0\",\n- \"lodash.get\": \"^4.4.2\",\n- \"lodash.... | JavaScript | MIT License | 11ty/eleventy | Consolidate lodash to a single module |
699 | 21.11.2018 18:18:45 | 21,600 | af8a635f85a45328c8936fb3837af08c4e697965 | Updated deps (minor) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"@11ty/eleventy\",\n- \"version\": \"0.5.4\",\n+ \"version\": \"0.6.0\",\n\"description\": \"Transform a directory of templates into HTML.\",\n\"main\": \"src/Eleventy.js\",\n\"license\": \"MIT\... | JavaScript | MIT License | 11ty/eleventy | Updated deps (minor) |
699 | 21.11.2018 20:48:18 | 21,600 | 378b1230336e42aa49f05e72c04a1eca8763e56b | Travis is case sensitive with files | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "const fs = require(\"fs-extra\");\nconst parsePath = require(\"parse-filepath\");\nconst normalize = require(\"normalize-path\");\n-const lodashIsObject = require(\"lodash/isobject\");\n+const lodashIsO... | JavaScript | MIT License | 11ty/eleventy | Travis is case sensitive with files |
699 | 21.11.2018 21:15:02 | 21,600 | e84e957e3f362a9a49460f919d743e352b5bb2a6 | Fixes dataDeepMerge: true with pagination data. See | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"gray-matter\": \"^4.0.1\",\n\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.12\",\n- \"is-plain-object\": \"^2.0.4\",\n\"javascript-stringify\": \"^1.6.0\",\n\"liquidjs\": \"^6.0.1\",\n\"lodash\": \"^4.17.1... | JavaScript | MIT License | 11ty/eleventy | Fixes dataDeepMerge: true with pagination data. See https://github.com/11ty/eleventy/issues/147#issuecomment-440802454 |
699 | 22.11.2018 13:44:35 | 21,600 | 5922547af4a6a9204aaee39687762d63b5784681 | Additional test for using pagination aliasing | [
{
"change_type": "MODIFY",
"old_path": "test/PaginationTest.js",
"new_path": "test/PaginationTest.js",
"diff": "@@ -559,3 +559,29 @@ test(\"Pagination with deep data merge #147\", async t => {\n\"<ol><li>item5</li><li>item6</li><li>item7</li><li>item8</li></ol>\"\n);\n});\n+\n+test(\"Pagination with... | JavaScript | MIT License | 11ty/eleventy | Additional test for #147 using pagination aliasing |
699 | 25.11.2018 21:25:06 | 21,600 | dc666fd8793bcbe949fe4aa9f1e28b9b34ce048e | Switch to `11ty.js` for key so as not to conflict with existing `js` passthrough copies | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -16,7 +16,8 @@ module.exports = function(config) {\n\"pug\",\n\"njk\",\n\"html\",\n- \"jstl\"\n+ \"jstl\",\n+ \"11ty.js\"\n],\n// if your site lives in a subdirectory, change this\npathPrefix: \"/\",\n@@ -25,6 +... | JavaScript | MIT License | 11ty/eleventy | Switch to `11ty.js` for key so as not to conflict with existing `js` passthrough copies |
699 | 29.11.2018 21:36:40 | 21,600 | 987159cc18ecaadc33506a28dc114c4393ee26bd | Move config refs into TemplateEngine | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Ejs.js",
"new_path": "src/Engines/Ejs.js",
"diff": "@@ -9,7 +9,6 @@ class Ejs extends TemplateEngine {\nthis.ejsOptions = {};\n- this.config = config.getConfig();\nthis.setLibrary(this.config.libraryOverrides.ejs);\nthis.setEjsOptions(this.config.e... | JavaScript | MIT License | 11ty/eleventy | Move config refs into TemplateEngine |
699 | 29.11.2018 22:16:29 | 21,600 | c6c11b5d1c98f4287d37a909b07b605a9906a39b | Try out a universal filter/shortcode/helper/function on a JavaScript template. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -2,6 +2,10 @@ const TemplateEngine = require(\"./TemplateEngine\");\nconst lodashMerge = require(\"lodash.merge\");\nclass JavaScript extends TemplateEngine {\n+ get javascriptFun... | JavaScript | MIT License | 11ty/eleventy | Try out a universal filter/shortcode/helper/function on a JavaScript template. |
699 | 30.11.2018 08:00:50 | 21,600 | 91f385d78d0d46964a8939a415d341867cbb2a52 | Rogue console logs | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -27,7 +27,6 @@ class JavaScript extends TemplateEngine {\nreturn function(data) {\nif (dataOverrides) {\n- console.log(lodashMerge({}, data, dataOverrides));\nreturn inst.render(l... | JavaScript | MIT License | 11ty/eleventy | Rogue console logs |
699 | 01.12.2018 15:47:15 | 21,600 | 617820f5f6741e5916622ab3ca79a87b680a9976 | Test javascriptFunctions available on this. in render functions for JavaScript template types. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -9,40 +9,45 @@ class JavaScript extends TemplateEngine {\nasync compile(str, inputPath) {\nconst cls = require(inputPath);\nif (typeof cls === \"string\") {\n+ // string type does... | JavaScript | MIT License | 11ty/eleventy | Test javascriptFunctions available on this. in render functions for JavaScript template types. |
699 | 01.12.2018 19:54:33 | 21,600 | f82656eb796071cd530ea3ba91bbe828a7dda993 | Simpler file renames | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -18,7 +18,7 @@ test(\"JS Render a string (no data)\", async t => {\ntest(\"JS Render a function\", async t => {\nlet fn = await new TemplateRender(\n- \"../.... | JavaScript | MIT License | 11ty/eleventy | Simpler file renames |
699 | 01.12.2018 20:55:15 | 21,600 | fe131dd63c95be9bc16b77ecbacfc5b490dcd743 | Keep other methods accessible from class render methods and functions | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -2,10 +2,6 @@ const TemplateEngine = require(\"./TemplateEngine\");\nconst lodashMerge = require(\"lodash.merge\");\nclass JavaScript extends TemplateEngine {\n- get javascriptFun... | JavaScript | MIT License | 11ty/eleventy | Keep other methods accessible from class render methods and functions |
699 | 01.12.2018 21:46:46 | 21,600 | 04678663bbb6094f69dbe6092e74c247a37cba59 | Async function test | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -24,6 +24,14 @@ test(\"JS Render a function\", async t => {\nt.is(await fn({ name: \"Bill\" }), \"<p>Bill</p>\");\n});\n+test(\"JS Render an async function\"... | JavaScript | MIT License | 11ty/eleventy | Async function test |
699 | 01.12.2018 21:54:40 | 21,600 | 955487e270ffc8bb4ba7d70642148cc8fa0ba12a | Async data function | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -18,7 +18,7 @@ class JavaScript extends TemplateEngine {\n// either as a function or getter or object literal\nif (cls.prototype && \"data\" in cls.prototype) {\ndataOverrides =\n... | JavaScript | MIT License | 11ty/eleventy | Async data function |
699 | 01.12.2018 22:20:36 | 21,600 | 9072cbc73939b569202c066b7a0069c2d1614a8b | Works with buffers | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "const TemplateEngine = require(\"./TemplateEngine\");\nconst lodashMerge = require(\"lodash.merge\");\n+function cleanup(result) {\n+ if (Buffer.isBuffer(result)) {\n+ return result.... | JavaScript | MIT License | 11ty/eleventy | Works with buffers |
699 | 02.12.2018 14:07:35 | 21,600 | 91f5b584ed7400abff1b38618150d9f3e551ed08 | Fix `requires` and clear require cache when watching. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "const TemplateEngine = require(\"./TemplateEngine\");\n+const TemplatePath = require(\"../TemplatePath\");\nconst lodashMerge = require(\"lodash.merge\");\n-function cleanup(result) ... | JavaScript | MIT License | 11ty/eleventy | Fix `requires` and clear require cache when watching. |
699 | 02.12.2018 23:28:43 | 21,600 | 24cadabe19db60e9b1ecee896f5d656fb3285fcf | More efficient and more tests. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -11,34 +11,38 @@ class JavaScript extends TemplateEngine {\nreturn result;\n}\n- removeJSExtension(path) {\n- return path.endsWith(\".js\") ? path.substring(0, path.length - 3) : ... | JavaScript | MIT License | 11ty/eleventy | More efficient and more tests. |
699 | 04.12.2018 17:33:26 | 21,600 | a6d17b820eb636810bba66460d07183d2dc5b59f | Move npm badge | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -13,7 +13,7 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n- [@11ty on npm](https://www.npmjs.com/org/11ty)\n- [@11ty on GitHub](https://github.com/11ty)\n-[ | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/TemplateTest-JavaScript.js",
"diff": "+import test from \"ava\";\n+import Template from \"../src/Template\";\n+\n+test(\"JavaScript template type (function)\", async t => {\n+ let tmpl = new Template(\n+ \"./test/stubs/function.11ty.js\",\n... | JavaScript | MIT License | 11ty/eleventy | Adds permalink test (currently failing) |
699 | 06.12.2018 09:03:13 | 21,600 | 8d754d1da2a246397c304fc5633990296b9f89c6 | Adds support for 11ty.js permalinks | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -3,7 +3,7 @@ const TemplatePath = require(\"../TemplatePath\");\nconst lodashMerge = require(\"lodash.merge\");\nclass JavaScript extends TemplateEngine {\n- cleanup(result) {\n+ ... | JavaScript | MIT License | 11ty/eleventy | Adds support for 11ty.js permalinks |
699 | 07.12.2018 08:41:38 | 21,600 | 17f4f5bdc12bd3c679ea60d25bb07d9ee4274e00 | Adds tests for renderData with JavaScript template types. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -157,7 +157,13 @@ class Template extends TemplateContent {\n}\nasync mapDataAsRenderedTemplates(data, templateData) {\n- if (Array.isArray(data)) {\n+ // function supported in JavaScript type\n+ if (... | JavaScript | MIT License | 11ty/eleventy | Adds tests for renderData with JavaScript template types. |
699 | 17.12.2018 20:35:21 | 21,600 | 8f28976abdaddd8ca218dfe56c022c014a35f046 | Upgrades to ava 1.0 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"files\": [\n\"test/*.js\"\n],\n- \"source\": [\n+ \"sources\": [\n\"**/.eleventyignore\",\n\"src/**/*.js\",\n\"test/stubs/**\"\n},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.... | JavaScript | MIT License | 11ty/eleventy | Upgrades to ava 1.0 |
699 | 17.12.2018 20:58:26 | 21,600 | 838e6a7e4d26e0f95672a7e20adf9ca4de08ab3c | Generic ignore: prefix in lexer | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -17,7 +17,7 @@ class Liquid extends TemplateEngine {\ndoubleQuoteString: /\"(?:\\\\[\"\\\\]|[^\\n\"\\\\])*\"/,\nsingleQuoteString: /'(?:\\\\['\\\\]|[^\\n'\\\\])*'/,\nkeyword: /[a-zA-Z0-9]... | JavaScript | MIT License | 11ty/eleventy | Generic ignore: prefix in lexer |
699 | 19.12.2018 07:58:34 | 21,600 | b73af8c91c0994ca33107578787ed21be2756ec0 | Removes glob-watcher middle-man and use upstream dependency instead (chokidar) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependencies\": {\n\"browser-sync\": \"^2.24.7\",\n\"chalk\": \"^2.4.1\",\n+ \"chokidar\": \"^2.0.4\",\n\"debug\": \"^4.0.1\",\n\"dependency-tree\": \"^6.3.0\",\n\"ejs\": \"^2.6.1\",\n\"fast-glob\": \"^2.2.... | JavaScript | MIT License | 11ty/eleventy | Removes glob-watcher middle-man and use upstream dependency instead (chokidar) |
699 | 21.12.2018 07:46:49 | 21,600 | 20bd9cddbd6b7884680b61cb5f607a5c19c368de | Adds a test returning markdown inside of the JavaScript template. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -31,6 +31,14 @@ test(\"JS Render a function\", async t => {\nt.is(await fn({ name: \"Bill\" }), \"<p>Bill</p>\");\n});\n+test(\"JS Render a function (Markdow... | JavaScript | MIT License | 11ty/eleventy | Adds a test returning markdown inside of the JavaScript template. |
699 | 21.12.2018 22:13:37 | 21,600 | 244368bbeba5c9dd6b1d0f51ef6d52a345896b2a | Only remove JS templates from require cache once | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyWatchTargets.js",
"new_path": "src/EleventyWatchTargets.js",
"diff": "@@ -79,7 +79,7 @@ class EleventyWatchTargets {\ngetJavaScriptDependenciesFromList(files = []) {\nlet depSet = new Set();\nfiles\n- .filter(file => file.endsWith(\".js\"))\n+ .fil... | JavaScript | MIT License | 11ty/eleventy | Only remove JS templates from require cache once |
699 | 21.12.2018 22:13:54 | 21,600 | 8c9ddf2ea1c84c36b93112904836d8952dbdf6f4 | Markdown in 11ty.js template test. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -842,6 +842,16 @@ test(\"Override base templating engine from .liquid to ejs\", async t => {\nt.is((await tmpl.render()).trim(), \"My Title\");\n});\n+test(\"Override base templating engine... | JavaScript | MIT License | 11ty/eleventy | Markdown in 11ty.js template test. |
699 | 26.12.2018 22:35:57 | 21,600 | d050e9acb50e4885d7d5cd4c4290900d6238bdfe | Adds benchmark link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -22,6 +22,7 @@ npm run test\n```\n- [Code Coverage Statistics](https://github.com/11ty/eleventy/blob/master/docs/coverage.md)\n+- [Benchmark for Performance Regressions](https://github.com/11ty/eleventy-benchmar... | JavaScript | MIT License | 11ty/eleventy | Adds benchmark link |
699 | 28.12.2018 08:58:31 | 21,600 | 512842d025af195fdd4631675dad465919220a34 | Permalink async function | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest-JavaScript.js",
"new_path": "test/TemplateTest-JavaScript.js",
"diff": "@@ -152,6 +152,16 @@ test(\"JavaScript template type (class with data permalink function using a buffe\nt.is(await tmpl.getOutputPath(), \"./dist/my-permalink/value1/inde... | JavaScript | MIT License | 11ty/eleventy | Permalink async function |
699 | 06.01.2019 21:14:29 | 21,600 | 0d4e9d9b03a7837f65b058befc87eb5d4dc6a221 | Another test for JS templates | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -38,6 +38,14 @@ test(\"JS Render a function\", async t => {\nt.is(await fn({ name: \"Bill\" }), \"<p>Bill</p>\");\n});\n+test(\"JS Render a function (arrow s... | JavaScript | MIT License | 11ty/eleventy | Another test for JS templates |
669 | 08.01.2019 17:40:05 | -3,600 | 05cbdc93a04e783b871239f02aa9fb67f88edec2 | Fix: Tests invoking illegal constructor TemplateData() | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -414,7 +414,7 @@ test(\"Layout from template-data-file that has a permalink (fileslug) Issue #121\"\n});\ntest(\"Local template data file import (without a global data json)\", async t => {... | JavaScript | MIT License | 11ty/eleventy | Fix: Tests invoking illegal constructor TemplateData() |
669 | 09.01.2019 10:25:05 | -3,600 | 4609e373aada81e1bef5c0928cf74ddc9cf47a7b | Join paths together correctly with TemplatePath utility | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyFiles.js",
"new_path": "src/EleventyFiles.js",
"diff": "@@ -18,7 +18,10 @@ class EleventyFiles {\nthis.inputDir = TemplatePath.getDir(this.input);\nthis.outputDir = outputDir;\n- this.includesDir = this.inputDir + \"/\" + this.config.dir.includes;\... | JavaScript | MIT License | 11ty/eleventy | Join paths together correctly with TemplatePath utility |
669 | 09.01.2019 11:17:33 | -3,600 | cc9830f89aa31357926e633c8b4fc5b3e3d83dc8 | Separate normalize and join methods | [
{
"change_type": "MODIFY",
"old_path": "docs-src/.eleventy.docs.js",
"new_path": "docs-src/.eleventy.docs.js",
"diff": "@@ -11,7 +11,7 @@ module.exports = {\nremoveDir: function(str) {\nreturn TemplatePath.stripPathFromDir(\nstr,\n- TemplatePath.normalize(__dirname, \"..\")\n+ TemplatePath.join(__di... | JavaScript | MIT License | 11ty/eleventy | Separate normalize and join methods |
669 | 10.01.2019 15:12:17 | -3,600 | 91eb48b88ff58afb3270c76f778c97c4324d1d84 | Remove superfluous slash in call to TemplatePath.join | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -69,7 +69,6 @@ class TemplateConfig {\nlet localConfig = {};\nlet path = TemplatePath.join(\nTemplatePath.getWorkingDir(),\n- \"/\",\nlocalProjectConfigPath\n);\ndebug(`Merging config wit... | JavaScript | MIT License | 11ty/eleventy | Remove superfluous slash in call to TemplatePath.join |
699 | 10.01.2019 08:36:16 | 21,600 | 3115dd40512707cb96e6fd11097196a2a46ad167 | Skipped failing Test for | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateMapTest.js",
"new_path": "test/TemplateMapTest.js",
"diff": "@@ -445,6 +445,7 @@ test(\"Should be able to paginate a user config collection (paged template is als\nlet tm = new TemplateMap();\nawait tm.add(tmpl1);\nawait tm.add(tmpl2);\n+ await tm... | JavaScript | MIT License | 11ty/eleventy | Skipped failing Test for #253 |
699 | 10.01.2019 09:23:30 | 21,600 | f2218f8e83d3ab137f6bfad6f682ebae0e789a98 | Removes config options for template aliases | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyExtensionMap.js",
"new_path": "src/EleventyExtensionMap.js",
"diff": "@@ -2,22 +2,25 @@ const TemplatePath = require(\"./TemplatePath\");\nconst config = require(\"./Config\");\nclass EleventyExtensionMap {\n- constructor(formats = []) {\n- this.co... | JavaScript | MIT License | 11ty/eleventy | Removes config options for template aliases #207. |
699 | 10.01.2019 09:27:21 | 21,600 | 6eba496694a3c36d48f3e478e95f7a51395b162a | Oops broken tests | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateWriterTest.js",
"new_path": "test/TemplateWriterTest.js",
"diff": "@@ -464,11 +464,11 @@ test(\"Write Test 11ty.js\", async t => {\ntest(\"Markdown with alias\", async t => {\nlet map = new EleventyExtensionMap([\"md\"]);\n- map.setConfig({\n+ map... | JavaScript | MIT License | 11ty/eleventy | Oops broken tests #207 |
699 | 10.01.2019 10:37:54 | 21,600 | b7af5bbffa00b5acba052cfbad8ff4a04d4d57ff | Upgrade dependencies, unskip one liquid test | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "]\n},\n\"devDependencies\": {\n- \"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.0\",\n+ \"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.1\",\n\"ava\": \"^1.0.1\",\n- \"husky\": \"^1.0.1\",\n+ \"husky\": ... | JavaScript | MIT License | 11ty/eleventy | Upgrade dependencies, unskip one liquid test |
699 | 10.01.2019 11:03:15 | 21,600 | 34b028f72a03805b1fa652ad97028f866cfbfc3c | Eligible major version updates (purposefully not upgrading mustache and dependency-tree) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"markdown-it\": \"^8.4.2\",\n\"minimist\": \"^1.2.0\",\n\"moo\": \"^0.5.0\",\n- \"multimatch\": \"^2.1.0\",\n+ \"multimatch\": \"^3.0.0\",\n\"mustache\": \"^2.3.0\",\n\"normalize-path\": \"^3.0.0\",\n\"nunju... | JavaScript | MIT License | 11ty/eleventy | Eligible major version updates (purposefully not upgrading mustache and dependency-tree) |
699 | 10.01.2019 21:06:46 | 21,600 | fd729bb5127bc7f8bdf09a1599eb2772b6d94cdf | 0.7.0 coverage | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "-{\"total\": {\"lines\":{\"total\":2258,\"covered\":1980,\"skipped\":0,\"pct\":87.69},\"statements\":{\"total\":2263,\"covered\":1985,\"skipped\":0,\"pct\":87.72},\"functions\"... | JavaScript | MIT License | 11ty/eleventy | 0.7.0 coverage |
699 | 11.01.2019 20:53:23 | 21,600 | e78bfc7f36f68384df92e1ac11e45fbb4aae2e89 | Adds collection iteration test | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -63,6 +63,30 @@ test(\"JS Render a function (Markdown)\", async t => {\nt.is((await fn({ name: \"Bill\" })).trim(), \"<h1>Bill</h1>\");\n});\n+test(\"JS Rend... | JavaScript | MIT License | 11ty/eleventy | Adds collection iteration test |
699 | 11.01.2019 21:16:35 | 21,600 | d15c5f57841c097953e993584fb19ac306594d9e | More travis operating systems. | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "language: node_js\nnode_js:\n- 8\n+ - 10\nbefore_script:\n- npm install\nscript: npm run test\n@@ -8,3 +9,7 @@ branches:\nexcept:\n- gh-pages\nsudo: false\n+os:\n+ - windows\n+ - linux\n+ - osx\n\\ No newline a... | JavaScript | MIT License | 11ty/eleventy | More travis operating systems. #353 |
699 | 11.01.2019 21:42:14 | 21,600 | 4b498396c4a9cea00276d6ceed8f2482e43a1dbe | Version 0.7.1 quick maintenance release. | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "-{\"total\": {\"lines\":{\"total\":2503,\"covered\":2205,\"skipped\":0,\"pct\":88.09},\"statements\":{\"total\":2507,\"covered\":2209,\"skipped\":0,\"pct\":88.11},\"functions\"... | JavaScript | MIT License | 11ty/eleventy | Version 0.7.1 quick maintenance release. |
669 | 12.01.2019 15:36:32 | -3,600 | 2e85d4dc83ea74efbf399d73d0e9bd3e508a8376 | Fix broken tests on Windows (yes, it's newlines) | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateMapTest.js",
"new_path": "test/TemplateMapTest.js",
"diff": "@@ -2,6 +2,7 @@ import test from \"ava\";\nimport Template from \"../src/Template\";\nimport TemplateMap from \"../src/TemplateMap\";\nimport TemplateCollection from \"../src/TemplateCol... | JavaScript | MIT License | 11ty/eleventy | Fix broken tests on Windows (yes, it's newlines) |
669 | 12.01.2019 16:46:28 | -3,600 | 51adb790a24665178d699131651816016f61aa53 | Add tests for normalizeNewLines | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/TestUtilityTest.js",
"diff": "+import test from \"ava\";\n+import normalizeNewLines from \"./Util/normalizeNewLines\";\n+\n+test(\"normalizeNewLines\", t => {\n+ t.is(normalizeNewLines(\"\\r\"), \"\");\n+ t.is(normalizeNewLines(\"\\\\r\"), ... | JavaScript | MIT License | 11ty/eleventy | Add tests for normalizeNewLines |
669 | 11.01.2019 16:34:31 | -3,600 | 180485b65ff52d5ee453f9a94137b87ba2649977 | TemplatePath: _getModuleDir | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -5,10 +5,6 @@ const fs = require(\"fs-extra\");\nfunction TemplatePath() {}\n-TemplatePath.getModuleDir = function() {\n- return path.resolve(__dirname, \"..\");\n-};\n-\nTemplatePath.getWork... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: _getModuleDir |
669 | 11.01.2019 16:35:47 | -3,600 | 8d97c594c65219d82c3ff22de85908ada226f322 | TemplatePath: getWorkingDir | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePathTest.js",
"new_path": "test/TemplatePathTest.js",
"diff": "@@ -3,7 +3,7 @@ import path from \"path\";\nimport normalize from \"normalize-path\";\nimport TemplatePath from \"../src/TemplatePath\";\n-test(\"Working dir\", t => {\n+test(\"getWork... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getWorkingDir |
669 | 11.01.2019 16:37:34 | -3,600 | 23ec3b9e515c192d88c15cb566d8d9451bf04e72 | TemplatePath: getDir | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePathTest.js",
"new_path": "test/TemplatePathTest.js",
"diff": "@@ -8,6 +8,15 @@ test(\"getWorkingDir\", t => {\nt.is(TemplatePath._getModuleDir(), path.resolve(__dirname, \"..\"));\n});\n+test(\"getDir\", t => {\n+ t.is(TemplatePath.getDir(\"READM... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getDir |
669 | 11.01.2019 16:39:26 | -3,600 | c20f205a1e5dff86f2cd063168219497e0f36c2e | TemplatePath: getDirFromFilePath | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -27,9 +27,19 @@ TemplatePath.getDir = function(path) {\nreturn TemplatePath.getDirFromFilePath(path);\n};\n-// Input points to a file\n-TemplatePath.getDirFromFilePath = function(filepath) {\... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getDirFromFilePath |
669 | 11.01.2019 16:41:54 | -3,600 | b6ff26758682695b4b52368ffbf0cb57546785ba | TemplatePath: getLastPathSegment | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -283,7 +283,7 @@ class TemplateData {\nlet allDirs = TemplatePath.getAllDirs(parsed.dir);\ndebugDev(\"allDirs: %o\", allDirs);\nfor (let dir of allDirs) {\n- let lastDir = TemplatePath.getLas... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getLastPathSegment |
669 | 11.01.2019 16:44:22 | -3,600 | dd28b2bee3ec17c118f484893c8e3c21d0656b19 | TemplatePath: getAllDirs | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -63,21 +63,23 @@ TemplatePath.getLastPathSegment = function(path) {\nreturn path.substr(path.lastIndexOf(\"/\") + 1);\n};\n+/**\n+ * @param {String} path A path\n+ * @returns {String[]} an ar... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getAllDirs |
669 | 11.01.2019 16:46:07 | -3,600 | cd04b7ade4f76579bab70796abefc610e30fac6e | TemplatePath: hasTrailingSlash | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -111,17 +111,25 @@ TemplatePath.join = function(...paths) {\nreturn normalize(path.join(...paths));\n};\n-TemplatePath.hasTrailingSlash = function(thePath, isPreNormalized) {\n- if (!thePath)... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: hasTrailingSlash |
669 | 11.01.2019 16:47:23 | -3,600 | 48b8ad96a620abe0e6bb7ce4cdacf66882e3360a | TemplatePath: normalizeUrlPath | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -132,13 +132,23 @@ TemplatePath.hasTrailingSlash = function(path, pathIsNormalized = false) {\nreturn path.endsWith(pathSeparator);\n};\n-TemplatePath.normalizeUrlPath = function(...paths) {\... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: normalizeUrlPath |
669 | 11.01.2019 16:54:07 | -3,600 | d2cb60b0a69438ca2cf3eeb591efc19856a7f8ce | TemplatePath: absolutePath + relativePath | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -85,7 +85,7 @@ class Eleventy {\n// reload package.json values (if applicable)\n// TODO only reset this if it changed\n- delete require.cache[TemplatePath.localPath(\"package.json\")];\n+ delete requ... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: absolutePath + relativePath |
669 | 11.01.2019 16:59:17 | -3,600 | 22ee8052b9b6a0cb81b8ac0de2f2d6ec5929434e | TemplatePath: addLeadingDotSlash + addLeadingDotSlashArray | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -177,22 +177,31 @@ TemplatePath.relativePath = function(absolutePath) {\n);\n};\n+/**\n+ * Adds a leading dot-slash segment to each path in the `paths` array.\n+ *\n+ * @param {String[]} path... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: addLeadingDotSlash + addLeadingDotSlashArray |
669 | 11.01.2019 17:02:03 | -3,600 | 1f6d587fd920b5df64226c61fa00099819b9f739 | TemplatePath: stripLeadingDotSlash | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -205,12 +205,18 @@ TemplatePath.addLeadingDotSlash = function(path) {\nreturn \"./\" + path;\n};\n-TemplatePath.stripLeadingDots = function(str) {\n- return str.replace(/^\\.*/, \"\");\n+/**\... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: stripLeadingDotSlash |
669 | 11.01.2019 17:03:53 | -3,600 | a106f178874118049b3a35b38e5414619964a9f7 | TemplatePath: startsWithSubPath | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -262,7 +262,7 @@ Arguments:\nthis.watcher.add(this.watchTargets.getNewTargetsSinceLastReset());\nlet isInclude =\n- path && TemplatePath.contains(path, this.eleventyFiles.getIncludesDir());\n+ path &... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: startsWithSubPath |
669 | 11.01.2019 17:07:12 | -3,600 | f57c3ed97e6581f40739c9dba91f4d90fe8db69a | TemplatePath: stripLeadingSubPath | [
{
"change_type": "MODIFY",
"old_path": "docs-src/.eleventy.docs.js",
"new_path": "docs-src/.eleventy.docs.js",
"diff": "@@ -9,7 +9,7 @@ module.exports = {\n},\nnunjucksFilters: {\nremoveDir: function(str) {\n- return TemplatePath.stripPathFromDir(\n+ return TemplatePath.stripLeadingSubPath(\nstr,\nT... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: stripLeadingSubPath |
669 | 11.01.2019 17:45:07 | -3,600 | 1469a133bd53e556d19b41b51af6f9ce7e50f8c6 | TemplatePath: isDirectorySync | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -248,6 +248,10 @@ TemplatePath.stripLeadingSubPath = function(path, subPath) {\nreturn path;\n};\n+/**\n+ * @param {String} path A path\n+ * @returns {Boolean} whether `path` points to an exi... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: isDirectorySync |
669 | 11.01.2019 17:45:56 | -3,600 | c775a6ac89726595f6c3c4c25c08b04efcd8a13e | TemplatePath: convertToRecursiveGlob | [
{
"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.convertToGlob(inputDir);\n+ let dir = TemplatePath.convertToRecursi... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: convertToRecursiveGlob |
669 | 11.01.2019 17:46:40 | -3,600 | ebaf14772acb8347abbab2f0a7be09da4761a3ad | TemplatePath: getExtension | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePathTest.js",
"new_path": "test/TemplatePathTest.js",
"diff": "@@ -211,7 +211,7 @@ test(\"convertToRecursiveGlob\", t => {\n);\n});\n-test(\"Get extension\", t => {\n+test(\"getExtension\", t => {\nt.is(TemplatePath.getExtension(\"\"), \"\");\nt.i... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: getExtension |
669 | 11.01.2019 17:47:05 | -3,600 | adb44cb557fdc16f270512a9448e81fb5410306e | TemplatePath: removeExtension | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -290,16 +290,21 @@ TemplatePath.getExtension = function(thePath) {\nreturn path.extname(thePath).replace(/^\\./, \"\");\n};\n-TemplatePath.removeExtension = function(path, extension) {\n- let... | JavaScript | MIT License | 11ty/eleventy | TemplatePath: removeExtension |
669 | 13.01.2019 13:13:05 | -3,600 | 2c96b701012fe3186bf079d8395e8941072450a6 | Refactor normalizeUrlPath, remove hasTrailingSlash | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -111,46 +111,17 @@ TemplatePath.join = function(...paths) {\nreturn normalize(path.join(...paths));\n};\n-/**\n- * Determines whether a path ends in a path separating character.\n- *\n- * @pa... | JavaScript | MIT License | 11ty/eleventy | Refactor normalizeUrlPath, remove hasTrailingSlash |
699 | 08.02.2019 10:10:14 | 21,600 | c9dab7b3abaf5d5135b05a4cab49e5a009328455 | Start of refactor for | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -9,8 +9,9 @@ class TemplateCollection extends Sortable {\n// right now this is only used by the tests\nasync _testAddTemplate(template) {\n- let templateMap = await template.getMa... | JavaScript | MIT License | 11ty/eleventy | Start of refactor for #253 |
699 | 09.02.2019 20:47:32 | 21,600 | 66c4771b384eefbf4b6901c0c555d04be6a6768a | Back to working tests with refactored code. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.1\",\n- \"ava\": \"^1.1.0\",\n+ \"ava\": \"^1.2.1\",\n\"husky\": \"^1.3.1\",\n\"lint-staged\": \"^8.1.0\",\n\"markdown-it-emoji\":... | JavaScript | MIT License | 11ty/eleventy | Back to working tests with refactored code. |
699 | 10.02.2019 11:16:59 | 21,600 | 20eabbd633617e68459b65a2a2d891b473366d94 | Fixes but needs opt-in | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -596,6 +596,7 @@ class Template extends TemplateContent {\n}\n}\n+ // TODO get rid of this or simplify it, this is a placeholder for getTemplates() entries\nasync getInitialMapEntries() {\nlet data =... | JavaScript | MIT License | 11ty/eleventy | Fixes #253 but needs opt-in |
699 | 10.02.2019 22:07:54 | 21,600 | 704d0cb7077eb662a3d475ffbe8793d7a748b90b | Adds opt-in for | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -104,7 +104,7 @@ class TemplateMap {\n// console.log( depEntry, \"Input file\" );\nlet map = this._getMapEntryForInputPath(depEntry);\nmap._pages = await map.template.getTemplates(map.data);\n-... | JavaScript | MIT License | 11ty/eleventy | Adds opt-in for #253. |
699 | 10.02.2019 22:37:24 | 21,600 | 0d060e4b8f753ef39f0dd07920b7b363f4851e6a | Fix for string tags | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -41,7 +41,11 @@ class TemplateMap {\nfor (let entry of this.map) {\ngraph.addNode(entry.inputPath);\nif (entry.data.tags) {\n- for (let tag of entry.data.tags) {\n+ let tags = entry.data.tags;\... | JavaScript | MIT License | 11ty/eleventy | Fix for string tags #253 |
699 | 11.02.2019 09:05:13 | 21,600 | a2cc3b9cd6b27ce13e00a08301fc6e8f165be5df | Unskip a test. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateMapTest.js",
"new_path": "test/TemplateMapTest.js",
"diff": "@@ -19,6 +19,11 @@ let tmpl4 = new Template(\n\"./test/stubs/\",\n\"./test/stubs/_site\"\n);\n+let tmpl5 = new Template(\n+ \"./test/stubs/templateMapCollection/test5.md\",\n+ \"./test/s... | JavaScript | MIT License | 11ty/eleventy | Unskip a test. |
699 | 11.02.2019 21:45:57 | 21,600 | fd869025b544df53ae8f97d5d31659df6ccfe4f6 | Better for normalizes "string" tags to array in more places. Fixes `templateContent` missing in a few places. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -409,6 +409,7 @@ class Template extends TemplateContent {\nthis.paging = new Pagination(data);\nthis.paging.setTemplate(this);\nlet templates = await this.paging.getPageTemplates();\n+ let pageNumber... | JavaScript | MIT License | 11ty/eleventy | Better for #253, normalizes "string" tags to array in more places. Fixes `templateContent` missing in a few places. |
699 | 13.02.2019 22:01:35 | 21,600 | ff2a4337759645c0cde599cc5e428d3a7b372fbf | Better template maps with user collections, uses two-pass to work around circular graphs | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -339,7 +339,7 @@ class TemplateData {\nstatic cleanupData(data) {\nif (\"tags\" in data && typeof data.tags === \"string\") {\n- data.tags = [data.tags];\n+ data.tags = data.tags ? [data.tags... | JavaScript | MIT License | 11ty/eleventy | Better template maps with user collections, uses two-pass to work around circular graphs |
699 | 13.02.2019 22:37:26 | 21,600 | bde5d9502241b987ba9c3118a17bfed66235122b | Simplified duplicate template map methods | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -124,7 +124,6 @@ class TemplateMap {\n}\nasync initDependencyMap(dependencyMap) {\n- // console.log( \"initializing\", dependencyMap );\nlet tagPrefix = \"___TAG___\";\nfor (let depEntry of dep... | JavaScript | MIT License | 11ty/eleventy | Simplified duplicate template map methods |
699 | 14.02.2019 20:33:41 | 21,600 | 0d3ba6c9f59b42bb0306aac75531f40b0c400e0a | Go deep on template local data dirs | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateDataTest.js",
"new_path": "test/TemplateDataTest.js",
"diff": "@@ -210,6 +210,25 @@ test(\"getLocalDataPaths\", async t => {\n]);\n});\n+test(\"Deeper getLocalDataPaths\", async t => {\n+ let dataObj = new TemplateData(\"./\");\n+ let paths = awai... | JavaScript | MIT License | 11ty/eleventy | Go deep on template local data dirs |
669 | 15.02.2019 08:56:45 | -3,600 | cf2d5bd51bcba231520e717b6e26c0665c929efb | Undo test result re-ordering | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePathTest.js",
"new_path": "test/TemplatePathTest.js",
"diff": "@@ -31,13 +31,13 @@ test(\"getAllDirs\", t => {\nt.deepEqual(TemplatePath.getAllDirs(\"testing/\"), [\"testing\"]);\nt.deepEqual(TemplatePath.getAllDirs(\"testing\"), [\"testing\"]);\n... | JavaScript | MIT License | 11ty/eleventy | Undo test result re-ordering |
669 | 15.02.2019 08:57:14 | -3,600 | c1ff9c0a5917a3ef1321ba63fb210c5a3684bd6c | TemplatePath.getAllDirs: Reverse result array to match previous implementation | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -79,7 +79,8 @@ TemplatePath.getAllDirs = function(path) {\nreturn path\n.split(\"/\")\n.map(segment => path.substring(0, path.indexOf(segment) + segment.length))\n- .filter(path => path !== \... | JavaScript | MIT License | 11ty/eleventy | TemplatePath.getAllDirs: Reverse result array to match previous implementation |
699 | 17.02.2019 23:23:10 | 21,600 | 5364334200139f9d29c230827f058eaca677a984 | eleventyExcludeFromCollections data option will exclude template from any collections (including collections.all) | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -157,8 +157,10 @@ class TemplateMap {\n(map.data.pagination &&\nmap.data.pagination.addAllPagesToCollections)\n) {\n+ if (!map.data.eleventyExcludeFromCollections) {\nthis.collection.add(page);... | JavaScript | MIT License | 11ty/eleventy | eleventyExcludeFromCollections data option will exclude template from any collections (including collections.all) |
699 | 20.02.2019 21:13:15 | 21,600 | f2de24821b47dfbeef1fff9716d4f442bb93060a | PERFORMANCE BOOST: Reuses template content without layouts from template map instead of separate renders for collections and full template files. (Will attempt to re-render if encounters a templateContent that is not yet available)
Will now throw an error when encountering circular templateContent references (instead of just failing silently). | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/EleventyErrorUtil.js",
"diff": "+const TemplateContentPrematureUseError = require(\"./Errors/TemplateContentPrematureUseError\");\n+\n+class EleventyErrorUtil {\n+ static isPrematureTemplateContentError(e) {\n+ // TODO the rest of the templa... | JavaScript | MIT License | 11ty/eleventy | PERFORMANCE BOOST: Reuses template content without layouts from template map instead of separate renders for collections and full template files. (Will attempt to re-render if encounters a templateContent that is not yet available)
Will now throw an error when encountering circular templateContent references (instead of just failing silently). |
699 | 21.02.2019 21:24:21 | 21,600 | fc7221666711cf1e65f2e6eca86a57d4883db73e | More tests for premature template content errors. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -519,9 +519,7 @@ class Template extends TemplateContent {\n}\n}\n- async writeMapEntry(mapEntry) {\n- let promises = [];\n- for (let page of mapEntry._pages) {\n+ async renderPageEntry(mapEntry, page... | JavaScript | MIT License | 11ty/eleventy | More tests for premature template content errors. |
699 | 22.02.2019 08:29:33 | 21,600 | b7b47419e545887dcfbedc4d72300e972267b62b | Fixes and another npm audit warning for `nyc` too. One low vuln exists for browser-sync but we are on the latest version | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"husky\": \"^1.3.1\",\n\"lint-staged\": \"^8.1.0\",\n\"markdown-it-emoji\": \"^1.4.0\",\n- \"nyc\": \"^13.1.0\",\n+ \"nyc\": \"^13.3.0\",\n\"prettier\": \"^1.15.3\",\n\"viperhtml\": \"^2.17.0\",\n\"vue\": \"... | JavaScript | MIT License | 11ty/eleventy | Fixes #424 and another npm audit warning for `nyc` too. One low vuln exists for browser-sync but we are on the latest version |
699 | 07.03.2019 21:52:21 | 21,600 | 0812197b614432668f66ce9b62a524af49aef581 | Adds working tests for | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderHandlebarsTest.js",
"new_path": "test/TemplateRenderHandlebarsTest.js",
"diff": "@@ -174,3 +174,38 @@ test(\"Handlebars Render Paired Shortcode with a Nested Single Shortcode\", async\n\"<p>This is a CHILD CONTENTHOWDYZACH.</p>\"\n);\n});\n+... | JavaScript | MIT License | 11ty/eleventy | Adds working tests for #436 |
699 | 08.03.2019 14:45:06 | 21,600 | f7de5b4844a4d174b1d578a52716f283228036fc | Test confirms is fixed. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateDataTest.js",
"new_path": "test/TemplateDataTest.js",
"diff": "@@ -320,3 +320,23 @@ test(\"TemplateData.cleanupData\", t => {\ntags: [\"test1\", \"test2\"]\n});\n});\n+\n+test(\"Parent directory for data\", async t => {\n+ let dataObj = new Templa... | JavaScript | MIT License | 11ty/eleventy | Test confirms #337 is fixed. |
699 | 08.03.2019 21:07:10 | 21,600 | ecf29bd710fbafa3c7fb2372bf529e6c76d1cd0d | Updating handlebars | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"fs-extra\": \"^7.0.1\",\n\"gray-matter\": \"^4.0.1\",\n\"hamljs\": \"^0.6.2\",\n- \"handlebars\": \"^4.0.13\",\n+ \"handlebars\": \"^4.1.0\",\n\"javascript-stringify\": \"^1.6.0\",\n\"liquidjs\": \"^6.2.0\"... | JavaScript | MIT License | 11ty/eleventy | Updating handlebars |
699 | 10.03.2019 22:11:52 | 18,000 | 8610d473deca4e4e7853e0617764f462ec15b179 | Regression in config updates, config path from chokidar needed leading dot slash. Might fix Not sure yet. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -232,10 +232,14 @@ Arguments:\nconfig.reset();\nthis.config = config.getConfig();\n- this.eleventyServe.updateConfig(this.config);\n+ this.eleventyServe.config = this.config;\n}\nasync _watch(path) {... | JavaScript | MIT License | 11ty/eleventy | Regression in config updates, config path from chokidar needed leading dot slash. Might fix #340? Not sure yet. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.