Socket
Socket
Sign inDemoInstall

@cocreate/uuid

Package Overview
Dependencies
1
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.6 to 1.3.7

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.7](https://github.com/CoCreate-app/CoCreate-uuid/compare/v1.3.6...v1.3.7) (2023-04-13)
### Bug Fixes
* replaced substr with substring ([f9cbd0d](https://github.com/CoCreate-app/CoCreate-uuid/commit/f9cbd0de7a139d73dcf0a3cf4fbbbe5a0b594684))
## [1.3.6](https://github.com/CoCreate-app/CoCreate-uuid/compare/v1.3.5...v1.3.6) (2023-04-11)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "@cocreate/uuid",
"version": "1.3.6",
"version": "1.3.7",
"description": "A simple uuid component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",

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

@@ -48,3 +48,3 @@ // export function randomId() {

if (length <= pattern.length) {
pattern = pattern.substr(0, length);
pattern = pattern.substring(0, length);
} else {

@@ -61,3 +61,3 @@ let add_len = length - pattern.length;

group_n = add_len - group_n * sub_pattern.length;
pattern += sub_pattern.substr(0, group_n);
pattern += sub_pattern.substring(0, group_n);
}

@@ -64,0 +64,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc