Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@actually_connor/uuid

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actually_connor/uuid - npm Package Compare versions

Comparing version 0.3.9 to 0.3.10

2

package.json
{
"name": "@actually_connor/uuid",
"version": "0.3.9",
"version": "0.3.10",
"description": "A JavaScript library that provides a 'ramsey/uuid'-like interface for the uuid package",

@@ -5,0 +5,0 @@ "keywords": [

@@ -45,15 +45,16 @@ <h1 align="center">@actually_connor/uuid</h1>

await this.model
.createQueryBuilder()
.insert()
.into(Table)
.values({
uuid: () => `UNHEX('${Uuid.uuid4().getHex()}')`,
})
.execute();
.createQueryBuilder()
.insert()
.into(Table)
.values({
uuid: Uuid.uuid4().getBuffer(),
})
.execute();
```
### MySQL
```sql
INSERT INTO `ActivityDefinition` (`uuid`)
VALUES('UNHEX("616343E4FC6746A598DC73C39C873F34")');
```javascript
await this.model
.createQueryBuilder()
.where('uuid = :uuid', { uuid: uuid.getBuffer() })
.getOne();
```

@@ -74,3 +75,3 @@

[rfc4122]: http://tools.ietf.org/html/rfc4122
[conduct]: https://github.com/ramsey/uuid/blob/main/CODE_OF_CONDUCT.md
[conduct]: https://github.com/ActuallyConnor/uuid/blob/main/CODE_OF_CONDUCT.md
[ramseyuuid]: https://github.com/ramsey/uuid

@@ -77,0 +78,0 @@ [npm]: https://www.npmjs.com/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc