eventualbuddha / add-variable-declarations Goto Github PK
View Code? Open in Web Editor NEWAdd variable declarations for global assignments.
License: MIT License
Add variable declarations for global assignments.
License: MIT License
Blocking decaffeinate/decaffeinate#168.
master
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can resolve this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
The npm token configured in the NPM_TOKEN
environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/
.
If you are using Two-Factor Authentication, make configure the auth-only
level is supported. semantic-release cannot publish with the default auth-and-writes
level.
Please make sure to set the NPM_TOKEN
environment variable in your CI with the exact value of the npm token.
Good luck with your project β¨
Your semantic-release bot π¦π
master
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can fix this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
The npm token configured in the NPM_TOKEN
environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/
.
If you are using Two Factor Authentication for your account, set its level to "Authorization only" in your account settings. semantic-release cannot publish with the default "
Authorization and writes" level.
Please make sure to set the NPM_TOKEN
environment variable in your CI with the exact value of the npm token.
Good luck with your project β¨
Your semantic-release bot π¦π
Maybe? That seems to be how CoffeeScript handles it:
a
a = 1
Becomes:
a;
var a;
a = 1;
0.25.2
to 0.25.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
magic-string is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 4 commits.
a312519
0.25.3
2bd5063
update changelog & remove non-working badges
38d7ac3
upgrade dependencies
b6fd47d
Fix type of SourceMap.version (#155)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
7.0.4
to 7.0.5
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/babel__traverse is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
dependency
@babel/traverse was updated from 7.5.5
to 7.6.0
.dependency
@babel/types was updated from 7.6.0
to 7.6.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
In getFirstStatementInBlock
the WhileStatement case is not being handled.
var
is all but deprecated.
immutable variables should use const
and variable ones let
.
Branch | Build failing π¨ |
---|---|
Dependency | babel-traverse |
Current Version | 6.24.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
babel-traverse is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
master
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can fix this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
semantic-release cannot push the version tag to the branch master
on the remote Git repository with URL https://[secure]@github.com/eventualbuddha/add-variable-declarations.git
.
This can be caused by:
Good luck with your project β¨
Your semantic-release bot π¦π
dependency
@babel/traverse was updated from 7.6.3
to 7.7.0
.dependency
@babel/types was updated from 7.6.3
to 7.7.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.circleci/config.yml
cimg/node 16.20
cimg/node 18.20
cimg/node 20.12
cimg/node 20.12
package.json
@babel/traverse ^7.20.5
@babel/types ^7.20.5
@codemod/parser ^1.2.1
magic-string ^0.30.0
@types/babel__traverse ^7.18.3
@types/jest ^29.2.3
@types/node ^18.0.0
jest ^29.3.1
ts-jest ^29.0.3
tsup ^6.5.0
typescript ^5.0.0
@babel/types 7.24.5
Branch | Build failing π¨ |
---|---|
Dependency | babylon |
Current Version | 6.17.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
babylon is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
flowParseObjectTypeMethodish
. (#526) (Max Schaefer)The new version differs by 6 commits.
a9aade9
Changelog 6.17.2
8722762
6.17.2
8a8cc1a
Fixed disappearing comments following a trailing comma on the last property of an object literal or the last argument of a call expression (#478) (#551)
990675d
Fix #437: only prohibit 'export type from "module" ' when flow is enabled (#438) (#531)
b7c13a8
Fix handling of anonymous parameters in flowParseObjectTypeMethodish
. (#526) (#528)
54399ab
Convert argument of SpreadElement correctly to assignable (#518) (#519)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
dependency
@babel/traverse was updated from 7.5.5
to 7.6.0
.dependency
@babel/types was updated from 7.5.5
to 7.6.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
dependency
@babel/parser was updated from 7.2.0
to 7.2.2
.dependency
@babel/traverse was updated from 7.1.6
to 7.2.2
.dependency
@babel/types was updated from 7.2.0
to 7.2.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | babel-types |
Current Version | 6.24.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
babel-types is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
From decaffeinate/decaffeinate#316:
// This inputβ¦
let fn = function(a, b) {
if (a) {
if (b) {
r = 0;
} else {
r = 1;
}
} else {
r = 2;
}
return r;
};
// β¦yields this output:
let fn = function(a, b) {
if (a) {
if (b) {
var r = 0;
} else {
var r = 1;
}
} else {
var r = 2;
}
return r;
};
There is a failing test for this here.
As @avonwyss pointed out, this is bad style and is flagged as such by static analysis tools. We should ensure that we add var
for a particular binding only once per function or module and that it is in the innermost scope that it can be. That is, the example above should be this:
let fn = function(a, b) {
var r;
if (a) {
if (b) {
r = 0;
} else {
r = 1;
}
} else {
r = 2;
}
return r;
};
But here the var
should be in a nested scope:
// input
if (a) {
if (b) {
r = 0;
} else {
r = 1;
}
}
// output
if (a) {
var r;
if (b) {
r = 0;
} else {
r = 1;
}
}
24.0.9
to 24.0.10
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/jest 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.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
11.10.0
to 11.10.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node 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.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
24.0.1
to 24.0.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
ts-jest 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.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.