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

uuidv4

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuidv4 - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

Gruntfile.js

@@ -7,3 +7,8 @@ 'use strict';

analyse: {
server: [ '**/*.js', '!node_modules/**/*.js' ]
server: [ '**/*.js', '!node_modules/**/*.js', '!coverage/**/*.js' ],
options: {
server: {
language: 'es5'
}
}
},

@@ -10,0 +15,0 @@ test: {

6

package.json
{
"name": "uuidv4",
"version": "0.3.0",
"version": "0.3.1",
"description": "uuid creates UUIDs.",

@@ -18,5 +18,5 @@ "contributors": [

"devDependencies": {
"assertthat": "0.4.2",
"grunt": "0.4.5",
"node-assertthat": "0.2.1",
"tourism": "0.7.3"
"tourism": "0.13.2"
},

@@ -23,0 +23,0 @@ "repository": {

@@ -11,3 +11,3 @@ # uuid

The first thing you need to do is to integrate uuidv4 into your project by using the `require` function.
First you need to integrate uuidv4 into your project by using the `require` function.

@@ -14,0 +14,0 @@ ```javascript

'use strict';
var assert = require('node-assertthat');
var assert = require('assertthat');

@@ -13,4 +13,4 @@ var uuidv4 = require('../lib/uuidv4');

assert.that(actual, is.ofType('string'));
assert.that(uuidRegex.test(actual), is.true());
assert.that(actual).is.ofType('string');
assert.that(uuidRegex.test(actual)).is.true();
done();

@@ -23,3 +23,3 @@ });

assert.that(actualFirst, is.not.equalTo(actualSecond));
assert.that(actualFirst).is.not.equalTo(actualSecond);
done();

@@ -30,3 +30,3 @@ });

test('returns 00000000-0000-0000-0000-000000000000.', function (done) {
assert.that(uuidv4.empty(), is.equalTo('00000000-0000-0000-0000-000000000000'));
assert.that(uuidv4.empty()).is.equalTo('00000000-0000-0000-0000-000000000000');
done();

@@ -33,0 +33,0 @@ });

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