GithubHelp home page GithubHelp logo

trivikr / aws-sdk-js-v2-to-v3 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 34.26 MB

jscodeshift transform to convert application code using AWS SDK for JavaScript v2 to use v3

License: MIT License

TypeScript 99.05% JavaScript 0.95%

aws-sdk-js-v2-to-v3's Introduction

नमस्ते 🙏🏾

aws-sdk-js-v2-to-v3's People

Contributors

github-actions[bot] avatar trivikr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aws-sdk-js-v2-to-v3's Issues

[Bug]: yarn build fails with Cannot redeclare block-scoped variable 'foo'

Self-service

  • I'd be willing to implement a fix

Describe the bug

Running yarn build on main throws following error:

src/__testfixtures__/basic.input.ts:1:7 - error TS2451: Cannot redeclare block-scoped variable 'foo'.

1 const foo = 123;
        ~~~

  src/__testfixtures__/basic.output.ts:1:7
    1 const foo = 123;
            ~~~
    'foo' was also declared here.

src/__testfixtures__/basic.output.ts:1:7 - error TS2451: Cannot redeclare block-scoped variable 'foo'.

1 const foo = 123;
        ~~~

  src/__testfixtures__/basic.input.ts:1:7
    1 const foo = 123;
            ~~~
    'foo' was also declared here.


Found 2 errors in 2 files.

Errors  Files
     1  src/__testfixtures__/basic.input.ts:1
     1  src/__testfixtures__/basic.output.ts:1

Steps to reproduce

Run yarn build on main

Environment

node v16.14.0

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.