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

nvrng

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nvrng - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

4

index.js

@@ -246,6 +246,6 @@ let fs = require('fs');

let limitter = self.limit,
proGender = gender,
joiner = NVRNG.getJoiner(noJoin),
out, tstr, p, arr, index;
do {
let proGender = gender;
p = [];

@@ -292,5 +292,5 @@ for (let space of self.spaces) {

joiner = NVRNG.getJoiner(noJoin),
proGender = gender,
tstr, tmp, p, arr;
do {
let proGender = gender;
p = [];

@@ -297,0 +297,0 @@ for (let space of self.spaces) {

{
"name": "nvrng",
"version": "1.5.0",
"version": "1.5.1",
"description": "Not very random temporary name generator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -197,3 +197,20 @@ [![Codecov Coverage](https://img.shields.io/codecov/c/github/ssypachev/nvrng/master.svg?style=flat-square)](https://codecov.io/gh/ssypachev/nvrng/)

Generate sets with yield
```js
let yGen = (function* () {
let exSet = new Set();
for (;;) {
let [err, next] = gen.getOne({ exclude: exSet });
exSet.add(next);
yield next;
}
})();
for (let i = 0; i < 10; i++) {
console.log(yGen.next().value);
}
```
## Testing

@@ -200,0 +217,0 @@ Clone repository and run

Sorry, the diff of this file is not supported yet

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