Comparing version 0.0.4 to 0.0.5
@@ -1,1 +0,1 @@ | ||
{"processes":{"284f1aaf-b3d6-497f-9a6f-42b65aadeb37":{"parent":null,"children":[]}},"files":{},"externalIds":{}} | ||
{"processes":{"52a87e06-c81a-40bf-9c84-fa6e0982a66b":{"parent":null,"children":[]}},"files":{},"externalIds":{}} |
@@ -10,3 +10,3 @@ 'use strict'; | ||
// @ts-ignore | ||
const isNode = typeof process !== 'undefined' && /node|io\.js/.test(process.release.name); | ||
const isNode = typeof process !== 'undefined' && process.release && /node|io\.js/.test(process.release.name); | ||
/* istanbul ignore next */ | ||
@@ -13,0 +13,0 @@ const isBrowser = typeof window !== 'undefined' && !isNode; |
@@ -343,3 +343,3 @@ 'use strict'; | ||
*/ | ||
const uint16Array = (gen, len) => new Uint16Array(uint8Array(gen, len * 2)); | ||
const uint16Array = (gen, len) => new Uint16Array(uint8Array(gen, len * 2).buffer); | ||
@@ -351,3 +351,3 @@ /** | ||
*/ | ||
const uint32Array = (gen, len) => new Uint32Array(uint8Array(gen, len * 4)); | ||
const uint32Array = (gen, len) => new Uint32Array(uint8Array(gen, len * 4).buffer); | ||
@@ -354,0 +354,0 @@ exports.DefaultPRNG = DefaultPRNG; |
@@ -7,3 +7,3 @@ | ||
// @ts-ignore | ||
export const isNode = typeof process !== 'undefined' && /node|io\.js/.test(process.release.name) | ||
export const isNode = typeof process !== 'undefined' && process.release && /node|io\.js/.test(process.release.name) | ||
/* istanbul ignore next */ | ||
@@ -10,0 +10,0 @@ export const isBrowser = typeof window !== 'undefined' && !isNode |
{ | ||
"name": "lib0", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "dependencies": {}, |
@@ -197,3 +197,3 @@ /** | ||
*/ | ||
export const uint16Array = (gen, len) => new Uint16Array(uint8Array(gen, len * 2)) | ||
export const uint16Array = (gen, len) => new Uint16Array(uint8Array(gen, len * 2).buffer) | ||
@@ -205,2 +205,2 @@ /** | ||
*/ | ||
export const uint32Array = (gen, len) => new Uint32Array(uint8Array(gen, len * 4)) | ||
export const uint32Array = (gen, len) => new Uint32Array(uint8Array(gen, len * 4).buffer) |
@@ -15,1 +15,6 @@ | ||
* https://github.com/vhf/v8-bailout-reasons - Description of some deopt messages | ||
### License | ||
[The MIT License](./LICENSE) © Kevin Jahns |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
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
754985
117
20