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
731
16.02.2019 15:02:06
-3,600
9a626b012b26407b1e87f37c12cea241beabfb0b
issue fixed, check for .gitignore empty and " " to take default Added tests: - test no .eleventyignore, .gitignore exists but empty - test .eleventyignore, .gitignore exists but empty - .gitignore with spaces takes default
[ { "change_type": "MODIFY", "old_path": "src/EleventyFiles.js", "new_path": "src/EleventyFiles.js", "diff": "@@ -129,14 +129,20 @@ class EleventyFiles {\nlet dir = TemplatePath.getDirFromFilePath(ignorePath);\ndirs.push(dir);\n- if (fs.existsSync(ignorePath)) {\n+ if (fs.existsSync(ignorePath) && fs....
JavaScript
MIT License
11ty/eleventy
issue #389 fixed, check for .gitignore empty and " " to take default Added tests: - test no .eleventyignore, .gitignore exists but empty - test .eleventyignore, .gitignore exists but empty - .gitignore with spaces takes default
699
16.03.2019 20:52:45
18,000
17fe483a04e1c7f76137c78e293460b25e94a662
Change TemplateLayoutPathResolver so that you pass in inputDir and it figures out the layouts directory internally.
[ { "change_type": "MODIFY", "old_path": "src/TemplateLayout.js", "new_path": "src/TemplateLayout.js", "diff": "@@ -12,13 +12,9 @@ class TemplateLayout extends TemplateContent {\nconstructor(key, inputDir) {\n// TODO getConfig() is duplicated in TemplateContent (super)\nlet cfg = config.getConfig();\n...
JavaScript
MIT License
11ty/eleventy
Change TemplateLayoutPathResolver so that you pass in inputDir and it figures out the layouts directory internally.
699
16.03.2019 21:28:39
18,000
f5bd488d5da977b6078f2558d068d54dd07d7505
All of these getInputDir calls were incorrectly named.
[ { "change_type": "MODIFY", "old_path": "src/Engines/Ejs.js", "new_path": "src/Engines/Ejs.js", "diff": "const ejsLib = require(\"ejs\");\nconst TemplateEngine = require(\"./TemplateEngine\");\nconst config = require(\"../Config\");\n-const path = require(\"path\");\nclass Ejs extends TemplateEngine ...
JavaScript
MIT License
11ty/eleventy
All of these getInputDir calls were incorrectly named.
699
16.03.2019 21:29:51
18,000
82ce52ec18f17283c8b94674a2fb2880e3176e00
Adds tests for when a layouts folder exists.
[ { "change_type": "MODIFY", "old_path": "src/TemplateLayoutPathResolver.js", "new_path": "src/TemplateLayoutPathResolver.js", "diff": "@@ -6,7 +6,7 @@ const debug = require(\"debug\")(\"Eleventy:TemplateLayoutPathResolver\");\nclass TemplateLayoutPathResolver {\nconstructor(path, inputDir) {\n- this....
JavaScript
MIT License
11ty/eleventy
Adds tests for when a layouts folder exists.
699
16.03.2019 21:36:56
18,000
e59bcfcdfddae96afaa4efc6d4b7f4e801b6d0ab
Add tests for empty string layouts and empty string includes folders.
[ { "change_type": "MODIFY", "old_path": "test/TemplateLayoutPathResolverTest.js", "new_path": "test/TemplateLayoutPathResolverTest.js", "diff": "@@ -15,6 +15,36 @@ test(\"Layout already has extension\", t => {\n);\n});\n+test(\"Layout (uses empty string includes folder)\", t => {\n+ let res = new Tem...
JavaScript
MIT License
11ty/eleventy
Add tests for empty string layouts and empty string includes folders.
699
22.03.2019 20:19:56
18,000
d75a04e1daa25bdd709e507531f1b96a8ef0f1bb
Adds another test for
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderHandlebarsTest.js", "new_path": "test/TemplateRenderHandlebarsTest.js", "diff": "@@ -152,6 +152,23 @@ test(\"Handlebars Render Paired Shortcode\", async t => {\nt.is(await fn({ name: \"Howdy\" }), \"<p>This is a TESTINGHOWDY.</p>\");\n});\n+...
JavaScript
MIT License
11ty/eleventy
Adds another test for #460
699
22.03.2019 22:03:55
18,000
0ee0282f27aa43f14e2732cc30c7f3620ebbdbec
Test cases for and
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -27,6 +27,39 @@ test(\"Nunjucks Render Include\", async t => {\nt.is(await fn(), \"<p>This is an include.</p>\");\n});\n+test(\"Nunjucks Render Include a JS file...
JavaScript
MIT License
11ty/eleventy
Test cases for #398 and #413
699
28.03.2019 20:32:42
18,000
cff8446a751ee49816f35bb78b37e2e6c2c25c06
Updates a few deps minor versions
[ { "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.3.1\",\n+ \"ava\": \"^1.4.1\",\n\"husky\": \"^1.3.1\",\n- \"lint-staged\": \"^8.1.0\",\n+ \"lint-staged\": \...
JavaScript
MIT License
11ty/eleventy
Updates a few deps minor versions
699
28.03.2019 20:41:16
18,000
04fd05a62043aa3bad7be243294a8ae97f7b9e0b
Major release update javascript-stringify 1.6 -> 2.0 (rewrite in TypeScript, changes API signature)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"fs-extra\": \"^7.0.1\",\n\"gray-matter\": \"^4.0.2\",\n\"hamljs\": \"^0.6.2\",\n- \"javascript-stringify\": \"^1.6.0\",\n- \"liquidjs\": \"^6.2.0\",\n\"handlebars\": \"^4.1.1\",\n+ \"javascript-stringify\":...
JavaScript
MIT License
11ty/eleventy
Major release update javascript-stringify 1.6 -> 2.0 (rewrite in TypeScript, changes API signature)
699
28.03.2019 20:44:12
18,000
ed922d62034e26fd7f70e8ebf8e5b0678b202e7c
semver major version update (should have no affect)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"pretty\": \"^2.0.0\",\n\"pug\": \"^2.0.3\",\n\"recursive-copy\": \"^2.0.10\",\n- \"semver\": \"^5.6.0\",\n+ \"semver\": \"^6.0.0\",\n\"slugify\": \"^1.3.4\",\n\"time-require\": \"^0.1.2\",\n\"valid-url\": \...
JavaScript
MIT License
11ty/eleventy
semver major version update (should have no affect) https://github.com/npm/node-semver/blob/master/CHANGELOG.md#60
699
28.03.2019 21:01:54
18,000
fac2861fc4ad5fec79077b01fc7e6462b1457426
Updates liquidjs (minor version)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.1.1\",\n\"javascript-stringify\": \"^2.0.0\",\n- \"liquidjs\": \"^6.2.0\",\n+ \"liquidjs\": \"^6.4.3\",\n\"lodash\": \"^4.17.11\",\n\"luxon\": \"^1.12.0\",\n\"mar...
JavaScript
MIT License
11ty/eleventy
Updates liquidjs (minor version)
699
05.04.2019 22:32:40
18,000
2ab149e74fcdb0419ad77e36cfe3e1d3311d274f
Fix jenkins builds (just ordering problems in the tests)
[ { "change_type": "MODIFY", "old_path": "test/TemplateMapTest.js", "new_path": "test/TemplateMapTest.js", "diff": "@@ -897,20 +897,22 @@ test(\"Paginate over collections.all\", async t => {\nlet collections = await tm.getCollectionsData();\nt.is(collections.all.length, 4);\nt.is(\n- collections.all[0...
JavaScript
MIT License
11ty/eleventy
Fix jenkins builds (just ordering problems in the tests)
699
09.04.2019 22:12:53
18,000
1abdedf8349a6babfe9849311fd85515900bd302
A few more linter/transform tests.
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -525,7 +525,7 @@ class Template extends TemplateContent {\n);\ncontent = await layout.render(page.data, page.templateContent);\nawait this.runLinters(content, page.inputPath, page.outputPath);\n- con...
JavaScript
MIT License
11ty/eleventy
A few more linter/transform tests.
704
11.04.2019 06:25:32
14,400
19501f5337bc65370119146ecd9dd3bb21181b49
forces uses of posix path separator in url normalization
[ { "change_type": "MODIFY", "old_path": "src/TemplatePath.js", "new_path": "src/TemplatePath.js", "diff": "@@ -121,7 +121,7 @@ TemplatePath.join = function(...paths) {\n* @returns {String} a normalized URL path described by the given URL path segments.\n*/\nTemplatePath.normalizeUrlPath = function(.....
JavaScript
MIT License
11ty/eleventy
forces uses of posix path separator in url normalization
699
11.04.2019 10:30:21
18,000
f452534ba9cbee92f8f9e22e8fd08fcffc932755
Updates license year
[ { "change_type": "MODIFY", "old_path": "LICENSE", "new_path": "LICENSE", "diff": "MIT License\n-Copyright (c) 2018 Zach Leatherman @zachleat\n+Copyright (c) 2019 Zach Leatherman @zachleat\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated d...
JavaScript
MIT License
11ty/eleventy
Updates license year
699
11.04.2019 10:57:04
18,000
ec6e7636b975816aab0c76e9575633cb351e1fbe
The only remaining test failure for Windows per
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -39,12 +39,10 @@ test(\"Nunjucks Render Include a JS file (Issue 398)\", async t => {\n\"{% set ga %}{% include 'test.js' %}{% endset %}{{ ga | safe | jsmin }}\"...
JavaScript
MIT License
11ty/eleventy
The only remaining test failure for Windows per https://travis-ci.org/11ty/eleventy/jobs/518833095 #353
699
11.04.2019 11:09:04
18,000
90b75df8e4c6b842d7183d0d0527e233363c1255
Ugh, okay one more time for
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -38,12 +38,7 @@ test(\"Nunjucks Render Include a JS file (Issue 398)\", async t => {\nlet fn = await tr.getCompiledTemplate(\n\"{% set ga %}{% include 'test.js' ...
JavaScript
MIT License
11ty/eleventy
Ugh, okay one more time for #353
669
14.04.2019 08:05:44
-7,200
a30ac00de9f34cc15b4de96ff839607f4a7b6b90
Fix getAllDirs not handling segments of equal name
[ { "change_type": "MODIFY", "old_path": "src/TemplatePath.js", "new_path": "src/TemplatePath.js", "diff": "@@ -78,9 +78,7 @@ TemplatePath.getAllDirs = function(path) {\nreturn path\n.split(\"/\")\n- .map(segment =>\n- path.substring(0, path.lastIndexOf(segment) + segment.length)\n- )\n+ .map((segment...
JavaScript
MIT License
11ty/eleventy
Fix getAllDirs not handling segments of equal name
699
14.04.2019 13:23:22
18,000
5cfdbe6153bb153e319c62d2d148d7e60b81426f
Just another test for why not
[ { "change_type": "MODIFY", "old_path": "test/TemplatePathTest.js", "new_path": "test/TemplatePathTest.js", "diff": "@@ -59,6 +59,14 @@ test(\"getAllDirs\", t => {\n\"./src/_site\",\n\"./src\"\n]);\n+\n+ t.deepEqual(TemplatePath.getAllDirs(\"./src/_site/src/src/src\"), [\n+ \"./src/_site/src/src/src\...
JavaScript
MIT License
11ty/eleventy
Just another test for #484, why not
699
15.04.2019 21:14:31
18,000
442d5ee5f8362811ee8b0105c0d8287af3f23afa
Add test for async addCollection
[ { "change_type": "MODIFY", "old_path": "test/TemplateMapTest.js", "new_path": "test/TemplateMapTest.js", "diff": "@@ -994,3 +994,22 @@ test(\"Test a transform with a layout (via templateMap)\", async t => {\n}\n}\n});\n+\n+test(\"Async user collection addCollection method\", async t => {\n+ let tm =...
JavaScript
MIT License
11ty/eleventy
Add test for async addCollection
699
04.05.2019 12:41:38
18,000
07cb65e08dc93a6b86d7167ea35f0bc92ee1c972
Coverage stats for 0.8.3
[ { "change_type": "MODIFY", "old_path": "docs-src/_data/coverage.json", "new_path": "docs-src/_data/coverage.json", "diff": "-{\"total\": {\"lines\":{\"total\":2637,\"covered\":2332,\"skipped\":0,\"pct\":88.43},\"statements\":{\"total\":2651,\"covered\":2346,\"skipped\":0,\"pct\":88.49},\"functions\"...
JavaScript
MIT License
11ty/eleventy
Coverage stats for 0.8.3
699
04.05.2019 15:33:37
18,000
bfe4af424407061b95340ae19f6cc93f803323e1
Make tests work with out of order results.
[ { "change_type": "MODIFY", "old_path": "test/TemplateWriterTest.js", "new_path": "test/TemplateWriterTest.js", "diff": "@@ -547,10 +547,8 @@ test(\"Markdown with alias\", async t => {\n\"./test/stubs/writeTestMarkdown/**/*.md\",\n\"./test/stubs/writeTestMarkdown/**/*.markdown\"\n]);\n- t.deepEqual(f...
JavaScript
MIT License
11ty/eleventy
Make tests work with out of order results.
699
28.05.2019 20:55:33
18,000
4c69043bc60f3e42cfe173c2c9ad152538907c19
New test, related to
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderLiquidTest.js", "new_path": "test/TemplateRenderLiquidTest.js", "diff": "@@ -104,6 +104,28 @@ test(\"Liquid Custom Tag postfixWithZach\", async t => {\n);\n});\n+test(\"Liquid Custom Tag Unquoted String\", async t => {\n+ let tr = new Templa...
JavaScript
MIT License
11ty/eleventy
New test, related to #544
699
07.06.2019 22:40:42
18,000
cff8af20b19fe65c6b31d28e54516bc2739bd82c
Use less verbose test output for pre-push
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"scripts\": {\n\"default\": \"npm run test\",\n- \"test\": \"npx nyc ava\",\n+ \"test\": \"npx ava --verbose\",\n\"lint-staged\": \"lint-staged\",\n- \"coverage\": \"npm run test && npx nyc report --repo...
JavaScript
MIT License
11ty/eleventy
Use less verbose test output for pre-push
699
08.06.2019 13:26:28
18,000
dd64f236fef61d0b326970ade449bda03aefe479
Improvements to One error at a time, better output, tests around EleventyErrorHandler.
[ { "change_type": "MODIFY", "old_path": "src/TemplateMap.js", "new_path": "src/TemplateMap.js", "diff": "-const chalk = require(\"chalk\");\nconst isPlainObject = require(\"lodash/isPlainObject\");\nconst DependencyGraph = require(\"dependency-graph\").DepGraph;\nconst TemplateCollection = require(\"...
JavaScript
MIT License
11ty/eleventy
Improvements to #562. One error at a time, better output, tests around EleventyErrorHandler.
699
12.06.2019 08:21:35
18,000
f014f56f26c3df71de3520558c0034e9cae8fb59
Test added for
[ { "change_type": "MODIFY", "old_path": "test/TemplateDataTest.js", "new_path": "test/TemplateDataTest.js", "diff": "@@ -313,6 +313,7 @@ test(\"TemplateData.merge\", t => {\ntest(\"TemplateData.cleanupData\", t => {\nt.deepEqual(TemplateData.cleanupData({}), {});\n+ t.deepEqual(TemplateData.cleanupDa...
JavaScript
MIT License
11ty/eleventy
Test added for #557 #556
680
14.06.2019 16:22:36
14,400
4d1f5033bd255f6ceaa13874ca3648683a68b6ca
Add Layouts Directory to debug output
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -166,6 +166,7 @@ class Eleventy {\nInput: ${this.inputDir}\nData: ${this.templateData.getDataDir()}\nIncludes: ${this.eleventyFiles.getIncludesDir()}\n+Layouts: ${this.eleventyFiles.getLayoutsDir()}\...
JavaScript
MIT License
11ty/eleventy
Add Layouts Directory to debug output
699
15.06.2019 13:22:38
18,000
045e033595e05bdd0a0a9577a10003f23c969195
Skip unimplemented tests (they failed on Windows in https://github.com/11ty/eleventy/pull/570)
[ { "change_type": "MODIFY", "old_path": "test/TemplateWriterTest.js", "new_path": "test/TemplateWriterTest.js", "diff": "@@ -526,7 +526,7 @@ test(\"Write Test 11ty.js\", async t => {\n);\n});\n-test(\"Markdown with alias\", async t => {\n+test.skip(\"Markdown with alias\", async t => {\nlet map = new...
JavaScript
MIT License
11ty/eleventy
Skip unimplemented tests (they failed on Windows in https://github.com/11ty/eleventy/pull/570)
699
15.06.2019 20:01:04
18,000
e127ca1e05e9d607b85018740432fc396e449e7b
Major version upgrades to ava and nyc (devDependencies only)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.3\",\n- \"ava\": \"^1.4.1\",\n+ \"ava\": \"^2.1.0\",\n\"lint-staged\": \"^8.2.1\",\n\"markdown-it-emoji\": \"^1.4.0\",\n- \"nyc\":...
JavaScript
MIT License
11ty/eleventy
Major version upgrades to ava and nyc (devDependencies only)
670
17.03.2019 11:22:22
-28,800
585f81a7aff50797302c84eef18e1c77340d8e2d
Add support for passthrough with directory remapping
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -22,12 +22,6 @@ class TemplatePassthrough {\n}\nasync write() {\n- // debug(\n- // `${this.path} has no TemplateEngine engine and will copy to ${\n- // this.outputDir\n- // }`\n...
JavaScript
MIT License
11ty/eleventy
Add support for passthrough with directory remapping
670
17.03.2019 12:31:53
-28,800
32fb716759b9b2fe64e9b34c2b7219cda3dfe3fa
Resolve issues with outpur paths
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -3,18 +3,22 @@ const TemplatePath = require(\"./TemplatePath\");\nconst debug = require(\"debug\")(\"Eleventy:TemplatePassthrough\");\nclass TemplatePassthrough {\n- constructor...
JavaScript
MIT License
11ty/eleventy
Resolve issues with outpur paths
670
04.05.2019 16:51:47
-28,800
3788c07bf67f0dd1e4a53229622510d1ddc28910
Fix async write issue
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -38,7 +38,10 @@ class TemplatePassthrough {\nasync getFiles(glob) {\ndebug(\"Searching for: %o\", glob);\n- return TemplatePath.addLeadingDotSlashArray(await fastglob.async(glob...
JavaScript
MIT License
11ty/eleventy
Fix async write issue
670
04.05.2019 17:25:12
-28,800
fb8621ca0da02d9dc998efce16aa637ea2eaa92d
Sort when comparing arrays because some versions of node... I don't really know why but order is different and it matters
[ { "change_type": "MODIFY", "old_path": "test/TemplateWriterTest.js", "new_path": "test/TemplateWriterTest.js", "diff": "@@ -583,14 +583,20 @@ test.skip(\"JavaScript with alias\", async t => {\nevf.init();\nlet files = await fastglob.async(evf.getFileGlobs());\n- t.deepEqual(evf.getRawFiles(), [\n+ t...
JavaScript
MIT License
11ty/eleventy
Sort when comparing arrays because some versions of node... I don't really know why but order is different and it matters
670
13.05.2019 11:24:57
-28,800
652867e541cd304714f11fc040a81a23c4248ed9
Update copy function to catch when destination is outside site output directory
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "const copy = require(\"recursive-copy\");\nconst fs = require(\"fs\");\n+const path = require(\"path\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst debug = require(\...
JavaScript
MIT License
11ty/eleventy
Update copy function to catch when destination is outside site output directory
670
13.05.2019 11:26:43
-28,800
320af9bb0206d2befb0eafd4007481e3965a28ec
Functions that return promises should not throw but reject with error. Pearent should catch
[ { "change_type": "MODIFY", "old_path": "src/TemplateWriter.js", "new_path": "src/TemplateWriter.js", "diff": "@@ -138,7 +138,6 @@ TemplateWriter.prototype._writeTemplate = async function(mapEntry) {\nTemplateWriter.prototype.write = async function() {\nlet promises = [];\nlet paths = await this._get...
JavaScript
MIT License
11ty/eleventy
Functions that return promises should not throw but reject with error. Pearent should catch
670
13.05.2019 11:27:20
-28,800
aa92655e9eb9c9a46a02b75ad71f470b26703ba4
update test for dest outside output dir
[ { "change_type": "MODIFY", "old_path": "test/TemplateWriterTest.js", "new_path": "test/TemplateWriterTest.js", "diff": "@@ -652,11 +652,45 @@ test(\"Passthrough file output\", async t => {\n\"./test/stubs/template-passthrough/_site/test.js\"\n];\noutput.forEach(path => {\n- if (!fs.existsSync(path))...
JavaScript
MIT License
11ty/eleventy
update test for dest outside output dir
670
13.05.2019 11:28:10
-28,800
378ace982013ab7d5894aed97989c5eff3c563f2
chore: remove year old dead code
[ { "change_type": "MODIFY", "old_path": "test/TemplateDataTest.js", "new_path": "test/TemplateDataTest.js", "diff": "@@ -11,13 +11,6 @@ test(\"Create\", async t => {\nt.true(Object.keys(data[config.keys.package]).length > 0);\n});\n-// test(\"Create (old method, file name not dir)\", async t => {\n-/...
JavaScript
MIT License
11ty/eleventy
chore: remove year old dead code
670
13.05.2019 13:18:59
-28,800
0a764704811a8c250cd8d40c4186e5b08f9970ce
fix windows paths for test
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -26,7 +26,9 @@ class TemplatePassthrough {\nTemplatePath.stripLeadingSubPath(inputPath, inputDir)\n);\n}\n- return path.normalize(TemplatePath.join(outputDir, outputPath));\n+ r...
JavaScript
MIT License
11ty/eleventy
fix windows paths for test
670
16.06.2019 10:22:53
-28,800
460d09cdddf28e00be00d5a476b4bc72cdc848e9
test removal of windows path fix
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -26,9 +26,8 @@ class TemplatePassthrough {\nTemplatePath.stripLeadingSubPath(inputPath, inputDir)\n);\n}\n- return path\n- .normalize(TemplatePath.join(outputDir, outputPath))\n...
JavaScript
MIT License
11ty/eleventy
test removal of windows path fix
670
16.06.2019 11:17:40
-28,800
7099d5f51884aa0b267957a6677b693739648d51
Normalise all paths in test
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -26,7 +26,6 @@ class TemplatePassthrough {\n);\n}\nreturn path.normalize(TemplatePath.join(outputDir, outputPath));\n- // .replace(/\\\\/g, \"/\"); // Fix for windows paths\n}\n...
JavaScript
MIT License
11ty/eleventy
Normalise all paths in test
670
16.06.2019 11:34:47
-28,800
4c3f89f4c290b7474086a609276c44b5e9cbed97
Rename getOutputPathForGlobFile
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "@@ -28,7 +28,7 @@ class TemplatePassthrough {\nreturn path.normalize(TemplatePath.join(outputDir, outputPath));\n}\n- getGlobOutputPath(globFile) {\n+ getOutputPathForGlobFile(glob...
JavaScript
MIT License
11ty/eleventy
Rename getOutputPathForGlobFile
670
16.06.2019 13:48:24
-28,800
0608138e8400a927d2ad9b0a0142ca7e2c1079bc
use TemplatePath.normalize rather than path.normalize
[ { "change_type": "UNKNOWN", "old_path": "package.json", "new_path": "package.json", "diff": "" }, { "change_type": "MODIFY", "old_path": "src/TemplatePassthrough.js", "new_path": "src/TemplatePassthrough.js", "diff": "const copy = require(\"recursive-copy\");\nconst fs = require(...
JavaScript
MIT License
11ty/eleventy
use TemplatePath.normalize rather than path.normalize
699
21.06.2019 17:34:44
18,000
303e4d48a387b178cf603471dc1dec548eb1ca07
Support customizing front matter parsing options passed to gray-matter plugin. See Fixes Needs docs.
[ { "change_type": "MODIFY", "old_path": "src/TemplateContent.js", "new_path": "src/TemplateContent.js", "diff": "@@ -69,11 +69,31 @@ class TemplateContent {\nthis.inputContent = await this.getInputContent();\nif (this.inputContent) {\n- this.frontMatter = matter(this.inputContent);\n+ let options = t...
JavaScript
MIT License
11ty/eleventy
Support customizing front matter parsing options passed to gray-matter plugin. See https://www.npmjs.com/package/gray-matter#options Fixes #410. Needs docs.
699
21.06.2019 20:19:30
18,000
6f6c4c0812456c4f318ea9ef5e5986b2dc388f0a
A bit more readable for
[ { "change_type": "MODIFY", "old_path": "src/TemplateContent.js", "new_path": "src/TemplateContent.js", "diff": "@@ -72,14 +72,9 @@ class TemplateContent {\nlet options = this.config.frontMatterParsingOptions || {};\nlet fm = matter(this.inputContent, options);\nif (options.excerpt && fm.excerpt) {\n...
JavaScript
MIT License
11ty/eleventy
A bit more readable for #410
699
21.06.2019 20:24:21
18,000
fb1082f0549e1f5da7a0ad11b01b6e4ca644304c
work without a newline after excerpt separator
[ { "change_type": "MODIFY", "old_path": "src/TemplateContent.js", "new_path": "src/TemplateContent.js", "diff": "@@ -72,8 +72,12 @@ class TemplateContent {\nlet options = this.config.frontMatterParsingOptions || {};\nlet fm = matter(this.inputContent, options);\nif (options.excerpt && fm.excerpt) {\n...
JavaScript
MIT License
11ty/eleventy
#410 work without a newline after excerpt separator
699
21.06.2019 20:45:37
18,000
bce2ae5070636350c2c0e5860acd9b32a3ecf95f
Custom aliasing for
[ { "change_type": "MODIFY", "old_path": "src/TemplateContent.js", "new_path": "src/TemplateContent.js", "diff": "const fs = require(\"fs-extra\");\nconst normalize = require(\"normalize-path\");\nconst matter = require(\"gray-matter\");\n+const lodashSet = require(\"lodash/set\");\nconst TemplateData...
JavaScript
MIT License
11ty/eleventy
Custom aliasing for #410
699
21.06.2019 20:59:34
18,000
b2c14c0961013ead03315ac62f7999783c251bf9
TOML test for
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"pre-commit\": \"^1.2.2\",\n\"pre-push\": \"^0.1.1\",\n\"prettier\": \"^1.18.2\",\n+ \"toml\": \"^3.0.0\",\n\"viperhtml\": \"^2.17.0\",\n\"vue\": \"^2.6.10\",\n\"vue-server-renderer\": \"^2.6.10\"\n" }, ...
JavaScript
MIT License
11ty/eleventy
TOML test for #410
699
24.06.2019 10:51:50
18,000
22c6ecaca6401b4253ed9dd1bae53b8c03f15d34
Tests for imports, extends, macros
[ { "change_type": "ADD", "old_path": null, "new_path": "test/stubs/_includes/included-relative.njk", "diff": "+akdlsjafkljdskl\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "test/stubs/njk-relative/dir/base.njk", "diff": "+<p>{% block co...
JavaScript
MIT License
11ty/eleventy
Tests for imports, extends, macros #190
699
24.06.2019 21:45:10
18,000
f36eaa6eb71c9c6fb8a1bcdc45c8792e15725ab2
Windows tests :(
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -1676,7 +1676,7 @@ test(\"Custom Front Matter Parsing Options\", async t => {\nt.is(frontmatter.data.page.excerpt.trim(), \"This is an excerpt.\");\nt.is(frontmatter.excerpt.trim(), \"This ...
JavaScript
MIT License
11ty/eleventy
Windows tests :(
699
25.06.2019 08:10:48
18,000
a1dde2166cf709ff0f82562e885ece32aba4b25e
Skip TOML parsing test (fails on Windows), failure in dependency
[ { "change_type": "MODIFY", "old_path": ".editorconfig", "new_path": ".editorconfig", "diff": "@@ -10,6 +10,3 @@ charset = utf-8\n[*.js]\ninsert_final_newline = true\n\\ No newline at end of file\n-\n-[*.njk]\n-insert_final_newline = true\n\\ No newline at end of file\n" }, { "change_type": "...
JavaScript
MIT License
11ty/eleventy
Skip TOML parsing test (fails on Windows), failure in dependency https://github.com/jonschlinkert/gray-matter/issues/92
699
04.07.2019 21:01:31
18,000
831df5f9a76d0c3d7b0034ab0ee7223494cd5fe3
Removes a bunch of static usage to get ready for
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "const TemplatePath = require(\"./TemplatePath\");\nconst TemplateData = require(\"./TemplateData\");\nconst TemplateWriter = require(\"./TemplateWriter\");\n+const EleventyExtensionMap = require(\"./Ele...
JavaScript
MIT License
11ty/eleventy
Removes a bunch of static usage to get ready for #117
699
04.07.2019 22:36:39
18,000
59c6aabba905731dbe6e57eb902d337dc7f62f32
More static removal
[ { "change_type": "MODIFY", "old_path": "src/Engines/Html.js", "new_path": "src/Engines/Html.js", "diff": "@@ -3,7 +3,7 @@ const TemplateEngine = require(\"./TemplateEngine\");\nclass Html extends TemplateEngine {\nasync compile(str, inputPath, preTemplateEngine) {\nif (preTemplateEngine) {\n- let en...
JavaScript
MIT License
11ty/eleventy
More static removal
699
05.07.2019 12:19:40
18,000
6a9da7bb53161634d76ec302a97ee54d8aacee0b
Also adds case sensitivity to the file names in the test for
[ { "change_type": "MODIFY", "old_path": "src/EleventyFiles.js", "new_path": "src/EleventyFiles.js", "diff": "@@ -278,7 +278,12 @@ class EleventyFiles {\ndebug(\"Searching for: %o\", globs);\nlet paths = TemplatePath.addLeadingDotSlashArray(\n- await fastglob.async(globs, { nocase: true, onlyFiles: tr...
JavaScript
MIT License
11ty/eleventy
Also adds case sensitivity to the file names in the test for #517
699
05.07.2019 15:53:37
18,000
6eabbc235fde1201f8c3eb8bc6832c3eacbf7dfd
Bunch more refactoring to get ready for
[ { "change_type": "MODIFY", "old_path": "src/EleventyExtensionMap.js", "new_path": "src/EleventyExtensionMap.js", "diff": "@@ -3,6 +3,7 @@ const config = require(\"./Config\");\nclass EleventyExtensionMap {\nconstructor(formatKeys) {\n+ this.config = config.getConfig();\nthis.setFormats(formatKeys);\...
JavaScript
MIT License
11ty/eleventy
Bunch more refactoring to get ready for #117
699
11.07.2019 22:17:25
18,000
b0a717079a17afb9e087ada1980501e587377819
Option to use a different default file extension for a template type.
[ { "change_type": "MODIFY", "old_path": "src/Engines/TemplateEngine.js", "new_path": "src/Engines/TemplateEngine.js", "diff": "@@ -118,6 +118,10 @@ class TemplateEngine {\ninitRequireCache(inputPath) {\n// do nothing\n}\n+\n+ get defaultTemplateFileExtension() {\n+ return \"html\";\n+ }\n}\nmodule.ex...
JavaScript
MIT License
11ty/eleventy
Option to use a different default file extension for a template type.
699
11.07.2019 22:18:05
18,000
5bdc077d4f190b3f491f42e82033fba027d30560
Adds sass test and filter option for addExtension
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"ava\": \"^2.1.0\",\n\"lint-staged\": \"^8.2.1\",\n\"markdown-it-emoji\": \"^1.4.0\",\n+ \"node-sass\": \"^4.12.0\",\n\"nyc\": \"^14.1.1\",\n\"pre-commit\": \"^1.2.2\",\n\"pre-push\": \"^0.1.1\",\n" }, {...
JavaScript
MIT License
11ty/eleventy
Adds sass test and filter option for addExtension
699
17.07.2019 20:53:48
18,000
0b92ca328b1824fd95b2b1fdea67ab0f35e742e8
Fixes error output in tests
[ { "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.1.0\",\n+ \"ava\": \"^2.2.0\",\n\"lint-staged\": \"^8.2.1\",\n\"markdown-it-emoji\": \"^1.4.0\",\n\"nyc\": \...
JavaScript
MIT License
11ty/eleventy
Fixes error output in tests
670
20.07.2019 10:54:40
-28,800
922222b6e42197af178324cd7e3f5a71f2bf6ac8
Remove test files from root
[ { "change_type": "DELETE", "old_path": "css/test-nested.css", "new_path": "css/test-nested.css", "diff": "" }, { "change_type": "DELETE", "old_path": "css/test.css", "new_path": "css/test.css", "diff": "" }, { "change_type": "MODIFY", "old_path": "test/TemplateWriterT...
JavaScript
MIT License
11ty/eleventy
Remove test files from root
699
19.07.2019 22:20:55
18,000
7327554e3a35b4dea177845b381988f39bba7cb5
Still has one failing test
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependency-graph\": \"^0.8.0\",\n\"dependency-tree\": \"^6.3.0\",\n\"ejs\": \"^2.6.2\",\n- \"fast-glob\": \"^2.2.7\",\n+ \"fast-glob\": \"^3.0.4\",\n\"fs-extra\": \"^7.0.1\",\n\"gray-matter\": \"^4.0.2\",\n...
JavaScript
MIT License
11ty/eleventy
Still has one failing test
699
22.07.2019 07:47:49
18,000
ab73549ac972197f18ec071ea5822bf351d66703
AVA uses only js extensions to find tests so use .js was superfluous. This also fixes some infinite looping in test watching where tests were writing to _site folders which would trigger another test run.
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"ava\": {\n\"files\": [\n- \"test/*.js\"\n+ \"test/*\"\n],\n\"sources\": [\n\"**/.eleventyignore\",\n\"src/**/*.js\",\n- \"test/stubs/**\"\n+ \"test/stubs/**\",\n+ \"!test/stubs/**/_site/**/*\"\n]\n},\n\...
JavaScript
MIT License
11ty/eleventy
AVA uses only js extensions to find tests so use .js was superfluous. This also fixes some infinite looping in test watching where tests were writing to _site folders which would trigger another test run.
699
22.07.2019 08:23:26
18,000
f15ef1ddf416b8ae407f66449790511b8bceae75
Trying to prevent watch loops
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"ava\": {\n\"files\": [\n- \"test/*\"\n+ \"./test/*\"\n],\n\"sources\": [\n- \"**/.eleventyignore\",\n- \"src/**/*.js\",\n- \"test/stubs/**\",\n- \"!test/stubs/**/_site/**/*\"\n+ \"./**/.eleventyignore\"...
JavaScript
MIT License
11ty/eleventy
Trying to prevent watch loops
699
23.07.2019 17:40:56
18,000
31c93bc2c1b19478700646cc39f79d34b1801bff
Adds two more tests for
[ { "change_type": "MODIFY", "old_path": "src/Engines/Liquid.js", "new_path": "src/Engines/Liquid.js", "diff": "@@ -17,7 +17,7 @@ class Liquid extends TemplateEngine {\nnumber: /[0-9]+\\.*[0-9]*/,\ndoubleQuoteString: /\"(?:\\\\[\"\\\\]|[^\\n\"\\\\])*\"/,\nsingleQuoteString: /'(?:\\\\['\\\\]|[^\\n'\\\\...
JavaScript
MIT License
11ty/eleventy
Adds two more tests for #600.
699
23.07.2019 20:23:11
18,000
550c1f0c312d1510d7352314f1b75f9038d470f8
Test for Nunjucks
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -783,6 +783,22 @@ test(\"getRenderedData() has all the page variables\", async t => {\nt.is(data.page.outputPath, \"./dist/template/index.html\");\n});\n+test(\"Issue #603: page.date.toUTCS...
JavaScript
MIT License
11ty/eleventy
Test for #603 Nunjucks
699
23.07.2019 21:24:28
18,000
25dd2af079115fe2b0276e1445b272a708b132c7
More tests for and docs.
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -783,10 +783,40 @@ test(\"getRenderedData() has all the page variables\", async t => {\nt.is(data.page.outputPath, \"./dist/template/index.html\");\n});\n+test(\"Issue #603: page.date Liqui...
JavaScript
MIT License
11ty/eleventy
More tests for #603 and docs.
699
23.07.2019 22:42:02
18,000
b2d33bc1f948f9ef5ff507a31a30990b1f20f2ee
Unskip the test it works in Nunjucks
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -418,7 +418,7 @@ test(\"Nunjucks Test if statements on arrays (Issue #524)\", async t => {\n);\n});\n-test.skip(\"Issue 611: Run a function\", async t => {\n+tes...
JavaScript
MIT License
11ty/eleventy
Unskip the test it works in Nunjucks #611.
699
25.07.2019 08:19:21
18,000
752b39ace127ab0a258785ca885621aaa6fada3d
Adds simplification code suggested by this awesome feedback from
[ { "change_type": "MODIFY", "old_path": "src/Engines/JavaScript.js", "new_path": "src/Engines/JavaScript.js", "diff": "@@ -15,23 +15,34 @@ class JavaScript extends TemplateEngine {\nreturn result;\n}\n+ _getInstance(mod) {\n+ if (typeof mod === \"string\" || mod instanceof Buffer || mod.then) {\n+ re...
JavaScript
MIT License
11ty/eleventy
Adds simplification code suggested by this awesome feedback from @jakearchibald https://github.com/11ty/eleventy/issues/622#issuecomment-514955817
699
25.07.2019 17:32:08
18,000
598397ec7608fb48c87619e1a92f783bb1cac399
More tests for Proceed gracefully if a render method is missing from class or object definition
[ { "change_type": "MODIFY", "old_path": "src/Engines/JavaScript.js", "new_path": "src/Engines/JavaScript.js", "diff": "@@ -15,7 +15,14 @@ class JavaScript extends TemplateEngine {\nreturn result;\n}\n+ // String, Buffer, Promise\n+ // Function, Class\n+ // Object\n_getInstance(mod) {\n+ let noop = fu...
JavaScript
MIT License
11ty/eleventy
More tests for #622. Proceed gracefully if a render method is missing from class or object definition
699
25.07.2019 20:53:50
18,000
fcba193f1f3d7bbd3cbd117e48b70ec37c681928
Updates to how excerpts work (docs already updated)
[ { "change_type": "MODIFY", "old_path": "src/TemplateContent.js", "new_path": "src/TemplateContent.js", "diff": "@@ -73,13 +73,16 @@ class TemplateContent {\nlet options = this.config.frontMatterParsingOptions || {};\nlet fm = matter(this.inputContent, options);\nif (options.excerpt && fm.excerpt) {\...
JavaScript
MIT License
11ty/eleventy
Updates to how excerpts work (docs already updated) #410
699
25.07.2019 22:56:17
18,000
a0a6bf872be367c04bf2482def8ffd97482ebf84
Normalize newlines on Windows
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -1734,7 +1734,7 @@ test(\"Custom Front Matter Parsing Options\", async t => {\nt.is(frontmatter.excerpt.trim(), \"This is an excerpt.\");\nt.is(\n- frontmatter.content.trim(),\n+ normalizeN...
JavaScript
MIT License
11ty/eleventy
Normalize newlines on Windows
699
26.07.2019 07:16:24
18,000
c6d1fda9114fbaaa9e2a57f02a09ff232edc92a4
Newlines, what
[ { "change_type": "MODIFY", "old_path": "test/TestUtilityTest.js", "new_path": "test/TestUtilityTest.js", "diff": "@@ -2,9 +2,9 @@ import test from \"ava\";\nimport normalizeNewLines from \"./Util/normalizeNewLines\";\ntest(\"normalizeNewLines\", t => {\n- t.is(normalizeNewLines(\"\\r\"), \"\");\n- t...
JavaScript
MIT License
11ty/eleventy
Newlines, what
699
26.07.2019 07:48:33
18,000
5e502e920a67a5e2071baf3038e9bdc16c8a78c5
A few more tests for the newlines
[ { "change_type": "MODIFY", "old_path": "test/TestUtilityTest.js", "new_path": "test/TestUtilityTest.js", "diff": "@@ -2,9 +2,9 @@ import test from \"ava\";\nimport normalizeNewLines from \"./Util/normalizeNewLines\";\ntest(\"normalizeNewLines\", t => {\n- // t.is(normalizeNewLines(\"\\r\"), \"\");\n...
JavaScript
MIT License
11ty/eleventy
A few more tests for the newlines
699
26.07.2019 08:08:27
18,000
e74ae9de4d746d4bf3808a3d6200b0d308a903fa
Adds page.filePathStem, fixes
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -48,6 +48,7 @@ class Template extends TemplateContent {\nthis.wrapWithLayouts = true;\nthis.fileSlug = new TemplateFileSlug(this.inputPath, this.inputDir);\nthis.fileSlugStr = this.fileSlug.getSlug()...
JavaScript
MIT License
11ty/eleventy
Adds page.filePathStem, fixes #244.
699
26.07.2019 17:36:36
18,000
1f5f24e154925e3bd4718755b36bfe3a39003869
Fix issue with that threw an error when doing passthrough copy by unmatched file extension
[ { "change_type": "MODIFY", "old_path": "src/TemplatePassthroughManager.js", "new_path": "src/TemplatePassthroughManager.js", "diff": "@@ -34,6 +34,15 @@ class TemplatePassthroughManager {\nthis.isDryRun = !!isDryRun;\n}\n+ _normalizePaths(path, outputPath) {\n+ return {\n+ inputPath: TemplatePath.ad...
JavaScript
MIT License
11ty/eleventy
Fix issue with #452 that threw an error when doing passthrough copy by unmatched file extension
699
26.07.2019 17:40:31
18,000
dd3b17c9254bb553dabcc02a4b5beaf8a6e865c1
start of a test for issue (commented out)
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -1909,3 +1909,17 @@ test(\"global variable with dashes Issue #567 (liquid)\", async t => {\nlet pages = await tmpl.getRenderedTemplates(data);\nt.is(pages[0].templateContent.trim(), \"Yes\"...
JavaScript
MIT License
11ty/eleventy
start of a test for issue #446 (commented out)
699
26.07.2019 17:43:51
18,000
690832f9f91d2205e9df065dac1711eb9b0f2449
New code coverage for 0.9.0-beta.1
[ { "change_type": "MODIFY", "old_path": "docs-src/_data/coverage.json", "new_path": "docs-src/_data/coverage.json", "diff": "-{\"total\": {\"lines\":{\"total\":2643,\"covered\":2331,\"skipped\":0,\"pct\":88.2},\"statements\":{\"total\":2657,\"covered\":2345,\"skipped\":0,\"pct\":88.26},\"functions\":...
JavaScript
MIT License
11ty/eleventy
New code coverage for 0.9.0-beta.1
669
27.07.2019 10:15:37
-7,200
2098f81b1fabe5924d1392c7885872e716d6d287
Update dependencies (minor and patch versions)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"handlebars\": \"^4.1.2\",\n\"javascript-stringify\": \"^2.0.0\",\n\"liquidjs\": \"^6.4.3\",\n- \"lodash\": \"^4.17.11\",\n- \"luxon\": \"^1.16.0\",\n+ \"lodash\": \"^4.17.15\",\n+ \"luxon\": \"^1.17.2\",\n\...
JavaScript
MIT License
11ty/eleventy
Update dependencies (minor and patch versions)
701
28.07.2019 23:25:36
-10,800
09e5046f07c01057f34348a21c313d190c2eb12e
Implementation of custom data files. Main changes are in TemplateData. User config uses new Map() to store pairs (extension, parser) where parser is a function receiving file contents in string and returning data object. Later declared parsers have priority over first ones.
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -54,6 +54,9 @@ class UserConfig {\n// this.templateExtensionAliases = {};\nthis.watchJavaScriptDependencies = true;\nthis.browserSyncConfig = {};\n+\n+ // using Map to preserve insertion order\n+...
JavaScript
MIT License
11ty/eleventy
Implementation of custom data files. Main changes are in TemplateData. User config uses new Map() to store pairs (extension, parser) where parser is a function receiving file contents in string and returning data object. Later declared parsers have priority over first ones.
716
05.08.2019 18:53:28
-7,200
5118d6088a32343662460ca54d89330af619034d
Pass current template data to the Markdown engine
[ { "change_type": "MODIFY", "old_path": "src/Engines/Markdown.js", "new_path": "src/Engines/Markdown.js", "diff": "@@ -69,7 +69,7 @@ class Markdown extends TemplateEngine {\n} else {\nreturn async function(data) {\nlet preTemplateEngineRender = await fn(data);\n- let finishedRender = mdlib.render(pre...
JavaScript
MIT License
11ty/eleventy
Pass current template data to the Markdown engine
716
06.08.2019 07:30:31
-7,200
4d5d33a3cc66d92d8814a55b1c3af46cc4dcd411
Add tests to see that we send context data through Markdown to plugins
[ { "change_type": "ADD", "old_path": null, "new_path": "test/TemplateRenderMarkdownPluginTest.js", "diff": "+import test from \"ava\";\n+import TemplateRender from \"../src/TemplateRender\";\n+import md from \"markdown-it\";\n+\n+const createTestMarkdownPlugin = () => {\n+ const plugin = md => {\n+ m...
JavaScript
MIT License
11ty/eleventy
Add tests to see that we send context data through Markdown to plugins
717
08.08.2019 16:57:20
14,400
7b34edb4b1d0b2b15bf7dd5e9cbb1456620620bb
Fix broken error reporting when writing templates Adds missed `new` operators from commit
[ { "change_type": "MODIFY", "old_path": "src/TemplateWriter.js", "new_path": "src/TemplateWriter.js", "diff": "@@ -166,7 +166,7 @@ TemplateWriter.prototype.write = async function() {\nusedTemplateContentTooEarlyMap.push(mapEntry);\n} else {\nreturn Promise.reject(\n- TemplateWriterWriteError(\n+ new ...
JavaScript
MIT License
11ty/eleventy
Fix broken error reporting when writing templates Adds missed `new` operators from commit 320af9bb0206d2befb0eafd4007481e3965a28ec
699
15.08.2019 08:37:30
18,000
e29808f2314715b23722cbb0ade4698a024ef882
Keep a test for
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderNunjucksTest.js", "new_path": "test/TemplateRenderNunjucksTest.js", "diff": "@@ -71,6 +71,18 @@ test(\"Nunjucks Render Relative Include (using ..) Issue #190\", async t => {\n\"<p>{% include '../dir/included.njk' %}</p>\"\n);\nt.is(await fn(...
JavaScript
MIT License
11ty/eleventy
Keep a test for #633
699
21.08.2019 20:46:22
18,000
dc994d734e61908274737b7831eb7448141857ae
A few more tests and fixes for
[ { "change_type": "MODIFY", "old_path": "src/TemplateMap.js", "new_path": "src/TemplateMap.js", "diff": "@@ -28,10 +28,6 @@ class TemplateMap {\nreturn \"___TAG___\";\n}\n- get specialPrefix() {\n- return \"___SPECIAL___\";\n- }\n-\nasync add(template) {\nfor (let map of await template.getTemplateMap...
JavaScript
MIT License
11ty/eleventy
A few more tests and fixes for #661
699
27.08.2019 08:06:18
18,000
592395aa276839d2371c6e86d7840b035981c566
Updating dependencies for 0.9.0
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^2.0.3\",\n\"ava\": \"^2.2.0\",\n- \"lint-staged\": \"^8.2.1\",\n+ \"lint-staged\": \"^9.2.5\",\n\"markdown-it-emoji\": \"^1.4.0\",\n\"nyc\...
JavaScript
MIT License
11ty/eleventy
Updating dependencies for 0.9.0
699
29.08.2019 21:09:44
18,000
47431cdbff5495b1eeb0a678d690cd8ff4061fe0
Fixes adds promise/async support for shortcodes in Nunjucks (they were already working in Liquid).
[ { "change_type": "MODIFY", "old_path": "src/Engines/Nunjucks.js", "new_path": "src/Engines/Nunjucks.js", "diff": "@@ -26,7 +26,12 @@ class Nunjucks extends TemplateEngine {\n// TODO these all go to the same place (addTag), add warnings for overwrites\nthis.addCustomTags(this.config.nunjucksTags);\nt...
JavaScript
MIT License
11ty/eleventy
Fixes #429, adds promise/async support for shortcodes in Nunjucks (they were already working in Liquid).
699
29.08.2019 21:24:36
18,000
d27cbd10cc4726678930e1467f0a0355a35ea2f2
Also added a test to show that this works with JavaScript template functions too.
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderJavaScriptTest.js", "new_path": "test/TemplateRenderJavaScriptTest.js", "diff": "@@ -174,6 +174,23 @@ test(\"JS Render with a function\", async t => {\nt.is(await fn({ name: \"Bill\" }), \"<p>BILLT9000</p>\");\n});\n+test(\"JS Render with a ...
JavaScript
MIT License
11ty/eleventy
Also added a test to show that this works with JavaScript template functions too. #429
699
29.08.2019 21:59:58
18,000
a3c0b8906676c22a9312d8cdcca49f576587c269
Oops needed safe string here
[ { "change_type": "MODIFY", "old_path": "src/Engines/Nunjucks.js", "new_path": "src/Engines/Nunjucks.js", "diff": "@@ -108,7 +108,7 @@ class Nunjucks extends TemplateEngine {\nif (isAsync && fnReturnValue.then) {\nfnReturnValue.then(function(returnValue) {\n- callback(null, returnValue);\n+ callback(...
JavaScript
MIT License
11ty/eleventy
Oops needed safe string here #429
699
30.08.2019 08:31:13
18,000
b58f9960094fc5a565a12f5e814f6dd53d7c95da
More tests to verify stuff from docs for
[ { "change_type": "MODIFY", "old_path": "src/UserConfig.js", "new_path": "src/UserConfig.js", "diff": "@@ -346,14 +346,6 @@ class UserConfig {\nthis.addJavaScriptFunction(name, callback);\n}\n- addAsyncShortcode(name, callback) {\n- debug(\"Adding universal async shortcode %o\", this.getNamespacedNam...
JavaScript
MIT License
11ty/eleventy
More tests to verify stuff from docs for #429 #672
732
05.09.2019 19:39:19
-7,200
002e49bca857aecbddcb87a45680a2d28c081a9a
Fix require cache cleanup on Windows
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -11,6 +11,7 @@ const simplePlural = require(\"./Util/Pluralize\");\nconst config = require(\"./Config\");\nconst bench = require(\"./BenchmarkManager\");\nconst debug = require(\"debug\")(\"Eleventy\...
JavaScript
MIT License
11ty/eleventy
Fix require cache cleanup on Windows (#596)
732
07.09.2019 14:57:55
-7,200
cd039af83eabeb55549991772b4dc40f15632ee6
Ignore IDEA settings folders
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "-_site/\n+# Ignore installed npm modules\nnode_modules/\n+\n+# Ignore build tool output, e.g. code coverage\n.nyc_output/\ncoverage/\n-package-lock.json\n+\n+# Ignore API documentation\napi-docs/\n+\n+# Ignore fo...
JavaScript
MIT License
11ty/eleventy
Ignore IDEA settings folders
699
18.09.2019 17:43:55
18,000
f7fb0858ec4831cfe87e1da4de2cbdbad24121fc
Make --incremental work with passthrough copy
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -406,6 +406,8 @@ Arguments:\nlet isInclude =\npath &&\nTemplatePath.startsWithSubPath(path, this.eleventyFiles.getIncludesDir());\n+ let isJavaScriptDependency =\n+ path && this.watchTargets.isJavaSc...
JavaScript
MIT License
11ty/eleventy
Make --incremental work with passthrough copy #108
699
20.09.2019 08:29:30
18,000
8bd052a9eddded118f7de52e7235951315f4c606
Installation missing from GitHub readme
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -17,6 +17,14 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n[![npm Version](https://img.shields.io/npm/v/@11ty/eleventy.svg?style=for-the-badge)](https://www.npmjs.com/packa...
JavaScript
MIT License
11ty/eleventy
Installation missing from GitHub readme
699
20.09.2019 08:43:33
18,000
844b3620b0ecfcd8bbf516b22cbfc340cef7ad10
Better counts for incremental and dryrun
[ { "change_type": "MODIFY", "old_path": "src/Eleventy.js", "new_path": "src/Eleventy.js", "diff": "@@ -215,19 +215,23 @@ class Eleventy {\nlet ret = [];\nlet writeCount = this.writer.getWriteCount();\n- let pretendWriteCount = this.writer.getPretendWriteCount();\n+ let skippedCount = this.writer.getS...
JavaScript
MIT License
11ty/eleventy
Better counts for incremental and dryrun
688
23.09.2019 20:16:31
-10,800
5a75821ca5d6d1468bbb5471b11010497562adc7
Resolves and by checking for negative patterns in and not including and not processing them as files to ignore. This allows you to use the negative pattern (!filename) in your .gitignore and .eleventyignore files without eleventy skipping over everything and not processing your files.
[ { "change_type": "MODIFY", "old_path": "src/EleventyFiles.js", "new_path": "src/EleventyFiles.js", "diff": "@@ -183,7 +183,9 @@ class EleventyFiles {\n})\n.filter(line => {\n// empty lines or comments get filtered out\n- return line.length > 0 && line.charAt(0) !== \"#\";\n+ return (\n+ line.length ...
JavaScript
MIT License
11ty/eleventy
Resolves #693 and #677 by checking for negative patterns in and not including and not processing them as files to ignore. This allows you to use the negative pattern (!filename) in your .gitignore and .eleventyignore files without eleventy skipping over everything and not processing your files.
703
26.09.2019 12:21:07
-7,200
20292cde6ad9f01802020d95b1280519330d0055
Added getFilteredByTags method and tests
[ { "change_type": "MODIFY", "old_path": "src/TemplateCollection.js", "new_path": "src/TemplateCollection.js", "diff": "@@ -50,19 +50,30 @@ class TemplateCollection extends Sortable {\n}\ngetFilteredByTag(tagName) {\n- return this.getAllSorted().filter(function(item) {\n- let match = false;\n+ return ...
JavaScript
MIT License
11ty/eleventy
Added getFilteredByTags method and tests
703
26.09.2019 13:18:37
-7,200
3da2f8644393b153c6c32a408886748638dcf3cd
Switched to rest parameters
[ { "change_type": "MODIFY", "old_path": "src/TemplateCollection.js", "new_path": "src/TemplateCollection.js", "diff": "@@ -60,10 +60,7 @@ class TemplateCollection extends Sortable {\n});\n}\n- getFilteredByTags(tags) {\n- if (!Array.isArray(tags)) {\n- return this.getFilteredByTag(tags);\n- }\n+ getF...
JavaScript
MIT License
11ty/eleventy
Switched to rest parameters
660
03.10.2019 12:27:05
-7,200
a3b594aca1ed2058035df461557bbd2f933b28eb
Add JSDoc Comments for Config and TemplateConfig. Adjust references
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"scripts\": {\n\"default\": \"npm run test\",\n- \"doc\": \"jsdoc -c .jsdoc.conf.json -d ./api-docs -p ./package.json -R README.md -t ./node_modules/ink-docstrap/template -r src/*.js\",\n+ \"doc\": \"jsd...
JavaScript
MIT License
11ty/eleventy
Add JSDoc Comments for Config and TemplateConfig. Adjust references
699
05.11.2019 20:31:48
21,600
e0dc2ac00d8085c7ad3aa30f52e774110fb150c6
New pagination options, fixes
[ { "change_type": "MODIFY", "old_path": "test/PaginationTest.js", "new_path": "test/PaginationTest.js", "diff": "@@ -672,3 +672,110 @@ test(\"Circular dependency but should not error because it uses eleventyExcludeFr\nt.true(true);\n});\n+\n+test(\"Pagination `before` Callback\", async t => {\n+ let ...
JavaScript
MIT License
11ty/eleventy
New pagination options, fixes #280.
699
05.11.2019 20:56:19
21,600
f02a17cb393aae8f52657c3fcee1e0bbcb5f3f63
Make sure works with aliasing
[ { "change_type": "MODIFY", "old_path": "test/PaginationTest.js", "new_path": "test/PaginationTest.js", "diff": "@@ -683,6 +683,7 @@ test(\"Pagination `before` Callback\", async t => {\nlet data = await tmpl.getData();\nlet templates = await tmpl.getTemplates(data);\nt.deepEqual(templates[0].data.pag...
JavaScript
MIT License
11ty/eleventy
Make sure #699 works with aliasing
699
26.11.2019 08:23:22
21,600
ff33f7d64cfe07a8fd586e50cf8d001af03ce182
Check raw in Liquid
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderLiquidTest.js", "new_path": "test/TemplateRenderLiquidTest.js", "diff": "@@ -18,10 +18,30 @@ test(\"Liquid Render Addition\", async t => {\nlet fn = await new TemplateRender(\"liquid\").getCompiledTemplate(\n\"<p>{{ number | plus: 1 }}</p>\"...
JavaScript
MIT License
11ty/eleventy
Check raw in Liquid
699
26.11.2019 08:23:56
21,600
918ff772f062c815b308d3f0efdd63a4c3bcfd07
Adds skipped test for (transforms and inputPath)
[ { "change_type": "MODIFY", "old_path": "test/TemplateTest.js", "new_path": "test/TemplateTest.js", "diff": "@@ -1138,6 +1138,26 @@ test(\"Test a transform\", async t => {\nt.is(renders[0], \"OVERRIDE BY A TRANSFORM\");\n});\n+// #789: https://github.com/11ty/eleventy/issues/789\n+test.skip(\"Test a ...
JavaScript
MIT License
11ty/eleventy
Adds skipped test for #789 (transforms and inputPath)