donejs / done-component

A plugin for creating <can-component>s
https://www.npmjs.com/package/done-component
MIT License
8 stars 2 forks source link

An in-range update of can-stache is breaking the build 🚨 #47

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 7 years ago

Version 3.6.1 of can-stache just got published.

Branch Build failing 🚨
Dependency can-stache
Current Version 3.6.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

can-stache is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them. I recommend you give this issue a very high priority. I’m sure you can resolve this :muscle:

Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/donejs/done-component/builds/267367545?utm_source=github_status&utm_medium=notification)

Release Notes Warning when using on:, :to, :from, :bind and not importing can-stache-bindings

#273

Commits

The new version differs by 6 commits.

  • a1543bb Update dist for release
  • 87f7489 Merge pull request #277 from canjs/warn_when_using_new_binding_syntax_wihtout_stache_binding
  • 94d610a warn users when using colon binding syntaxe without importing can-stache-bindings
  • 9ada6bc Merge pull request #269 from canjs/dev-rel-12-update-generated-readmes
  • e2d203d Merge branch 'master' into dev-rel-12-update-generated-readmes
  • 651a4fa Remove generated API docs from the README

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

After pinning to 3.6.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.

greenkeeper[bot] commented 7 years ago

Version 3.6.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Doc update: warnings on recursive named partials

#275

Commits

The new version differs by 4 commits.

  • afd7966 Update dist for release
  • a0a2463 Merge pull request #276 from canjs/nprecursiondocs
  • c3ad484 Break up the code examples in the named partials docs
  • dcb92a9 Closes #275 - document the pitfal of recursive partials combined with the default expression behavior of looking up the context chain.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.6.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Self-referential Templates

Added *self as a partial that refers to the whole template renderer.

var renderer = stache(`
    <span>{{name}}</span>
    {{#./child}}
        <div>
            {{>*self}}
        </div>
    {{/child}}
`);
Commits

The new version differs by 26 commits.

  • 3b8d173 Update dist for release
  • 72d6694 Merge pull request #294 from canjs/214-fix-call-tag-mismatch
  • fdb7879 Merge pull request #298 from canjs/greenkeeper/can-util-3.10.6
  • 300d0fa Change "brackets" to "magic tags" where we were not talking about Bracket expressions
  • b699cff Merge pull request #291 from canjs/159-self-referential-templates
  • 8d372a1 chore(package): update can-util to version 3.10.6
  • f2a4762 Fix incorrect tag mistmatch warnings for Call expressions with dots in method lookup (#214)
  • edd65fe Merge branch 'master' of https://github.com/canjs/can-stache into 159-self-referential-templates
  • 8ba7f11 Updated docs to use dot slash on key expression
  • 6c3597e Removed example test
  • ede0ff4 Changes to docs
  • dc21cd1 Added *self to inline partials
  • 655d0c3 Merge pull request #280 from canjs/256-newline-smushed-to-tag-name
  • e3923d0 Merge branch 'master' into 256-newline-smushed-to-tag-name
  • 4765765 Merge pull request #281 from canjs/203-prioritize-hash-in-expr

There are 26 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.7.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Self-referential Templates

Added *self as a partial that refers to the whole template renderer.

var renderer = stache(`
    <span>{{name}}</span>
    {{#./child}}
        <div>
            {{>*self}}
        </div>
    {{/child}}
`);
Commits

The new version differs by 1 commits.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.7.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Add several bracket tests and fix 2 way binding using brackets

#173

Commits

The new version differs by 3 commits.

  • 8005a64 Update dist for release
  • 3531231 Merge pull request #285 from canjs/173-bracketdots
  • 81073f9 Closes #173 - Add several bracket tests and fix 2 way binding

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.7.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Doc updates for new can-stache-bindings syntax

#306

Commits

The new version differs by 3 commits.

  • 234758a Update dist for release
  • b2030e6 Merge pull request #306 from canjs/bg-doc-fix
  • 7d118db Update to new binding syntax

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.7.3 just got published.

Your tests are passing again with this version. Explicitly upgrade to this version πŸš€

Release Notes can-import and can-dynamic-import tag parsing changes

This release changes the behavior of <can-import> tags in a subtle way:

  • as a self-closing tag, register a static import (no change from previous)
  • as an enclosing tag with no non-space content, register a static import (this is a change from previous, but in a way that could not break existing usage -- this is so that users can use <can-import></can-import> with nothing in between the same as <can-import/> and it therefore seems more HTMLy).
  • as an enclosing tag with non-space content (tags/chars/special), register a dynamic import (no change from previous)

This release also adds support for the <can-dynamic-import> tag, which always imports dynamically whether or not it is self-closing or has content.

For more on dynamic imports, see https://canjs.com/doc/can-view-import.html after CanJS 3.11 is released

Commits

The new version differs by 10 commits.

  • 59844f3 Update dist for release
  • cbdd6d8 Merge pull request #309 from canjs/support-dynamic-import-tag
  • d7e0915 Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
  • fc0f292 Merge pull request #299 from canjs/274-with-keys
  • 4fa0c19 renaming underscore prefixed names in example for clarity
  • afef862 Doc updates for hash expression support in #with helper
  • 34767d1 Fix #with helper so it always renders fn block
  • f05b709 Add support for hash keys in with expression (#274)
  • d85d8cd Merge branch 'master' into 274-with-keys
  • 2faab01 Added test for with and multiple keys

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.8.0 just got published.

Your tests are passing again with this version. Explicitly upgrade to this version πŸš€

Release Notes Use hash keys instead of an object in {{#with}}

The {{#with}} helper adds a new scope context (becoming the current this) and renders the subsection it contains. Prior to 3.8.0, the semantics for {{#with}} involved choosing an object on the scope to become this new context.

{{#with scopeObject}}
  <span>{{./propertyOnScopeObject}}</span>
{{/with}}

With 3.8.0, you now have the option to construct your own context object using hash expressions.

{{#with key=scopeLookup key2=anotherLookup}}
   <span>{{./key}}: {{key2}}</span>
{{/with}}

In addition, the behavior of {{#with}} with a context object was incorrect with respect to the documented behavior. Prior to 3.8.0, the subsection inside {{#with}}...{{/with}} would not render if passed a falsy object (the same behavior as creating a section with {{#}}). This was not the intended or documented behavior and has been fixed. Now the subsection always renders.

Note: this feature and behavior fix were added in version 3.7.3, which has now been deprecated in favor of this minor release due to the documented new feature.

Commits

The new version differs by 14 commits.

  • 3eb013b Update dist for release
  • b2de39a Merge pull request #307 from canjs/302-improve-warning-tests
  • 936c6c0 Use full module for can-test-helpers instead of individual lib
  • 59844f3 Update dist for release
  • cbdd6d8 Merge pull request #309 from canjs/support-dynamic-import-tag
  • d7e0915 Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
  • dec9202 Refactored dev warning tests to use can-test-helpers
  • fc0f292 Merge pull request #299 from canjs/274-with-keys
  • 4fa0c19 renaming underscore prefixed names in example for clarity
  • afef862 Doc updates for hash expression support in #with helper
  • 34767d1 Fix #with helper so it always renders fn block
  • f05b709 Add support for hash keys in with expression (#274)
  • d85d8cd Merge branch 'master' into 274-with-keys
  • 2faab01 Added test for with and multiple keys

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.9.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Use hash keys instead of `as` in {{#each}}

#320

You can now use a hash expression for creating variables localized to an {{#each}} loop.

You can use this when using {{#each}} to iterate over arrays to access the index and value for each item in the array:

{{#each todos todo=value num=index}}
    <li>Todo {{num}}: {{todo.name}}</li>
{{/each}}

You can also use this to access the key and value for each item when iterating over an object:

{{#each person propValue=value prop=key}}" +
    <span>{{prop}}: {{propValue}}</span>
{{/each}}

This also deprecates the {{#each EXPRESSION as KEY}} syntax.

Commits

The new version differs by 22 commits.

  • 675fa5c Update dist for release
  • c8fd06a not creating lockfile
  • 2a8fc87 Merge pull request #320 from canjs/300-each-hash-expressions
  • 5d0c479 Warning message now better explains how to use hash expression when using as signature.
  • 508523b Merge pull request #319 from canjs/landscaper/define-cycles-github
  • 8854894 Add handling for iterable objects
  • 09239da Update each helper to use hash expressions
  • 04a6b9f landscaper: Add a cycle detection script to test process
  • 3eb013b Update dist for release
  • b2de39a Merge pull request #307 from canjs/302-improve-warning-tests
  • 936c6c0 Use full module for can-test-helpers instead of individual lib
  • 59844f3 Update dist for release
  • cbdd6d8 Merge pull request #309 from canjs/support-dynamic-import-tag
  • d7e0915 Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
  • dec9202 Refactored dev warning tests to use can-test-helpers

There are 22 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 2 commits.

  • db6b612 Update dist for release
  • 47d5775 WIP: use filename and line number (#323)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Check if content is registered
  • check if already registred #322

v3.10.0...v3.10.1

Commits

The new version differs by 6 commits.

  • 086c883 Update dist for release
  • 57a1b32 Merge pull request #322 from canjs/check_content_tag_callback_already_exist
  • 94b4072 fix spacing
  • cf9f617 make test pass
  • 305b915 failed test
  • 34f70cc check if already registred

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Warnings for implicit scope walking and automatic function calling

This release adds warnings for things that will be removed in can-stache 5.0.

In the following example two new warnings will be displayed.

const data = new DefineMap({
    name: 'Justin',
    age: 33,
    children: [{
        name: 'Ramiya',
        age: 2,
        excitement() {
            return '!!';
        }
    }, {
        name: 'TBD',
        excitement() {
            return '!!';
        }
    }]
});
  <ul>
    {{#each children}}
        <li>{{name}} is {{age}}{{excitement}}</li>
    {{/each}}
    </ul>

A warning will be displayed because {{age}} is being read from the parent scope implicitly since the second child does not have an age:

image

A warning will also be displayed because excitement is a function, but is being called automatically by stache:

image

#332

Commits

The new version differs by 3 commits.

  • d372129 Update dist for release
  • 86a42c4 Merge pull request #332 from canjs/5.0-warnings
  • 1ceff3a warnings for implicit scope walking and automatic function calling

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Preventing scope values from being read multiple times due to warnings

#337

Commits

The new version differs by 11 commits.

  • b6ec488 Update dist for release
  • b6903ff Merge pull request #337 from canjs/double-read-with-warning
  • e4f74fb Fixing issue with scope value being read multiple times due to warning
  • f12beea Merge pull request #334 from canjs/imaustink-patch-1
  • 92e29a2 Update switch.md
  • b1b8f29 Merge pull request #333 from canjs/imaustink-patch-1
  • b547f30 Fix closing unless tag in docs
  • 97d3cfe Merge pull request #331 from canjs/fix-undefined-dev
  • d1b80fc Merge branch 'master' into fix-undefined-dev
  • 17ed45e make warning test dev-only
  • ca91015 Add a reference to can-log/dev to mustache-core; write a dev log test

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 3 commits.

  • d2132aa Update dist for release
  • 3a19cd3 Merge pull request #341 from canjs/move-to-can-log
  • 64ac09c Move to can-log

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes using testHelpers for all dev warning tests

#344

Commits

The new version differs by 3 commits.

  • ce2ff66 Update dist for release
  • 28b89ef Merge pull request #344 from canjs/test-helpers
  • f24c39e using testHelpers for all dev warning tests

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.10.6 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Move from deprecated *self to scope.view
  • Fix *self warnings #345

v3.10.5...v3.10.6

Commits

The new version differs by 3 commits.

  • cf719cc Update dist for release
  • 5318ecd Merge pull request #345 from canjs/fix-star-self-warnings
  • 945a579 Fix *self warnings

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.11.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Deprecating `*foo` and `{{>*self}}` and documenting `scope`

can-view-scope@3.4.0 added a new scope keyword to access the templateContext and deprecated *foo and {{>*self}}. This release officially deprecates these in the docs and adds documentation for the scope keyword.

Commits

The new version differs by 5 commits.

  • fa287b0 Update dist for release
  • de8a247 Merge pull request #346 from canjs/add-scope-deprecate-self
  • deb7446 deprecating *variable and *self and documenting scope (templateContext)
  • 8ca5ff5 Merge pull request #340 from canjs/45-filename
  • 30bc347 accept filename for intermediate_and_imports (fixes canjs/steal-stache#45)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.11.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.12.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Moving %special keywords to scope keyword

This deprecates the %special keywords and moves them into a new scope keyword:

  • %index -> scope.index
  • %key -> scope.key
  • %element -> scope.element
  • %event -> scope.event
  • %viewModel -> scope.viewModel
  • %arguments -> scope.arguments

This also adds two new keywords:

  • scope.filename
  • scope.lineNumber

#352

Commits

The new version differs by 23 commits.

  • 63a0d05 Update dist for release
  • a4cdb9f Merge pull request #352 from canjs/special-template-context
  • 705f229 deprecating %index/@index in favor of scope.index when using #items
  • b259553 Merge pull request #303 from canjs/migrate-to-can-globals
  • eb6a287 Merge remote-tracking branch 'origin/master' into special-template-context
  • e35c883 Landscaper: Remove deprecated can-util methods and replace with can-globals
  • 0826043 Merge pull request #350 from canjs/325-make-each-work-with-plain-objects
  • 9b574b8 Separate handling of plain object and arrays
  • d8b32d7 Combine object and array each handling
  • 43614c8 Merge pull request #351 from canjs/landscaper/update-parent
  • ee63cab Update docs with new @parent & @collection
  • 50ace69 Fixed issue breaking hash expressions with plain objects
  • 318422a cleaning up warning filename/linenumber
  • f39c4df small doc fix
  • 1d9653a Move remaining %special values to scope in the docs and deprecated %special

There are 23 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Adding scope.root

This adds a {[scope.root}} that you can use to access the data passed to a stache renderer function. This allows you to avoid scope walking with recursive partials:

const data = new DefineMap({
    name: "Earthworm Jim",
    child: {
        name: "Grey Worm",
        child: {
            name: "MyDoom"
        }
    },
    exclaim: '!!!'
});

const view = stache("AppTemplate", `
    {{<personAndChildren}}
        <span>{{name}} {{scope.root.exclaim}}</span>
        {{#./child}}
            <div>
                {{>personAndChildren this}}
            </div>
        {{/./child}}
    {{/personAndChildren}}

    {{>personAndChildren this}}
`);

#353

Commits

The new version differs by 5 commits.

  • 52f45ef Update dist for release
  • 19dfb0d Merge pull request #353 from canjs/scope-root
  • d5154dc adding root scope to scope.root keyword
  • cc4cdae alphabetizing scope keys
  • 8d1f818 removing filename metadata since it is set in {{scope.filename}} now

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Fix the Sections docs
  • Fix the Sections docs #355

v3.13.0...v3.13.1

Commits

The new version differs by 3 commits.

  • b7cad0a Update dist for release
  • 7fe91c1 Merge pull request #355 from canjs/3660-docs
  • 5b23836 Fix the Sections docs

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Making scope.index work with plain arrays

#357

Commits

The new version differs by 3 commits.

  • ed1c616 Update dist for release
  • 61ffc70 Merge pull request #357 from canjs/index-with-arrays
  • 5c30cca correctly setting scope.index and deprecating %index/@index with arays

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Making scope.index work with can-view-live.list

#361

Commits

The new version differs by 2 commits.

  • ecb46ab Update dist for release
  • a918bca fix scope.index with can-view-live (#361)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Updating `as` deprecation warning to give filename and lineNumber

Instead of

can-stache: Do not use `{{#each people as person}}`, instead use `{{#each people person=value}}`

this warning will now show

filename.stache:1: the `as` keyword is deprecated. Use {{#each people person=value}} instead of {{#each people as person}}.
Commits

The new version differs by 3 commits.

  • a37d152 Update dist for release
  • 4adf951 Merge pull request #364 from canjs/as-line-numbers
  • c614eca Updating as deprecation warning to give filename and lineNumber

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.13.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 8 commits.

  • eef09b6 Update dist for release
  • 9c69a70 Merge pull request #373 from canjs/372-set-line-number-on-scope-at-end
  • 2aa5bf7 Set lineNumber on close and attrEnd and add tests for it all
  • a080448 Set lineNumber on the scope before passing it to viewCallbacks.tagHandler
  • a39e4b3 Merge pull request #362 from canjs/fix-erroneous-closing-tag-with-bracket
  • d510fb0 Make the new tests devOnly
  • 7a288ec Close bracket notation with the root, and don't warn when missing closing tag for warning
  • 6215f46 Fixed a bug causing erroneous warnings when expression uses brackets

See the full diff

greenkeeper[bot] commented 6 years ago

Version 3.14.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 6 commits.

  • 2252d8e Update dist for release
  • 868cadb Merge pull request #367 from canjs/add-live-helper
  • 32fcc44 Merge remote-tracking branch 'origin/master' into add-live-helper
  • 822424f deprecating registerSimpleHelper in favor of addHelper
  • b47da8a Making #each(list) use can-view-live.list
  • 4a90bde simplifying cases in "each" helper

See the full diff