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.

Can you lock the bson version?

See original GitHub issue

Thanks a lot. This is a very good project and we are using it.

But when I use lock.json, I meet that the CDN file hash will change always.

Can you lock the bson version like this?

https://cdn.skypack.dev/pin/bson@v4.5.4-F38JF4sWndM08oQ5WCDI/mode=imports/optimized/bson.js

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jiawei397commented, Dec 2, 2021

@jiawei397 Do you mean this? #306

I got the answer by this: https://github.com/denoland/deno/discussions/12955

I hoped it will work.

0reactions
erfaniumcommented, Dec 2, 2021

yeah, that’s it this change will fix your issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

It's not possible to lock a mongodb document. What if I need to?
MongoDB does not provide mechanism for a lock. But this can be easily implemented at application level (i.e. in your code):. Acquire lock;...
Read more >
Locking Documents In Mongo - Working with Data - MongoDB
I would like to know if we can lock the documents in Mongo. We have a .NET service which has 3 different instances...
Read more >
find is not working · Issue #285 · mongodb-labs/mongo-rust ...
* check the version of the bson crate that is required by the mongodb crate in your Cargo.lock. * update your Cargo.toml to...
Read more >
FAQ: 应用开发者 - MongoDB手册 - Read the Docs
How do I do transactions and locking in MongoDB?¶ ... MongoDB does not have support for traditional locking or complex transactions with rollback....
Read more >
pbm - Go Packages
LockHeader describes the lock. This data will be serialased into the mongo document. type MongoLastWrite ¶. type MongoLastWrite struct { OpTime ...
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