Open agragregra opened 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.
Thank you. But is a warning delay compiling Sass.
Is it blocking/preventing your build entirely?
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?
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...
@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.
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.
@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?
@ismyrnow I do not. This is a fully independent project.
@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?
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!
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?
Version 5 of Bourbon is released, when will node-bourbon use version 5?
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 functionem
node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21WARNING: [Bourbon] [Deprecation]
strip-units
is deprecated and will be removed in 5.0.0. Use the renamedstrip-unit
function instead. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_strip-units.scss:18, in functionstrip-units
node_modules/bourbon/app/assets/stylesheets/functions/_px-to-em.scss:12, in functionem
node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21WARNING: [Bourbon] [Deprecation]
strip-units
is deprecated and will be removed in 5.0.0. Use the renamedstrip-unit
function instead. Backtrace: node_modules/bourbon/app/assets/stylesheets/functions/_strip-units.scss:18, in functionstrip-units
node_modules/bourbon/app/assets/stylesheets/functions/_px-to-em.scss:15, in functionem
node_modules/bourbon/app/assets/stylesheets/functions/_modular-scale.scss:21WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113WARNING: [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 functionfont-url-prefixer
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:9, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:3WARNING: [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 functionfont-url-prefixer
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:9, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functioncontains
node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in functionfont-source-declaration
node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixinfont-face
app/sass/_fonts.sass:4WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:56WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:57WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:58WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss:59WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:110WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:111WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:112WARNING: [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 functionassign-inputs
node_modules/bourbon/app/assets/stylesheets/addons/_text-inputs.scss:113What is It?