Comparing version 1.0.0 to 1.0.1
@@ -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)) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1154
32907
11
1