question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

newLineIfLastNotNewLine() is deprecated. Use newLineIfLastNot() instead.

See original GitHub issue

Keep getting this warning as well as spaceIfLastNotSpace() is deprecated. Use spaceIfLastNot() instead. when I’m generating classes. Haven’t quite narrowed down exactly what method it is yet…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lazarljubenoviccommented, Apr 5, 2018

I meant the OP’s lock file of the project. It could be pointing to a lower version of a lib, even though package.json is allowing the higher one.

On Wed, Apr 4, 2018 at 9:58 PM, David Sherret notifications@github.com wrote:

The lockfile uses an old version that wouldn’t have the console.warn in it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dsherret/ts-simple-ast/issues/301#issuecomment-378726055, or mute the thread https://github.com/notifications/unsubscribe-auth/AHTnkVXSV5wlpGrff9dfins_hpqeG2EDks5tlSX2gaJpZM4THKxe .

0reactions
dsherretcommented, Apr 5, 2018

@lazarljubenovic ah yes, I forgot about that. Good point! Thanks!

@ChuckJonas no problem! I’m glad that cleared it up. Sorry for introducing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unexpected deprecation warning after upgrading to ... - GitHub
When I subscribe to the observable, I get the deprecation warning subscribe is deprecated: Use an observer instead of a complete callback ...
Read more >
Manage lifecycle changes in functions you use
The lifecycle package uses warnings to tell you about deprecated functions. Deprecated functions will be removed in a future release, so it's good...
Read more >
How to resolve RSpec's deprecation warning about the new ...
As the message says, you have two options: Explicitly configure RSpec to allow .should . Don't use that option; .should is deprecated and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found