Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    See npm package version

    Features requests
    4
    6
    337
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniel Mulroy
      Daniel Mulroy last edited by

      Hello team, could you please show the version of the currently installed package in the library manager?

      Screenshot 2020-07-17 09.50.46.png

      Thank you!

      1 Reply Last reply Reply Quote 1
      • T
        Thomas D last edited by Thomas D

        I'm guessing they always default to latest, which can be breaking stuff for packages that become unmaintained...

        I'd like to extend it to be able to pin package versions.

        Daniel Mulroy 1 Reply Last reply Reply Quote 0
        • Wassim
          Wassim last edited by

          You're both right, it would be great! Added to the list 👏

          1 Reply Last reply Reply Quote 1
          • Daniel Mulroy
            Daniel Mulroy @Thomas D last edited by

            @ThomasD said in See npm package version:

            I'm guessing they always default to latest, which can be breaking stuff for packages that become unmaintained...

            From a previous conversation with support, I understood that they cache the copy of the npm package when you hit 'Save'. Thus, the version is NOT updated unless you uncheck the package, hit 'save', then re-open the library manager, re-add the package, and hit 'Save' one last time. @wassim can you confirm?

            I'd like to extend it to be able to pin package versions.
            I think this is the current behavior (again I hope @wassim can confirm).

            I would really like the ability to update a certain package across all functions.

            Joseph Benguira 1 Reply Last reply Reply Quote 1
            • T
              Thomas D last edited by

              @Daniel-Mulroy If that's the case, that's very bad for security...

              1 Reply Last reply Reply Quote 0
              • Joseph Benguira
                Joseph Benguira @Daniel Mulroy last edited by

                @Daniel-Mulroy In fact not, each time you add/remove a dependency it will redownload/reinstall all the NPM deps ...
                It's only if you do NO changes at all (no add, no remove of package, so in fact nothing ...) that the deps are not rebuilt 😉

                About updating package across all functions, this is clearly an Anti-Pattern in Serverless!
                each micro service must be completely independant and not affected by changes of other functions

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post