@metalsmith/in-place
Advanced tools
+4
-1
| const path = require('path') | ||
| const debug = require('debug')('@metalsmith/in-place') | ||
| const isUtf8 = require('is-utf8') | ||
| const getTransformer = require('./get-transformer') | ||
| let debug = () => { | ||
| throw new Error('uninstantiated debug') | ||
| } | ||
@@ -137,2 +139,3 @@ function parseFilepath(filename) { | ||
| return function inPlace(files, metalsmith, done) { | ||
| debug = metalsmith.debug('@metalsmith/in-place') | ||
| debug('Running with options %O', settings) | ||
@@ -139,0 +142,0 @@ |
+13
-15
@@ -21,3 +21,3 @@ { | ||
| }, | ||
| "version": "4.5.0", | ||
| "version": "4.6.0", | ||
| "scripts": { | ||
@@ -36,18 +36,17 @@ "changelog": "auto-changelog -u --starting-date 2021-12-01 --sort-commits date-desc --commit-limit false --ignore-commit-pattern '(dev|Release|Merge)'", | ||
| "auto-changelog": "^2.4.0", | ||
| "eslint": "^8.9.0", | ||
| "eslint-config-prettier": "^8.3.0", | ||
| "eslint-plugin-import": "^2.25.4", | ||
| "eslint-plugin-node": "^11.1.0", | ||
| "eslint": "^8.29.0", | ||
| "eslint-config-prettier": "^8.5.0", | ||
| "eslint-plugin-import": "^2.26.0", | ||
| "eslint-plugin-n": "^15.5.1", | ||
| "husky": "^7.0.4", | ||
| "jstransformer-handlebars": "^1.2.0", | ||
| "jstransformer-marked": "^1.1.0", | ||
| "jstransformer-marked": "^1.2.0", | ||
| "jstransformer-pug": "^0.4.0", | ||
| "metalsmith": "^2.4.2", | ||
| "mocha": "^9.2.0", | ||
| "metalsmith": "^2.5.1", | ||
| "mocha": "^9.2.2", | ||
| "nyc": "^15.1.0", | ||
| "prettier": "^2.5.1", | ||
| "release-it": "^14.12.3" | ||
| "prettier": "^2.8.0", | ||
| "release-it": "^15.5.1" | ||
| }, | ||
| "dependencies": { | ||
| "debug": "^4.0.0", | ||
| "inputformat-to-jstransformer": "^1.2.1", | ||
@@ -58,3 +57,3 @@ "is-utf8": "^0.2.1", | ||
| "peerDependencies": { | ||
| "metalsmith": "^2.4.1" | ||
| "metalsmith": "^2.5.0" | ||
| }, | ||
@@ -65,4 +64,3 @@ "publishConfig": { | ||
| "files": [ | ||
| "lib", | ||
| "CHANGELOG.md" | ||
| "lib" | ||
| ], | ||
@@ -74,4 +72,4 @@ "directories": { | ||
| "engines": { | ||
| "node": ">=10" | ||
| "node": ">=12" | ||
| } | ||
| } |
-465
| ### Changelog | ||
| All notable changes to this project will be documented in this file. Dates are displayed in UTC. | ||
| Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
| #### [v4.5.0](https://github.com/metalsmith/in-place/compare/v4.4.2...v4.5.0) | ||
| - feat: org migration, core plugin alignment [`ce3c8f1`](https://github.com/metalsmith/in-place/commit/ce3c8f153370b9e163917602f212b2bb8a29bd39) | ||
| - feat: use metalsmith.match instead of multimatch, drop Node < 10 support [`1a1d83f`](https://github.com/metalsmith/in-place/commit/1a1d83f51fda0df73776dda3ed1949613c72e04a) | ||
| - feat: better jsdoc typehints & defaults mgmt [`ae06fb9`](https://github.com/metalsmith/in-place/commit/ae06fb9cf82d394448b4d8a2c83a255003010add) | ||
| - fix: don't mistake dots in folder paths for extensions [`0392d6f`](https://github.com/metalsmith/in-place/commit/0392d6f3f668ea0a9d5d73b4a7217d6b2f9c8f35) | ||
| #### [v4.4.2](https://github.com/metalsmith/in-place/compare/4.4.1...v4.4.2) | ||
| > 9 March 2021 | ||
| - Move pug jstransformer to dev dependencies [`#177`](https://github.com/metalsmith/in-place/pull/177) | ||
| - Prepare 4.4.2 [`419417f`](https://github.com/metalsmith/in-place/commit/419417fc2386c049e133ca3e0bb91dc7ac762d6a) | ||
| #### [4.4.1](https://github.com/metalsmith/in-place/compare/v4.4.0...4.4.1) | ||
| > 27 September 2019 | ||
| - Fix infinite loop rendering bug [`#173`](https://github.com/metalsmith/in-place/pull/173) | ||
| - fix(package): update multimatch to version 4.0.0 [`#171`](https://github.com/metalsmith/in-place/pull/171) | ||
| - Return when done [`#170`](https://github.com/metalsmith/in-place/pull/170) | ||
| - Prepare 4.4.1 [`d6127eb`](https://github.com/metalsmith/in-place/commit/d6127ebcdf7b724ffb3112d318d9aac4e705ff86) | ||
| #### [v4.4.0](https://github.com/metalsmith/in-place/compare/v4.3.0...v4.4.0) | ||
| > 14 April 2019 | ||
| - Add set filename option [`#169`](https://github.com/metalsmith/in-place/pull/169) | ||
| - Remove unnecessary line [`#168`](https://github.com/metalsmith/in-place/pull/168) | ||
| - Prepare 4.4.0 [`bb56391`](https://github.com/metalsmith/in-place/commit/bb5639147f439314ce3f01fba81cbc9c37508a29) | ||
| #### [v4.3.0](https://github.com/metalsmith/in-place/compare/v4.2.0...v4.3.0) | ||
| > 7 April 2019 | ||
| - Add test for filename prefix on rendering error message [`#167`](https://github.com/metalsmith/in-place/pull/167) | ||
| - Allow async transforms [`#166`](https://github.com/metalsmith/in-place/pull/166) | ||
| - Add current file name to error message [`#164`](https://github.com/metalsmith/in-place/pull/164) | ||
| - Update readme [`#165`](https://github.com/metalsmith/in-place/pull/165) | ||
| - fix(package): update multimatch to version 3.0.0 [`#160`](https://github.com/metalsmith/in-place/pull/160) | ||
| - fix(package): update debug to version 4.0.0 [`#157`](https://github.com/metalsmith/in-place/pull/157) | ||
| - Improve readme [`#155`](https://github.com/metalsmith/in-place/pull/155) | ||
| - Ignore dev dependencies for greenkeeper [`1afa4e1`](https://github.com/metalsmith/in-place/commit/1afa4e137749163c46c32bd69e9dcf0fa35b8a7f) | ||
| - Prepare 4.3.0 [`e2ccc9a`](https://github.com/metalsmith/in-place/commit/e2ccc9ae0ac3e65281ece81c7e577bb66dd06427) | ||
| #### [v4.2.0](https://github.com/metalsmith/in-place/compare/4.1.1...v4.2.0) | ||
| > 19 July 2018 | ||
| - Add flag to suppress error when there are no files to process [`#151`](https://github.com/metalsmith/in-place/pull/151) | ||
| - chore(package): update dependencies [`#153`](https://github.com/metalsmith/in-place/pull/153) | ||
| - Update links to metalsmith org [`#152`](https://github.com/metalsmith/in-place/pull/152) | ||
| - Remove shields.io badges [`#150`](https://github.com/metalsmith/in-place/pull/150) | ||
| - Update eslint-airbnb-base [`#148`](https://github.com/metalsmith/in-place/pull/148) | ||
| - Greenkeeper/update to node 10 [`#146`](https://github.com/metalsmith/in-place/pull/146) | ||
| - Update license [`#144`](https://github.com/metalsmith/in-place/pull/144) | ||
| - chore(package): update lint-staged to version 7.0.0 [`#143`](https://github.com/metalsmith/in-place/pull/143) | ||
| - Fix readme mistake [`#142`](https://github.com/metalsmith/in-place/pull/142) | ||
| - Update new feature wording [`f387f5c`](https://github.com/metalsmith/in-place/commit/f387f5c13d389bebba6a14caf0afb7c49cb56bce) | ||
| - Prepare 4.2.0 [`afc0366`](https://github.com/metalsmith/in-place/commit/afc0366478bc8fa1c361983dd62a1206b7227d11) | ||
| #### [4.1.1](https://github.com/metalsmith/in-place/compare/4.1.0...4.1.1) | ||
| > 25 January 2018 | ||
| - Prepare 4.1.1 [`#141`](https://github.com/metalsmith/in-place/pull/141) | ||
| #### [4.1.0](https://github.com/metalsmith/in-place/compare/4.0.0...4.1.0) | ||
| > 25 January 2018 | ||
| - Prepare 4.1.0 [`#140`](https://github.com/metalsmith/in-place/pull/140) | ||
| - Add debug [`#139`](https://github.com/metalsmith/in-place/pull/139) | ||
| - Update readme [`#135`](https://github.com/metalsmith/in-place/pull/135) | ||
| - Add npmrc [`#134`](https://github.com/metalsmith/in-place/pull/134) | ||
| - Remove babel [`#133`](https://github.com/metalsmith/in-place/pull/133) | ||
| - Ignore package lock [`#132`](https://github.com/metalsmith/in-place/pull/132) | ||
| - Remove lockfile [`#130`](https://github.com/metalsmith/in-place/pull/130) | ||
| ### [4.0.0](https://github.com/metalsmith/in-place/compare/3.0.1...4.0.0) | ||
| > 4 January 2018 | ||
| - Prepare 4.0.0 [`#129`](https://github.com/metalsmith/in-place/pull/129) | ||
| - v4 [`#120`](https://github.com/metalsmith/in-place/pull/120) | ||
| - Update dependencies to enable Greenkeeper 🌴 [`#125`](https://github.com/metalsmith/in-place/pull/125) | ||
| - Update for move [`#124`](https://github.com/metalsmith/in-place/pull/124) | ||
| - Update readme [`#117`](https://github.com/metalsmith/in-place/pull/117) | ||
| #### [3.0.1](https://github.com/metalsmith/in-place/compare/3.0.0...3.0.1) | ||
| > 2 August 2017 | ||
| - Prepare 3.0.1 [`#112`](https://github.com/metalsmith/in-place/pull/112) | ||
| ### [3.0.0](https://github.com/metalsmith/in-place/compare/2.0.1...3.0.0) | ||
| > 26 July 2017 | ||
| - Prepare 3.0.0 [`#109`](https://github.com/metalsmith/in-place/pull/109) | ||
| - Accept array as pattern [`#108`](https://github.com/metalsmith/in-place/pull/108) | ||
| - chore(package): update husky to version 0.14.3 [`#103`](https://github.com/metalsmith/in-place/pull/103) | ||
| - chore(package): update lint-staged to version 4.0.1 [`#104`](https://github.com/metalsmith/in-place/pull/104) | ||
| - Ignore eslint for greenkeeper [`#105`](https://github.com/metalsmith/in-place/pull/105) | ||
| - Minor updates [`#99`](https://github.com/metalsmith/in-place/pull/99) | ||
| - Update travis config [`#97`](https://github.com/metalsmith/in-place/pull/97) | ||
| - Add prettier [`#95`](https://github.com/metalsmith/in-place/pull/95) | ||
| - Use babel-preset-env [`#94`](https://github.com/metalsmith/in-place/pull/94) | ||
| - Add coverage [`#93`](https://github.com/metalsmith/in-place/pull/93) | ||
| - Update dependencies to enable Greenkeeper 🌴 [`#92`](https://github.com/metalsmith/in-place/pull/92) | ||
| - Rename history [`#90`](https://github.com/metalsmith/in-place/pull/90) | ||
| - Add jest [`#89`](https://github.com/metalsmith/in-place/pull/89) | ||
| - Add issue template [`#88`](https://github.com/metalsmith/in-place/pull/88) | ||
| - Run eslint on travis as well [`#83`](https://github.com/metalsmith/in-place/pull/83) | ||
| - Update Readme.md [`#79`](https://github.com/metalsmith/in-place/pull/79) | ||
| - chore(package): update husky to version 0.14.3 (#103) [`#101`](https://github.com/metalsmith/in-place/issues/101) | ||
| - chore(package): update lint-staged to version 4.0.1 (#104) [`#100`](https://github.com/metalsmith/in-place/issues/100) | ||
| #### [2.0.1](https://github.com/metalsmith/in-place/compare/2.0.0...2.0.1) | ||
| > 1 January 2017 | ||
| #### [2.0.0](https://github.com/metalsmith/in-place/compare/2.0.0-beta.1...2.0.0) | ||
| > 1 January 2017 | ||
| - Update readme [`#76`](https://github.com/metalsmith/in-place/pull/76) | ||
| - Abstract rendering [`#72`](https://github.com/metalsmith/in-place/pull/72) | ||
| - Simplify babel setup [`#71`](https://github.com/metalsmith/in-place/pull/71) | ||
| - Add yarn lockfile [`#70`](https://github.com/metalsmith/in-place/pull/70) | ||
| - Test on same node versions as metalsmith/metalsmith [`#66`](https://github.com/metalsmith/in-place/pull/66) | ||
| #### [2.0.0-beta.1](https://github.com/metalsmith/in-place/compare/1.4.4...2.0.0-beta.1) | ||
| > 27 September 2016 | ||
| - 2.0.0-beta.1 [`#57`](https://github.com/metalsmith/in-place/pull/57) | ||
| - Move to jstransformer [`#52`](https://github.com/metalsmith/in-place/pull/52) | ||
| - Error: Added filename to render callback. [`#51`](https://github.com/metalsmith/in-place/pull/51) | ||
| - Expose consolidate.requires fix #13 [`#13`](https://github.com/metalsmith/in-place/issues/13) | ||
| #### [1.4.4](https://github.com/metalsmith/in-place/compare/1.4.3...1.4.4) | ||
| > 3 May 2016 | ||
| - Ensure partial names never contain backslashes [`#42`](https://github.com/metalsmith/in-place/pull/42) | ||
| - Remove eslint dependency [`#40`](https://github.com/metalsmith/in-place/pull/40) | ||
| - Chores [`#39`](https://github.com/metalsmith/in-place/pull/39) | ||
| - Update readme [`#28`](https://github.com/metalsmith/in-place/issues/28) | ||
| - Update readme badges [`#37`](https://github.com/metalsmith/in-place/issues/37) | ||
| - Remove makefile [`eb3d176`](https://github.com/metalsmith/in-place/commit/eb3d176e1c65608c7b44353b59b93fa04f249659) | ||
| - Update readme [`abd4337`](https://github.com/metalsmith/in-place/commit/abd43372de83cb684d151388d9223a9a9a955b2c) | ||
| - Add hound [`f7a122a`](https://github.com/metalsmith/in-place/commit/f7a122a2e7adc3153854eb6d947d9643c083365e) | ||
| #### [1.4.3](https://github.com/metalsmith/in-place/compare/1.3.3...1.4.3) | ||
| > 11 February 2016 | ||
| - Refactor rename option [`#36`](https://github.com/metalsmith/in-place/pull/36) | ||
| - Finish a complete render to .html files [`#33`](https://github.com/metalsmith/in-place/pull/33) | ||
| - add rename option [`cc28b70`](https://github.com/metalsmith/in-place/commit/cc28b702b2afbd0a837b00fa55616c9a85c1efad) | ||
| - Update readme and move renaming logic [`f8632f4`](https://github.com/metalsmith/in-place/commit/f8632f4575ba0345f3e2b46f93f095e9c46a19d0) | ||
| - fix tests [`d4b65b2`](https://github.com/metalsmith/in-place/commit/d4b65b25fb215e843a3e4b47b3c0e6a0d0dabebb) | ||
| - Prevent path issues on windows [`1550d28`](https://github.com/metalsmith/in-place/commit/1550d28583573bc4196eb847de80aa83ed6e778e) | ||
| - update travis [`ed6dd6b`](https://github.com/metalsmith/in-place/commit/ed6dd6b0b5aba82a7cd09f02b1e8f6f1e1bd2170) | ||
| #### [1.3.3](https://github.com/metalsmith/in-place/compare/1.3.2...1.3.3) | ||
| > 27 January 2016 | ||
| - Update consolidate and lodash.omit [`#34`](https://github.com/metalsmith/in-place/pull/34) | ||
| #### [1.3.2](https://github.com/metalsmith/in-place/compare/1.3.1...1.3.2) | ||
| > 17 October 2015 | ||
| - Update fs-readdir-recursive [`#30`](https://github.com/metalsmith/in-place/pull/30) | ||
| - Update readme [`#27`](https://github.com/metalsmith/in-place/pull/27) | ||
| - Refactor partials tests [`#26`](https://github.com/metalsmith/in-place/pull/26) | ||
| - Update eslint config and modularize [`#25`](https://github.com/metalsmith/in-place/pull/25) | ||
| - Update readme and dependencies [`4080260`](https://github.com/metalsmith/in-place/commit/40802609c4247fb9701ef14c3c16353d6f239000) | ||
| - Boilerplate as example [`43a0511`](https://github.com/metalsmith/in-place/commit/43a0511a4f74392a260892aefb54c8663e5c1b25) | ||
| #### [1.3.1](https://github.com/metalsmith/in-place/compare/1.3.0...1.3.1) | ||
| > 6 August 2015 | ||
| - Revert discarding unrecognised partials options [`#24`](https://github.com/metalsmith/in-place/pull/24) | ||
| #### [1.3.0](https://github.com/metalsmith/in-place/compare/1.2.1...1.3.0) | ||
| > 6 August 2015 | ||
| - Update readme and only accept partials string [`#23`](https://github.com/metalsmith/in-place/pull/23) | ||
| - Update eslint [`#22`](https://github.com/metalsmith/in-place/pull/22) | ||
| - Update [`#19`](https://github.com/metalsmith/in-place/pull/19) | ||
| - Add test for swig includes [`#21`](https://github.com/metalsmith/in-place/pull/21) | ||
| - Update readme [`#5`](https://github.com/metalsmith/in-place/issues/5) | ||
| - Add support for partials string [`8b0e4a8`](https://github.com/metalsmith/in-place/commit/8b0e4a8cc0ae5ef8b5fb74f4eeccca13b6e002cc) | ||
| - Update code style: disallow single line ifs [`3721aaf`](https://github.com/metalsmith/in-place/commit/3721aafff1617d2e8bca20e7f0059a1f77cbf038) | ||
| - Add error handling [`4407710`](https://github.com/metalsmith/in-place/commit/4407710c858179a2559b3c0948c5b1e6cbb575b7) | ||
| #### [1.2.1](https://github.com/metalsmith/in-place/compare/1.2.0...1.2.1) | ||
| > 23 July 2015 | ||
| - Update swig [`#18`](https://github.com/metalsmith/in-place/pull/18) | ||
| #### [1.2.0](https://github.com/metalsmith/in-place/compare/1.1.1...1.2.0) | ||
| > 23 July 2015 | ||
| - Add badges [`#17`](https://github.com/metalsmith/in-place/pull/17) | ||
| - Update dependencies [`#16`](https://github.com/metalsmith/in-place/pull/16) | ||
| - Sans license [`6a01bc0`](https://github.com/metalsmith/in-place/commit/6a01bc03f9275b198898e31a9c93e950c778dad7) | ||
| - Add license [`06568d1`](https://github.com/metalsmith/in-place/commit/06568d138226d5ea4340398abad74249b99de86f) | ||
| #### [1.1.1](https://github.com/metalsmith/in-place/compare/1.1.0...1.1.1) | ||
| > 20 July 2015 | ||
| - Add eslint [`#11`](https://github.com/metalsmith/in-place/pull/11) | ||
| - Add release badge [`6aae89e`](https://github.com/metalsmith/in-place/commit/6aae89ef3021b509534f29415c1f101bb6193b18) | ||
| #### [1.1.0](https://github.com/metalsmith/in-place/compare/1.0.1...1.1.0) | ||
| > 19 July 2015 | ||
| - Update tests [`#8`](https://github.com/metalsmith/in-place/pull/8) | ||
| - Ignore binary files [`a1bd29c`](https://github.com/metalsmith/in-place/commit/a1bd29c18d7dd5cba6849a24efdf538baec556f7) | ||
| - Add editorconfig [`527020e`](https://github.com/metalsmith/in-place/commit/527020e699eaa1f2589546abfcd26eac9b0f0491) | ||
| - Add gitattributes [`afdf946`](https://github.com/metalsmith/in-place/commit/afdf946767521999db147d7f1054766c711327f5) | ||
| - Add author and other info [`fc5e6d8`](https://github.com/metalsmith/in-place/commit/fc5e6d8fae7c7dfadda93947190fbbb93c2f576c) | ||
| - Update readme [`881c575`](https://github.com/metalsmith/in-place/commit/881c575747d371810acd96143321a460963324cb) | ||
| - Add travis [`7303baa`](https://github.com/metalsmith/in-place/commit/7303baa52a775cd1995285e2648d799cb1c6110e) | ||
| - Add david dm badges [`6aeec90`](https://github.com/metalsmith/in-place/commit/6aeec90580a475bb99cdf6b44fae6a6226e34dcb) | ||
| #### [1.0.1](https://github.com/metalsmith/in-place/compare/1.0.0...1.0.1) | ||
| > 22 November 2014 | ||
| - Add example [`eac4117`](https://github.com/metalsmith/in-place/commit/eac4117836dae4c000752ffdb0d6b1c45f4fbee8) | ||
| #### 1.0.0 | ||
| > 18 November 2014 | ||
| - Update for metalsmith 1.x [`#25`](https://github.com/metalsmith/in-place/pull/25) | ||
| - Possibility to pass options to the template engine (with lodash.omit). [`#8`](https://github.com/metalsmith/in-place/pull/8) | ||
| - Update readme, closes #1 [`#1`](https://github.com/metalsmith/in-place/issues/1) | ||
| - Remove everything not related to in-place templating, closes #2 [`#2`](https://github.com/metalsmith/in-place/issues/2) | ||
| - first commit [`53b63f4`](https://github.com/metalsmith/in-place/commit/53b63f440ae4bf7f1a152ebe1df413f3f5f7d040) | ||
| - add rendering of files in place [`21d8cbf`](https://github.com/metalsmith/in-place/commit/21d8cbf0fac85a16e4d65873d9ee45158d9885ba) | ||
| - add in place option, change pattern to just restrict [`dcf8402`](https://github.com/metalsmith/in-place/commit/dcf8402877734e44f766c3f9d9123a57c4bbcf9d) | ||
| - Render files in place by default [`dee5a2a`](https://github.com/metalsmith/in-place/commit/dee5a2ad6e4966ac6499d6f9bb5aba775006964c) | ||
| - fix style [`5b35555`](https://github.com/metalsmith/in-place/commit/5b35555ed25cbe1532c3723981c4282e1a81cd96) | ||
| - Using 'lodash.omit' instead of own implementation. [`f01b629`](https://github.com/metalsmith/in-place/commit/f01b62989435fe402e148b9e0f89a8d3c0b48384) | ||
| - Add installation instructions [`c1cfd65`](https://github.com/metalsmith/in-place/commit/c1cfd6575c4de78c8e943e04248144176ebf7a99) | ||
| - Update package.json [`2ee797d`](https://github.com/metalsmith/in-place/commit/2ee797d9f3c409bf9ca089cba12d3e17cd63b30b) | ||
| - update readme [`8700e2a`](https://github.com/metalsmith/in-place/commit/8700e2a2a29550c881f7cf3a859eb6233b66a912) | ||
| - update readme [`9348283`](https://github.com/metalsmith/in-place/commit/9348283e0256465d7e53dc7332d90c50083cb85d) | ||
| <!-- auto-changelog-above --> | ||
| ### 4.4.2 - March 9, 2021 | ||
| - move incorrectly installed jstransformer-pug dependency to devDependencies, was only used during testing | ||
| ### 4.4.1 - September 27, 2019 | ||
| - fix bug where it would keep processing if the last extension matches a jstransformer and its output extension | ||
| ### 4.4.0 - April 14, 2019 | ||
| - add `setFilename` option, to set the absolute file path in the engine options | ||
| ### 4.3.0 - April 7, 2019 | ||
| - prefix rendering errors with filename that caused the error | ||
| - allow async transforms | ||
| ### 4.2.0 - July 19, 2018 | ||
| - add `suppressNoFilesError` feature | ||
| ### 4.1.1 - January 25, 2018 | ||
| - documentation fix | ||
| ### 4.1.0 - January 25, 2018 | ||
| - add a documentation link to the error messages | ||
| - add debug for better debugging | ||
| ### 4.0.0 - January 4, 2018 | ||
| So this library went through a bit of churny phase, my apologies for that. It was caused by a couple | ||
| of factors; moving the library to a new home, a new rendering engine and me trying to abstract said | ||
| rendering engine for reuse in metalsmith-layouts. | ||
| However, the end result is now a stable plugin, that's easy to use and easy to maintain. | ||
| Jstransformers are way simpler to debug, and so far I haven't even encountered any bugs. We're not | ||
| abstracting the rendering engine because it's just not worth it, and confusing apis have been | ||
| removed. All in all I hope that you'll enjoy this release and feel free to let me know if you | ||
| encounter anything! | ||
| - breaking: dropped node 4 support | ||
| - breaking: the filename property is no longer set automatically, use https://github.com/MoOx/metalsmith-filenames | ||
| - removed metalsmith-engine-jstransformer for ease of maintenance | ||
| ### 4.0.0-alpha.2 - October 7, 2017 | ||
| - update metalsmith-engine-jstransformer to 1.0.0-alpha.2 | ||
| ### 4.0.0-alpha.1 - October 7, 2017 | ||
| - update metalsmith-engine-jstransformer to 1.0.0-alpha.1 | ||
| ### 3.0.1 - August 2, 2017 | ||
| - update metalsmith-engine-jstransformer to 0.1.2 | ||
| ### 3.0.0 - July 26, 2017 | ||
| - dropped support for iojs and node 0.12 | ||
| - allow arrays for pattern option as well | ||
| ### 2.0.1 - January 1, 2017 | ||
| - correct publishing mistake | ||
| ### 2.0.0 - January 1, 2017 | ||
| - abstract templating, allows user to choose which engine to use for rendering (breaking change) | ||
| ### 2.0.0-beta.1 - September 11, 2016 | ||
| - switch to jstransformers for rendering (breaking change) | ||
| ### 1.4.4 - May 3, 2016 | ||
| - normalize partial name for windows | ||
| ### 1.4.3 - February 11, 2016 | ||
| - add rename option | ||
| - prevent path issue on windows | ||
| ### 1.3.3 - January 27, 2016 | ||
| - update consolidate and lodash.omit | ||
| ### 1.3.2 - October 17, 2015 | ||
| - update fs-readdir-recursive | ||
| ### 1.3.1 - August 6, 2015 | ||
| - pass unrecognised `partials` options to consolidate | ||
| ### 1.3.0 - August 6, 2015 | ||
| - add swig include test | ||
| - add error handling for unrecognised engines | ||
| - code style, dependency and readme updates | ||
| - add partials option and test | ||
| ### 1.2.1 - July 23, 2015 | ||
| - update swig | ||
| ### 1.2.0 - July 23, 2015 | ||
| - update dependencies | ||
| - update and add badges | ||
| ### 1.1.1 - July 20, 2015 | ||
| - is-utf8 should be a dependency | ||
| - add eslint | ||
| - add release badge | ||
| ### 1.1.0 - July 19, 2015 | ||
| - update tests | ||
| - ignore binary files | ||
| - add travis ci and david dm badges to readme | ||
| - add gitattributes and editorconfig to repo | ||
| ### 1.0.1 - November 22, 2014 | ||
| - change name to metalsmith-in-place | ||
| ### 1.0.0 - November 18, 2014 | ||
| - render files in-place by default | ||
| - remove `default`, `directory` and `inPlace` | ||
| ### 0.6.0 - October 3, 2014 | ||
| - fix to use `path` for metalsmith `1.0.0` | ||
| ### 0.5.2 - July 9, 2014 | ||
| - fix breaking binary files | ||
| ### 0.5.1 - June 11, 2014 | ||
| - fix race condition with stringify file contents | ||
| ### 0.5.0 - April 29, 2014 | ||
| - pass in options to consolidate.js | ||
| ### 0.4.0 - April 2, 2014 | ||
| - add `default` option | ||
| ### 0.3.0 - March 10, 2014 | ||
| - add `inPlace` option | ||
| - change `pattern` option to just filter | ||
| ### 0.2.1 - March 10, 2014 | ||
| - fix bug in matching pattern logic | ||
| ### 0.2.0 - March 8, 2014 | ||
| - add rendering files in place with a `pattern` | ||
| ### 0.1.0 - March 5, 2014 | ||
| - add `string` engine convenience | ||
| ### 0.0.6 - February 7, 2014 | ||
| - fix `directory` option bug | ||
| ### 0.0.5 - February 7, 2014 | ||
| - stringify `contents` on the original file data | ||
| ### 0.0.4 - February 6, 2014 | ||
| - switch to `extend` from `defaults` to avoid cloning | ||
| - add debug statements | ||
| ### 0.0.3 - February 6, 2014 | ||
| - fix to use buffers | ||
| ### 0.0.2 - February 5, 2014 | ||
| - mix in metadata | ||
| ### 0.0.1 - February 4, 2014 | ||
| :sparkles: |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4
-20%164
1.86%17568
-53.75%5
-16.67%- Removed