lacroixdesign / node-bourbon

A node-sass port of Bourbon.
http://lacroixdesign.github.io/node-bourbon
Other
148 stars 14 forks source link

WARNING: [Bourbon] [Deprecation] `***` is deprecated and will be removed in 5.0.0. #37

Open agragregra opened 7 years ago

agragregra commented 7 years ago

WARNING: [Bourbon] [Deprecation] em is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_px-to-em.scss:8, in function em node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21

WARNING: [Bourbon] [Deprecation] strip-units is deprecated and will be removed in 5.0.0. Use the renamed strip-unit function instead. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_strip-units.scss:18, in function strip-units node_modules/bourbon/app/assets/stylesheets/functions/_px-to-em.scss:12, in function em node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21

WARNING: [Bourbon] [Deprecation] strip-units is deprecated and will be removed in 5.0.0. Use the renamed strip-unit function instead. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_strip-units.scss:18, in function strip-units node_modules/bourbon/app/assets/stylesheets/functions/_px-to-em.scss:15, in function em node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113

WARNING: [Bourbon] [Deprecation] font-url-prefixer is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:7, in function font-url-prefixer node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:9, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] font-source-declaration is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:26, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:3

WARNING: [Bourbon] [Deprecation] font-url-prefixer is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:7, in function font-url-prefixer node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:9, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] font-source-declaration is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:26, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] contains is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:21, in function contains node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function font-source-declaration node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin font-face app/sass/_fonts.sass:4

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112

WARNING: [Bourbon] [Deprecation] assign-inputs is deprecated and will be removed in 5.0.0. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss:4, in function assign-inputs node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113

What is It?

iamlacroix commented 7 years ago

It means Bourbon will be removing those features in the next major release (5.0.0). The 4.x releases will still have those features.

agragregra commented 7 years ago

Thank you. But is a warning delay compiling Sass.

iamlacroix commented 7 years ago

Is it blocking/preventing your build entirely?

agragregra commented 7 years ago

build time increased by 4 times, and reaches 1-2 seconds. That's a lot. Workaround $output-bourbon-deprecation-warnings: false I would like to know when it will be fixed?

andrejpavlovic commented 7 years ago

I guess the weird part is that the deprication warnings are being triggered just by including the library. One would think that they would not use depricated functions inside the library itself...

LordRembo commented 7 years ago

@agragregra If you want to turn off the warnings, you can add this code in your main Sass-file, before importing Bourbon and other Sass files: $output-bourbon-deprecation-warnings: false !default;

But if you have the time and want to be able to keep using Bourbon in the future, you should remove as much of the deprecated code from your project as possible. I copy/pasted some functions into my own Sass, such as strip-units, px-to-rem and px-to-em because we use it extensively and I find them very handy.

tysongach commented 7 years ago

I guess the weird part is that the deprication warnings are being triggered just by including the library. One would think that they would not use depricated functions inside the library itself...

@andrejpavlovic This should be resolved in Bourbon v4.3.2.

ismyrnow commented 7 years ago

@tysongach Do you know when the next release of node-bourbon will be that catches the library up to the latest upstream version of bourbon?

tysongach commented 7 years ago

@ismyrnow I do not. This is a fully independent project.

ismyrnow commented 7 years ago

@tysongach I'm aware this project is independent, but it seems it tracks bourbon, more or less. Is anything needed besides updating the dependency and cutting a release?

bs-thomas commented 6 years ago

Hello there, may I ask if there is a plan to update and remove these warnings? Seems like an annoying warning message and sort of makes my gulp build a little messy.

Thanks!

trickydisco78 commented 6 years ago

also wondered about this. I know bourbon 5 has been released now. Is it just a case of updating the dependency or will 5 break a lot of things that we'll need to fix in our code?

mlwebworker commented 6 years ago

Version 5 of Bourbon is released, when will node-bourbon use version 5?