Competidaily Generator lambda function to retrieve a random theme from our database.

Overview

Competidaily Generator backend - GET RANDOM THEME

This repo contains the GET requisition used as a lambda function to retrieve a random theme from the competidaily database.

Warning Please read this README before opening an issue or a pull request. Pull requests and issues that do not follow guidelines will be closed.

Contents

Installation


Clone this repo and install all dependencies:

$ git clone https://github.com/uxthi/competidaily-generator-backend.git
$ cd competidaily-generator-backend
$ npm install

Structure


├── .github
│   ├── workflows
│   │   └── main.yml (action to deploy on lambda)
│   │   └── ... (other actions)
│   ├── CODEOWNERS (list of people who needs to approve prs)
│   ├── pull_request_template.md 
├── .gitignore
├── README
├── index.js (function used on aws lambda)
├── package.json
├── package-lock.json

Deploy


All pull requests merged on master branch will be deployed to AWS lambda as a github action.

Want to Contribute?


Start by opening an issue on this repo. If you think you found a bug, try explain it and give as much detail as possible, as well as steps to reproduce your problem. If it's a feature suggestion, please explain what do you want and why should we implement it.

You can always open a PR solving any issue or adding a feature. Please DO NOT open PR without first opening an Issue or making sure that there is already an opened issue. Also, always reference said Issue on your pull request.

Comments
  • Bump mongodb from 4.9.1 to 4.10.0

    Bump mongodb from 4.9.1 to 4.10.0

    Bumps mongodb from 4.9.1 to 4.10.0.

    Release notes

    Sourced from mongodb's releases.

    v4.10.0

    The MongoDB Node.js team is pleased to announce version 4.10.0 of the mongodb package!

    Release Highlights

    Callback Deprecation

    Looking to improve our API's consistency and handling of errors we are planning to remove callback support in the next major release of the driver. Today marks the notice of their removal. Migrating to a promise only API allows us to offer uniform error handling and better native support for automatic promise construction. In this release you will notice deprecation warnings in doc comments for all our callback overloads and if you are working in VSCode you should notice strikethroughs on these APIs. We encourage you to migrate to promises where possible:

    • Using async/await syntax can yield the best experience with promise usage.
    • Using Node.js' callbackify utility is one approach:
      • require('util').callbackify(() => collection.findOne())(callback)
    • Using .then syntax is another:
      • collection.findOne().then(res => callback(null, res), err => callback(err))
    • And lastly, for large codebases still intertwined with callbacks we have an alternative package prepared.

    MongoDB-Legacy Callback Support

    While the 4.10.0 version only deprecates our support of callbacks, there will be a major version that removes the support altogether. In order to keep using callbacks after v5 is released, we recommend migrating your driver version to mongodb-legacy (github link). This package wraps every single async API our driver offers and is designed to provide the exact behavior of the MongoDB 4.10.0 release (both callbacks and promises are supported). Any new features added to MongoDB will be automatically inherited but will only support promises. This package is fully tested against our current suite and adoption should be confined to changing an import require('mongodb') -> require('mongodb-legacy'). If this package is useful to you and your use case we encourage you to adopt it before v5 to ensure it continues to work as expected.

    Read more about it on the package's readme here:

    Features

    • NODE-4385: add cmap pool pausing functionality (#3321) (335ee55)
    • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#3365) (846365a)
    • NODE-4519: deprecate promiseLibrary and PromiseProvider (#3403) (5c322b6)
    • NODE-4547: mark all callback APIs as deprecated (#3388) (a983f14)
    • NODE-4634: add support for bulk FindOperators.hint() (#3408) (8758890)

    Bug Fixes

    • NODE-3144: pool clear event ordering and retryability tests (#3407) (bdc0d67)
    • NODE-4557: randomize servers when there are only 2 eligible servers (#3390) (ddcfa49)
    • NODE-4583: revert nested union type support (#3383) (7f94f0a)
    • NODE-4591: only set loadBalanced on handshake when explicitly set (#3386) (57e9f2d)
    • NODE-4621: ipv6 address handling in HostAddress (#3410) (5eb3978)
    • NODE-4639: allow PromiseProvider to be null (#3412) (d29b3d9)

    Documentation

    We invite you to try the mongodb library immediately, and report any issues to the NODE project.

    Changelog

    Sourced from mongodb's changelog.

    4.10.0 (2022-09-19)

    Features

    • NODE-4385: add cmap pool pausing functionality (#3321) (335ee55)
    • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#3365) (846365a)
    • NODE-4519: deprecate promiseLibrary and PromiseProvider (#3403) (5c322b6)
    • NODE-4547: mark all callback APIs as deprecated (#3388) (a983f14)
    • NODE-4607: add exports needed by legacy client (#3396) (972f760)
    • NODE-4634: add support for bulk FindOperators.hint() (#3408) (8758890)

    Bug Fixes

    • NODE-3144: pool clear event ordering and retryability tests (#3407) (bdc0d67)
    • NODE-3986: unskip MONGODB-AWS test (#3397) (5676f81)
    • NODE-4557: randomize servers when there are only 2 eligible servers (#3390) (ddcfa49)
    • NODE-4583: revert nested union type support (#3383) (7f94f0a)
    • NODE-4591: only set loadBalanced on handshake when explicitly set (#3386) (57e9f2d)
    • NODE-4621: ipv6 address handling in HostAddress (#3410) (5eb3978)
    • NODE-4639: allow PromiseProvider to be null (#3412) (d29b3d9)

    4.9.0 (2022-08-18)

    Features

    • NODE-3517: improve index spec handling and type definitions (#3315) (0754bf9)
    • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#3340) (d2b6ad8)
    • NODE-4548: export ChangeStream class from top-level (#3357) (48f295a)

    Bug Fixes

    • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#3348) (00dcf2d)
    • NODE-4273: pass 'comment' option through to distinct command (#3339) (753ecfe)
    • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#3319) (dcbfd6e)
    • NODE-4429: select server sync for endSessions during close (#3363) (5086ead)
    • NODE-4467: Add back support for oplogReplay option as deprecated (#3337) (6c69b7d)
    • NODE-4496: counter values incorrecly compared when instance of Long (#3342) (d29eb8c)
    • NODE-4513: type for nested objects in query & update (#3349) (ec1a68f)
    • NODE-4533: session support error message and unified test runner (#3355) (6a0e502)
    • NODE-4555: export BSON internally (#3367) (4ce6e4c)

    4.8.1 (2022-07-26)

    Bug Fixes

    ... (truncated)

    Commits
    • dc34388 chore(release): 4.10.0
    • 23537e6 test(NODE-4648): pull prepare shell out to script and fix reporter error hand...
    • 5eb3978 fix(NODE-4621): ipv6 address handling in HostAddress (#3410)
    • 9883993 refactor(NODE-4637): clean up async interval (#3411)
    • 64b3ee9 refactor(NODE-4617): use promise apis in benchmarks (#3399)
    • 8758890 feat(NODE-4634): add support for bulk FindOperators.hint() (#3408)
    • d29b3d9 fix(NODE-4639): allow PromiseProvider to be null (#3412)
    • bdc0d67 fix(NODE-3144): pool clear event ordering and retryability tests (#3407)
    • b8b765b docs: generate docs from latest main (#3371)
    • a983f14 feat(NODE-4547): mark all callback APIs as deprecated (#3388)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump mongodb from 4.9.1 to 4.12.1

    Bump mongodb from 4.9.1 to 4.12.1

    Bumps mongodb from 4.9.1 to 4.12.1.

    Release notes

    Sourced from mongodb's releases.

    v4.12.1

    The MongoDB Node.js team is pleased to announce version 4.12.1 of the mongodb package!

    Release Highlights

    This version includes a fix to a regression in our monitoring logic that could cause process crashing errors that was introduced in v4.12.0.

    If you are using v4.12.0 of the Node driver, we strongly encourage you to upgrade.

    Bug Fixes

    Documentation

    We invite you to try the mongodb library immediately, and report any issues to the NODE project.

    4.12.0

    The MongoDB Node.js team is pleased to announce version 4.12.0 of the mongodb package!

    Release Highlights

    ChangeStreams are now AsyncIterators

    ChangeStreams are now async iterables and can be used anywhere that expects an async iterable. Notably, change streams can now be used in Javascript for-await loops:

    const changeStream = collection.watch();
    for await (const change of changeStream) {
      console.log(“Received change: “, change);
    }
    

    Some users may have been using change streams in for-await loops manually by using a for-await loop with the ChangeStream’s internal cursor. For example:

    const changeStream = collection.watch();
    for await (const change of changeStream.cursor) {
      console.log(“Received change: “, change);
    }
    

    The change stream cursor has no support for resumabilty and consequently the change stream will never attempt to resume on any errors. We strongly caution against using a change stream cursor as an async iterable and strongly recommend using the change stream directly.

    Server Monitoring Fix When Monitoring Events are Skipped

    ... (truncated)

    Changelog

    Sourced from mongodb's changelog.

    4.12.1 (2022-11-23)

    Bug Fixes

    4.12.0 (2022-11-16)

    Features

    Bug Fixes

    • NODE-4609: allow mapping to falsey non-null values in cursors (#3452) (1bf6ef1)
    • NODE-4735: fix change stream consecutive resumabilty (#3453) (89b27e9)
    • NODE-4753: remove erroneous deprecation of geoNear (#3465) (199dcaf)
    • NODE-4783: handle orphaned operation descriptions (#3463) (4c9b4d8)

    4.11.0 (2022-10-19)

    Features

    • NODE-3255: add minPoolSizeCheckIntervalMS option to connection pool (#3429) (5f34ad0)
    • NODE-3651: add hashed index type (#3432) (f6b56a1)
    • NODE-3875: support recursive schema types (#3433) (26bce4a)
    • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)
    • NODE-4650: handle handshake errors with SDAM (#3426) (cbe7533)
    • NODE-4721: add aws-sdk as optional dependency (#3446) (b879cb5)

    Bug Fixes

    • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#3174) (ca51fec)
    • NODE-3921: error on invalid TLS option combinations (#3405) (1a550df)
    • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#3425) (dc62bcb)
    • NODE-4475: make interrupted message more specific (#3437) (5f37cb6)
    • NODE-4608: prevent parallel monitor checks (#3404) (78bcfe4)
    • NODE-4647: improve error message (#3409) (0d3c02e)
    • NODE-4649: use SDAM handling for errors from min pool size population (#3424) (ef3b55d)

    ... (truncated)

    Commits
    • 73e92ce chore(release): 4.12.1
    • 9795cdb fix(NODE-4831): check map value is not undefined (#3477)
    • ff375e9 fix(NODE-4830): lazily import aws module (#3476)
    • c4c560c chore(NODE-4824): add check to confirm docs generation and release only runs ...
    • fda7d25 test(NODE-4790): retryable handshake errors spec sync (#3472)
    • 8254575 chore(release): 4.12.0
    • bcc33c8 docs: generate docs from latest main (#3469)
    • 4c9b4d8 fix(NODE-4783): handle orphaned operation descriptions (#3463)
    • 04203c7 docs(NODE-4755): clarify deprecation docs for autoIndexId (#3470)
    • 1a5e619 feat(NODE-4757): deprecate unused PipeOptions (#3466)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump mongodb from 4.9.1 to 4.12.0

    Bump mongodb from 4.9.1 to 4.12.0

    Bumps mongodb from 4.9.1 to 4.12.0.

    Release notes

    Sourced from mongodb's releases.

    4.12.0

    The MongoDB Node.js team is pleased to announce version 4.12.0 of the mongodb package!

    Release Highlights

    ChangeStreams are now AsyncIterators

    ChangeStreams are now async iterables and can be used anywhere that expects an async iterable. Notably, change streams can now be used in Javascript for-await loops:

    const changeStream = collection.watch();
    for await (const change of changeStream) {
      console.log(“Received change: “, change);
    }
    

    Some users may have been using change streams in for-await loops manually by using a for-await loop with the ChangeStream’s internal cursor. For example:

    const changeStream = collection.watch();
    for await (const change of changeStream.cursor) {
      console.log(“Received change: “, change);
    }
    

    The change stream cursor has no support for resumabilty and consequently the change stream will never attempt to resume on any errors. We strongly caution against using a change stream cursor as an async iterable and strongly recommend using the change stream directly.

    Server Monitoring Fix When Monitoring Events are Skipped

    Version 4.7.0 of the Node driver released an improvement to our server monitoring in FAAS environments by allowing the driver to skip monitoring events if there were more than one monitoring events in the queue when the monitoring code restarted. When skipping monitoring events that contained a topology change, the driver would incorrectly fail to update its view of the topology.

    Version 4.12.0 fixes this issue by ensuring that the topology is always updated when monitoring events are processed.

    Performance Improvements with Buffering

    This release also modifies the data structures used internally in the driver to use linked lists in places where random access is not required and constant time insertion and deletion is beneficial.

    External Contributions

    Many thanks to @​ImRodry for helping us fix the documentation for our deprecated callback overloads in this release!

    Features

    • NODE-4683: make ChangeStream an async iterable (#3454) (df8d9a4)

    Deprecations

    ... (truncated)

    Changelog

    Sourced from mongodb's changelog.

    4.12.0 (2022-11-16)

    Features

    Bug Fixes

    • NODE-4609: allow mapping to falsey non-null values in cursors (#3452) (1bf6ef1)
    • NODE-4735: fix change stream consecutive resumabilty (#3453) (89b27e9)
    • NODE-4753: remove erroneous deprecation of geoNear (#3465) (199dcaf)
    • NODE-4783: handle orphaned operation descriptions (#3463) (4c9b4d8)

    4.11.0 (2022-10-19)

    Features

    • NODE-3255: add minPoolSizeCheckIntervalMS option to connection pool (#3429) (5f34ad0)
    • NODE-3651: add hashed index type (#3432) (f6b56a1)
    • NODE-3875: support recursive schema types (#3433) (26bce4a)
    • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)
    • NODE-4650: handle handshake errors with SDAM (#3426) (cbe7533)
    • NODE-4721: add aws-sdk as optional dependency (#3446) (b879cb5)

    Bug Fixes

    • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#3174) (ca51fec)
    • NODE-3921: error on invalid TLS option combinations (#3405) (1a550df)
    • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#3425) (dc62bcb)
    • NODE-4475: make interrupted message more specific (#3437) (5f37cb6)
    • NODE-4608: prevent parallel monitor checks (#3404) (78bcfe4)
    • NODE-4647: improve error message (#3409) (0d3c02e)
    • NODE-4649: use SDAM handling for errors from min pool size population (#3424) (ef3b55d)

    4.10.0 (2022-09-19)

    Features

    • NODE-4385: add cmap pool pausing functionality (#3321) (335ee55)
    • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#3365) (846365a)
    • NODE-4519: deprecate promiseLibrary and PromiseProvider (#3403) (5c322b6)

    ... (truncated)

    Commits
    • 8254575 chore(release): 4.12.0
    • bcc33c8 docs: generate docs from latest main (#3469)
    • 4c9b4d8 fix(NODE-4783): handle orphaned operation descriptions (#3463)
    • 04203c7 docs(NODE-4755): clarify deprecation docs for autoIndexId (#3470)
    • 1a5e619 feat(NODE-4757): deprecate unused PipeOptions (#3466)
    • 9958879 docs: generate docs from latest main (#3462)
    • 8320315 docs(NODE-4823): fix broken links in 4.11 documentation (#3467)
    • 199dcaf fix(NODE-4753): remove erroneous deprecation of geoNear (#3465)
    • 1eea4f0 feat(NODE-4809): deprecate the existing logger (#3464)
    • b70cc7c types: move deprecated overloads to the bottom (#3461)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump mongodb from 4.9.1 to 4.11.0

    Bump mongodb from 4.9.1 to 4.11.0

    Bumps mongodb from 4.9.1 to 4.11.0.

    Release notes

    Sourced from mongodb's releases.

    4.11.0

    The MongoDB Node.js team is pleased to announce version 4.11.0 of the mongodb package!

    Release Highlights

    Recursive Schema Support

    Version 4.3.0 of the Node driver added Typescript support for dot notation into our Filter type but in the process it broke support for recursive schemas. In 4.11.0, we now support recursive schemas and provide type safety on dot notation queries up to a depth of 9. Beyond a depth of 9, code still compiles but is no longer type checked (it falls back to a type of any).

    interface CircularSchema {
        name: string;
        nestedSchema: CircularSchema;
    }
    

    // we have a collection of type Collection<CircularSchema>

    // below a depth of 9, type checking is enforced collection.findOne({ 'nestedSchema.nestedSchema.nestedSchema.name': 25 }) // compilation error - name must be a string

    // at a depth greater than 9, code compiles but is not type checked (11 deep) collection.findOne({ 'nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.nestedSchema.name': 25 }) // NO compilation error

    Note that our depth limit is a product of Typescript's recursive type limitations.

    External Contributions

    Many thanks to those who contributed to this release!

    • @​ermik provided an extremely large schema to test compilation with, which made testing our new recursive schema support possible with large schemas straightforward.
    • @​noahsilas for documentation improvements in change streams and fixing our Typescript types for read preferences.
    • @​zendagin for adding Typescript support for hashed indexes.
    • @​biniona-mongodb for fixing our parsing of TLS options.
    • @​LinusU for removing support for server versions lower than our minimum supported server version and improving error messages for unacknowledged writes with hints.

    Features

    • NODE-3651: add hashed index type (#3432) (f6b56a1)
    • NODE-3875: support recursive schema types (#3433) (26bce4a)
    • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)
    • NODE-4650: handle handshake errors with SDAM (#3426) (cbe7533)
    • NODE-4721: add aws-sdk as optional dependency (#3446) (b879cb5)

    ... (truncated)

    Changelog

    Sourced from mongodb's changelog.

    4.11.0 (2022-10-19)

    Features

    • NODE-3255: add minPoolSizeCheckIntervalMS option to connection pool (#3429) (5f34ad0)
    • NODE-3651: add hashed index type (#3432) (f6b56a1)
    • NODE-3875: support recursive schema types (#3433) (26bce4a)
    • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)
    • NODE-4650: handle handshake errors with SDAM (#3426) (cbe7533)
    • NODE-4721: add aws-sdk as optional dependency (#3446) (b879cb5)

    Bug Fixes

    • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#3174) (ca51fec)
    • NODE-3921: error on invalid TLS option combinations (#3405) (1a550df)
    • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#3425) (dc62bcb)
    • NODE-4475: make interrupted message more specific (#3437) (5f37cb6)
    • NODE-4608: prevent parallel monitor checks (#3404) (78bcfe4)
    • NODE-4647: improve error message (#3409) (0d3c02e)
    • NODE-4649: use SDAM handling for errors from min pool size population (#3424) (ef3b55d)

    4.10.0 (2022-09-19)

    Features

    • NODE-4385: add cmap pool pausing functionality (#3321) (335ee55)
    • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#3365) (846365a)
    • NODE-4519: deprecate promiseLibrary and PromiseProvider (#3403) (5c322b6)
    • NODE-4547: mark all callback APIs as deprecated (#3388) (a983f14)
    • NODE-4607: add exports needed by legacy client (#3396) (972f760)
    • NODE-4634: add support for bulk FindOperators.hint() (#3408) (8758890)

    Bug Fixes

    • NODE-3144: pool clear event ordering and retryability tests (#3407) (bdc0d67)
    • NODE-3986: unskip MONGODB-AWS test (#3397) (5676f81)
    • NODE-4557: randomize servers when there are only 2 eligible servers (#3390) (ddcfa49)
    • NODE-4583: revert nested union type support (#3383) (7f94f0a)
    • NODE-4591: only set loadBalanced on handshake when explicitly set (#3386) (57e9f2d)
    • NODE-4621: ipv6 address handling in HostAddress (#3410) (5eb3978)
    • NODE-4639: allow PromiseProvider to be null (#3412) (d29b3d9)

    4.9.0 (2022-08-18)

    Features

    ... (truncated)

    Commits
    • 6fb87e4 chore(release): 4.11.0
    • 631455d docs(NODE-4724): update fle docs to use "in use encryption" terminology (#3448)
    • 7a8b186 docs(NODE-4554): remove experimental tag from disambiguatedPaths (#3450)
    • 8f06a55 chore(NODE-4700): update dependencies (#3439)
    • b879cb5 feat(NODE-4721): add aws-sdk as optional dependency (#3446)
    • 5f37cb6 fix(NODE-4475): make interrupted message more specific (#3437)
    • 26bce4a feat(NODE-3875): support recursive schema types (#3433)
    • a7dab96 feat(NODE-4503): throw original error when server attaches NoWritesPerformed ...
    • dbfb7d5 docs: Note special case in AbstractCursor.forEach() iterator (#3445)
    • bf000ae refactor(NODE-4689): track checked out connections (#3440)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Update main.yml

    Update main.yml

    Feature (descrever funcionalidade e motivação) N/A
    Bugfix
    • Descrição do problema Todo pr trigava um deploy.

    • Causa do problema Erro na config do workflow.

    • Solução Fixar o workflow.

    Changelog N/A
    Evidencias visuais :framed_picture: N/A
    Existe breaking change sendo introduzido?
    • [x] Sim (descrever)
    • [ ] Não
    Checklist antes de abrir o PR
    • [x] Tags adicionadas
    • [x] Build passando
    Informações adicionais N/A
    bug 
    opened by uxthi 0
  • Create dependabot.yml

    Create dependabot.yml

    Feature (descrever funcionalidade e motivação) Adding dependabot.
    Bugfix
    • Descrição do problema N/A

    • Causa do problema N/A

    • Solução N/A

    Changelog
    • Add dependabot config
    Evidencias visuais :framed_picture: N/A
    Existe breaking change sendo introduzido?
    • [ ] Sim (descrever)
    • [x] Não
    Checklist antes de abrir o PR
    • [x] Tags adicionadas
    • [x] Build passando
    Informações adicionais N/A
    feature 
    opened by uxthi 0
  • [Feat] Remove comments

    [Feat] Remove comments

    Feature (descrever funcionalidade e motivação) Removendo comentários.
    Bugfix
    • Descrição do problema N/A

    • Causa do problema N/A

    • Solução N/A

    Changelog
    • Removidos comentários irrelevantes
    Evidencias visuais :framed_picture: N/A
    Existe breaking change sendo introduzido?
    • [ ] Sim (descrever)
    • [x] Não
    Checklist antes de abrir o PR
    • [x] Tags adicionadas
    • [x] Build passando
    Informações adicionais N/A
    feature 
    opened by uxthi 0
  • Bump mongodb from 4.9.1 to 4.13.0

    Bump mongodb from 4.9.1 to 4.13.0

    Bumps mongodb from 4.9.1 to 4.13.0.

    Release notes

    Sourced from mongodb's releases.

    v4.13.0

    The MongoDB Node.js team is pleased to announce version 4.13.0 of the mongodb package!

    Features

    • NODE-4691: interrupt in-flight operations on heartbeat failure (#3457) (e641bd4)

    Bug Fixes

    • NODE-4447: disable causal consistency in implicit sessions (#3479) (6566fb5)
    • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#3482) (8338bae)

    Documentation

    We invite you to try the mongodb driver immediately, and report any issues to the NODE project.

    v4.12.1

    The MongoDB Node.js team is pleased to announce version 4.12.1 of the mongodb package!

    Release Highlights

    This version includes a fix to a regression in our monitoring logic that could cause process crashing errors that was introduced in v4.12.0.

    If you are using v4.12.0 of the Node driver, we strongly encourage you to upgrade.

    Bug Fixes

    Documentation

    We invite you to try the mongodb library immediately, and report any issues to the NODE project.

    4.12.0

    The MongoDB Node.js team is pleased to announce version 4.12.0 of the mongodb package!

    Release Highlights

    ChangeStreams are now AsyncIterators

    ... (truncated)

    Changelog

    Sourced from mongodb's changelog.

    4.13.0 (2022-12-19)

    Features

    • NODE-4691: interrupt in-flight operations on heartbeat failure (#3457) (e641bd4)
    • NODE-4810: define the new Logger (#3475) (6ef11d7)

    Bug Fixes

    • NODE-4447: disable causal consistency in implicit sessions (#3479) (6566fb5)
    • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#3482) (8338bae)

    4.12.1 (2022-11-23)

    Bug Fixes

    4.12.0 (2022-11-16)

    Features

    Bug Fixes

    • NODE-4609: allow mapping to falsey non-null values in cursors (#3452) (1bf6ef1)
    • NODE-4735: fix change stream consecutive resumabilty (#3453) (89b27e9)
    • NODE-4753: remove erroneous deprecation of geoNear (#3465) (199dcaf)
    • NODE-4783: handle orphaned operation descriptions (#3463) (4c9b4d8)

    4.11.0 (2022-10-19)

    Features

    • NODE-3255: add minPoolSizeCheckIntervalMS option to connection pool (#3429) (5f34ad0)
    • NODE-3651: add hashed index type (#3432) (f6b56a1)
    • NODE-3875: support recursive schema types (#3433) (26bce4a)
    • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)

    ... (truncated)

    Commits
    • eb5f651 chore(release): 4.13.0
    • 5d9711b docs: generate docs from latest main (#3471)
    • 8338bae fix(NODE-4834): ensure that MessageStream is destroyed when connections are d...
    • 9f945c4 test(NODE-4800): update build env scripts (#3487)
    • 6ef11d7 feat(NODE-4810): define the new Logger (#3475)
    • dfcc3d9 test(NODE-4826): update command monitoring tests (#3488)
    • d56414f test(NODE-4498): ts tests for OptionalId wrapping schemas with _id (#3486)
    • e3ead58 ci(NODE-4872): add permissions to dependency check workflow (#3483)
    • fb22f23 chore: update PR template commit message example (#3484)
    • 6566fb5 fix(NODE-4447): disable causal consistency in implicit sessions (#3479)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • [FEATURE] Add unit test

    [FEATURE] Add unit test

    What is this about?

    • [ ] This is a BUG report
    • [x] This is a FEATURE suggestion

    Feature suggestion:

    Add unit test to main function to prevent unwanted changes in the future.

    feature 
    opened by uxthi 0
  • [FEATURE] Add Typescript

    [FEATURE] Add Typescript

    What is this about?

    • [ ] This is a BUG report
    • [x] This is a FEATURE suggestion

    Feature suggestion:

    This project should be migrated to Typescript for batter type safety.

    feature 
    opened by uxthi 0
Releases(v1.0.0)
  • v1.0.0(Sep 2, 2022)

    This is the first stable release, there's not much to talk about it. :)

    Features

    • Return a random theme from database
    • Added github action to deploy to aws lambda
    • Added README
    • Added CODEOWNERS
    Source code(tar.gz)
    Source code(zip)
Owner
Thiago Fernandes
Frontend developer and game designer.
Thiago Fernandes
MerLoc is a live AWS Lambda function development and debugging tool. MerLoc allows you to run AWS Lambda functions on your local while they are still part of a flow in the AWS cloud remote.

MerLoc MerLoc is a live AWS Lambda function development and debugging tool. MerLoc allows you to run AWS Lambda functions on your local while they are

Thundra 165 Dec 21, 2022
My XFCE dotties - The GTK theme as well as the kvantume theme used here are forks of the Matcha GTK/kvantum theme

DOTFILES OF MY XFCE SETUP The GTK theme as well as the kvantume theme used here

Mehedi Rahman Mahi 201 Dec 31, 2022
🌗 1 line of code to apply auto dark / light theme and support custom theme for your website. Super fast and lightweight theme library.

themes.js A super lightweight and fast Theme library with auto system color scheme detection in JavaScript. Features Auto detect Dark / Light mode by

SerKo 4 Nov 29, 2022
AWS Lambda & Serverless - Developer Guide with Hands-on Labs. Develop thousands line of aws lambda functions interact to aws serverless services with real-world hands-on labs

AWS Lambda & Serverless - Developer Guide with Hands-on Labs UDEMY COURSE WITH DISCOUNTED - Step by Step Development of this Repository -> https://www

awsrun 35 Dec 17, 2022
Angular 14 Firebase CRUD with Realtime Database - AngularFireDatabase Object and List example: create, retrieve, update, delete

Angular 14 Firebase CRUD example with Realtime DataBase | AngularFireDatabase Build Angular 14 CRUD example with Firebase Realtime Database that uses

null 7 Dec 26, 2022
A lambda function mirroring Pixiv bookmarks to Raindrop.io

pixiv-to-raindrop A lambda function that executes automated mirroring of bookmarks from Pixiv to Raindrop.io Demo Source: https://www.pixiv.net/users/

neet lab 2 Oct 13, 2022
BMI Calculator can give us the bmi result of our bmi on the basis of our corresponding height and weight.

BMI means body mass index. Body Mass Index (BMI) is a person's weight in kilograms divided by the square of height in meters.

Bipronath Saha 1 Jan 20, 2022
MUI Core is a collection of React UI libraries for shipping new features faster. Start with Material UI, our fully-loaded component library, or bring your own design system to our production-ready components.

MUI Core MUI Core contains foundational React UI component libraries for shipping new features faster. Material UI is a comprehensive library of compo

MUI 83.6k Dec 30, 2022
Generate link preview using our app, API or our NPM package.

get-link-preview ?? View the link preview using our App. Use the API to generate link preview in your app or use the NPM package to use the custom hoo

Siddhi Gate 25 Dec 21, 2022
An easy-to-use library to make your life easier when working with random numbers or random choices in javascript.

vrandom An easy-to-use library to make your life easier when working with random numbers or random choices in javascript. Table of contents Installati

Valerio Cipolla 1 Aug 16, 2022
A tiny isomorphic fast function for generating a cryptographically random hex string.

ZeptoID A tiny isomorphic fast function for generating a cryptographically random hex string. Accoding to this calculator one would have to generate i

Fabio Spampinato 9 Oct 24, 2022
Playful and Colorful One-Page portfolio featuring Parallax effects and animations. Especially designers and/or photographers will love this theme! Built with MDX and Theme UI.

Gatsby Starter Portfolio: Cara Playful and Colorful One-Page portfolio featuring Parallax effects and animations. Using the Gatsby Theme @lekoarts/gat

prashanth s 1 Dec 24, 2021
Logseq-craft-theme - Craft Theme for Logseq

Craft for Logseq Almost all creativity requires purposeful play. A Craft insprir

Alexander Rink 33 Oct 26, 2022
Theme Redone is a custom WordPress theme starter/framework with its own Gutenberg blocks solution and a CLI that speeds up the block creation process.

Theme Redone The Framework for Developing Custom WordPress Themes with its own Gutenberg Blocks creation solution. Theme Redone is a custom WordPress

null 103 Dec 30, 2022
Tries to execute sync/async function, returns a specified default value if the function throws

good-try Tries to execute sync/async function, returns a specified default value if the function throws. Why Why not nice-try with it's 70+ million do

Antonio Stoilkov 14 Dec 8, 2022
Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called

bun-livereload Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called. import liveRelo

Jarred Sumner 19 Dec 19, 2022
A pure JavaScript Web Page to retrieve real-time OTP through a web page and generate/scan QR codes.

2FA-Solver A pure JavaScript Web Page to retrieve real-time OTP through a web page and generate/scan QR codes. It can be used as an offline web page b

Yuthan K 8 Dec 7, 2022
This project is a web app that uses the TVmaze API to retrieve data and display a list of items on the screen.

This project is a web app that uses the TVmaze API to retrieve data and display a list of items on the screen. It also enables people to like and comment on the broadcast. JavaScript, API, Bootstrap, HTML, and CSS3 were used to create this site.

Mihreteab Misganaw 2 Jan 10, 2022