canjs / can-connect

Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.
https://canjs.com/doc/can-connect.html
MIT License
29 stars 16 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

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](https://travis-ci.org/canjs/can-connect/builds/595709034?utm_source=github_status&utm_medium=notification)).

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](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 5 years ago

After pinning to 1.0.1 your tests are passing again. Downgrade this dependency πŸ“Œ.

greenkeeper[bot] commented 5 years ago

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[bot] commented 5 years ago

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[bot] commented 5 years ago

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[bot] commented 5 years ago

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[bot] commented 5 years ago

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[bot] commented 4 years ago

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