dependabot[bot] on npm_and_yarn
Bump json5 from 1.0.1 to 1.0.2 … (compare)
dependabot[bot] on npm_and_yarn
Bump decode-uri-component from … (compare)
dependabot[bot] on npm_and_yarn
Bump engine.io and browser-sync… (compare)
dependabot[bot] on npm_and_yarn
Bump loader-utils from 1.2.3 to… (compare)
dependabot[bot] on npm_and_yarn
Bump terser from 4.1.3 to 4.8.1… (compare)
artem-malko on master
Update tars.json (compare)
Как реализовать композицию компонентов? Согласно документации handlebars
http://handlebarsjs.com/partials.html, мы можем использовать следующую конструкцию для передачи вложенного контента
This block syntax may also be used to pass templates to the partial, which can be executed by the specially named partial, @partial-block. A template of
{{#> layout }}
My Content
{{/layout}}
with the layout partial containing
Site Content
{{> @partial-block }}
Would render
Site Content
My Content
Вот только tars-cli ругается на {{#>
. Возможно это из-за используемой версии handlebars 3.x.x, когда последняя на текущий момент 4.x.x. Для данной операции можно было бы использовать data.js
, если бы мне не было необходимо в качестве контента использовать результат "рендера" другого компонента.
.babelrc
, но при этом полностью его игнорировать в tars-cli
?
donbot-iMac:~ donbot$ npm i -g tars-cli
npm WARN deprecated win-spawn@2.0.0: use [cross-spawn](https://github.com/IndigoUnited/node-cross-spawn) or [cross-spawn-async](https://github.com/IndigoUnited/node-cross-spawn-async) instead.
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN deprecated jade@1.9.2: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: weinre@2.0.0-pre-I0Z7U9OV (node_modules/tars-cli/node_modules/weinre):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sha1-/viqIjkh97QLu71MPtQwL2/QqBM= integrity checksum failed when using sha1: wanted sha1-/viqIjkh97QLu71MPtQwL2/QqBM= but got sha1-1TzHNTkUaRjK+1x/AeGdr9aiuBY=. (261618 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= integrity checksum failed when using sha1: wanted sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= but got sha1-Wrj06jXUGv7Go1bNxNDtq+mTB64=. (245235 bytes)
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/donbot/.npm/_logs/2017-08-11T09_36_37_016Z-debug.log
18602 verbose unlock done using /Users/donbot/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
18603 warn optional SKIPPING OPTIONAL DEPENDENCY: weinre@2.0.0-pre-I0Z7U9OV (node_modules/tars-cli/node_modules/weinre):
18604 warn optional SKIPPING OPTIONAL DEPENDENCY: sha1-/viqIjkh97QLu71MPtQwL2/QqBM= integrity checksum failed when using sha1: wanted sha1-/viqIjkh97QLu71MPtQwL2/QqBM= but got sha1-1TzHNTkUaRjK+1x/AeGdr9aiuBY=. (261618 bytes)
18605 verbose type OperationalError
18606 verbose stack Error: sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= integrity checksum failed when using sha1: wanted sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= but got sha1-Wrj06jXUGv7Go1bNxNDtq+mTB64=. (245235 bytes)
18606 verbose stack at Transform.on (/usr/local/lib/node_modules/npm/node_modules/ssri/index.js:275:19)
18606 verbose stack at emitNone (events.js:110:20)
18606 verbose stack at Transform.emit (events.js:207:7)
18606 verbose stack at endReadableNT (_stream_readable.js:1045:12)
18606 verbose stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
18606 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
18607 verbose cwd /Users/donbot
18608 verbose Darwin 16.7.0
18609 verbose argv "/usr/local/Cellar/node/8.3.0/bin/node" "/usr/local/bin/npm" "i" "-g" "tars-cli"
18610 verbose node v8.3.0
18611 verbose npm v5.3.0
18612 error code EINTEGRITY
18613 error sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= integrity checksum failed when using sha1: wanted sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw= but got sha1-Wrj06jXUGv7Go1bNxNDtq+mTB64=. (245235 bytes)
18614 verbose exit [ 1, true ]