Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An in-range update of can-type is breaking the build 🚨 #507

Open
greenkeeper bot opened this issue Oct 9, 2019 · 7 comments
Open

An in-range update of can-type is breaking the build 🚨 #507

greenkeeper bot opened this issue Oct 9, 2019 · 7 comments

Comments

@greenkeeper
Copy link
Contributor

greenkeeper bot commented Oct 9, 2019

The devDependency can-type was updated from 1.0.1 to 1.0.2.

🚨 View failing branch.

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

can-type is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for Improve error message

Improve error message by including the type of the value being set:

class Person extends ObservableObject() {
   static get props() {
      return {
	age: type.check(Number)
      };
   }
}

var farah = new Person();
farah.age = '4'; // -> Uncaught Error: 4 (String) is not of type Number.

Commits

The new version differs by 10 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 9, 2019

After pinning to 1.0.1 your tests are passing again. Downgrade this dependency 📌.

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 10, 2019

  • The devDependency can-type was updated from 1.0.2 to 1.0.3.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 4 commits.

  • 24aed08 1.0.3
  • e4928d8 Merge pull request #41 from canjs/subtype
  • a49731b Make the subclass test work in IE11
  • 34a1e2e Makes typing work correctly with derived classes

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 10, 2019

  • The devDependency can-type was updated from 1.0.3 to 1.1.0.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Release Notes for type.Integer

This is a minor release that adds type.Integer as a convenient way to get an integer type. This is useful when you want to convert to whole, non-fractional numbers.

import { Reflect, type } from "can";

let ConvertingInteger = type.convert(type.Integer);
let val = Reflect.convert(12.1, ConvertingInteger);

console.log(val); // -> 12

Commits

The new version differs by 5 commits.

  • 93902fe 1.1.0
  • 766867a Merge pull request #44 from canjs/integer
  • 0c6841f Add type.Integer
  • 4eec65a Merge pull request #43 from canjs/docupdates
  • 3f92d37 Improvements to the docs

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 10, 2019

  • The devDependency can-type was updated from 1.1.0 to 1.1.1.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Release Notes for Prevents running error message tests in production

This is just to fix the canjs/canjs build.

Commits

The new version differs by 8 commits.

  • 5fe9aaf 1.1.1
  • 63c70bf Merge pull request #45 from canjs/make-dev
  • 0917b3c Only run the error message tests in dev
  • 93902fe 1.1.0
  • 766867a Merge pull request #44 from canjs/integer
  • 0c6841f Add type.Integer
  • 4eec65a Merge pull request #43 from canjs/docupdates
  • 3f92d37 Improvements to the docs

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 17, 2019

  • The devDependency can-type was updated from 1.1.1 to 1.1.2.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Release Notes for Documentation improvements and type.Integer fixes

This fixes a couple of bugs in type.Integer

  • Fixes use with can-query-logic so you can do stuff like greater/less than comparing integers.
  • Fixes converting types like {} that don't have an obvious integer conversion. Used to convert to NaN but that is not a valid integer according to Number.isInteger so this has been changed to convert to 0 instead.
Commits

The new version differs by 13 commits.

  • da1d73c 1.1.2
  • 92e25a6 Merge pull request #48 from canjs/int-updates
  • a6d86f2 Integer updates
  • bb6585c Merge pull request #46 from canjs/justinbmeyer-patch-1
  • d89f7d0 Adds a note that check isnt needed.
  • 5fe9aaf 1.1.1
  • 63c70bf Merge pull request #45 from canjs/make-dev
  • 0917b3c Only run the error message tests in dev
  • 93902fe 1.1.0
  • 766867a Merge pull request #44 from canjs/integer
  • 0c6841f Add type.Integer
  • 4eec65a Merge pull request #43 from canjs/docupdates
  • 3f92d37 Improvements to the docs

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 1, 2019

  • The devDependency can-type was updated from 1.1.2 to 1.1.3.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Commits

The new version differs by 15 commits.

  • 4a2e50a 1.1.3
  • b2f7f43 Add error.type property to type error (#49)
  • da1d73c 1.1.2
  • 92e25a6 Merge pull request #48 from canjs/int-updates
  • a6d86f2 Integer updates
  • bb6585c Merge pull request #46 from canjs/justinbmeyer-patch-1
  • d89f7d0 Adds a note that check isnt needed.
  • 5fe9aaf 1.1.1
  • 63c70bf Merge pull request #45 from canjs/make-dev
  • 0917b3c Only run the error message tests in dev
  • 93902fe 1.1.0
  • 766867a Merge pull request #44 from canjs/integer
  • 0c6841f Add type.Integer
  • 4eec65a Merge pull request #43 from canjs/docupdates
  • 3f92d37 Improvements to the docs

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2019

  • The devDependency can-type was updated from 1.1.3 to 1.1.4.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Release Notes for Adding steal-remove

#52

Commits

The new version differs by 18 commits.

  • 0ca7c1c 1.1.4
  • e2b647b Merge pull request #52 from canjs/steal-remove
  • 398336a adding steal-remove
  • 4a2e50a 1.1.3
  • b2f7f43 Add error.type property to type error (#49)
  • da1d73c 1.1.2
  • 92e25a6 Merge pull request #48 from canjs/int-updates
  • a6d86f2 Integer updates
  • bb6585c Merge pull request #46 from canjs/justinbmeyer-patch-1
  • d89f7d0 Adds a note that check isnt needed.
  • 5fe9aaf 1.1.1
  • 63c70bf Merge pull request #45 from canjs/make-dev
  • 0917b3c Only run the error message tests in dev
  • 93902fe 1.1.0
  • 766867a Merge pull request #44 from canjs/integer

There are 18 commits in total.

See the full diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants