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

saslprep

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saslprep - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/util.js

@@ -5,3 +5,3 @@ 'use strict'

// TODO: make this inlined.
const list = Array.apply(null, new Array(to - from + 1))
const list = new Array(to - from + 1)

@@ -8,0 +8,0 @@ for(let i = 0; i < list.length; ++i) {

{
"name": "saslprep",
"version": "1.0.0",
"version": "1.0.1",
"description": "SASLprep: Stringprep Profile for User Names and Passwords, rfc4013.",

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

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

import { setFlagsFromString } from 'v8'
import { range } from '../lib/util'
import test from 'ava'
// 984 by default.
setFlagsFromString('--stack_size=500')
test('should work', (t) => {

@@ -8,1 +12,5 @@ const list = range(1, 3)

})
test('should work for large ranges', (t) => {
t.notThrows(() => range(1, 1e6))
})
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