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

@edge-runtime/primitives

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edge-runtime/primitives - npm Package Compare versions

Comparing version 1.0.1-beta.2 to 1.0.1-beta.3

299

dist/index.d.ts

@@ -58,209 +58,116 @@ /// <reference types="node" />

// self-references
export type globalThis = Primitives
export type self = Primitives
export interface Primitives {
// self-references
globalThis: Primitives
self: Primitives
// abort-controller
export type AbortController = typeof Abort.AbortController
export type AbortSignal = typeof Abort.AbortSignal
// abort-controller
AbortController: typeof Abort.AbortController
AbortSignal: typeof Abort.AbortSignal
// aggregate-error-ponyfill
export type AggregateError = typeof AggregateError
// aggregate-error-ponyfill
AggregateError: typeof AggregateError
// base64
export type atob = (encoded: string) => string
export type btoa = (str: string) => string
// base64
atob: (encoded: string) => string
btoa: (str: string) => string
// blob
export type Blob = typeof Blob
// blob
Blob: typeof Blob
// webCrypto
export type crypto = Crypto
export type Crypto = typeof Crypto
export type CryptoKey = typeof CryptoKey
export type SubtleCrypto = typeof SubtleCrypto
// webCrypto
crypto: Crypto
Crypto: typeof Crypto
CryptoKey: typeof CryptoKey
SubtleCrypto: typeof SubtleCrypto
// undici
export type fetch = typeof fetch
export type File = typeof File
export type FormData = typeof FormData
export type Headers = typeof Headers
export type Request = typeof Request
export type Response = typeof Response
// undici
fetch: typeof fetch
File: typeof File
FormData: typeof FormData
Headers: typeof Headers
Request: typeof Request
Response: typeof Response
// webCache
export type CacheStorage = typeof CacheStorage
export type Cache = typeof Cache
export type caches = CacheStorage
// webCache
CacheStorage: typeof CacheStorage
Cache: typeof Cache
caches: CacheStorage
// webStreams
export type ReadableStream = typeof WebStream.ReadableStream
export type ReadableStreamBYOBReader = typeof WebStream.ReadableStreamBYOBReader
export type ReadableStreamDefaultReader =
typeof WebStream.ReadableStreamDefaultReader
export type TransformStream = typeof WebStream.TransformStream
export type WritableStream = typeof WebStream.WritableStream
export type WritableStreamDefaultWriter =
typeof WebStream.WritableStreamDefaultWriter
// webStreams
ReadableStream: typeof WebStream.ReadableStream
ReadableStreamBYOBReader: typeof WebStream.ReadableStreamBYOBReader
ReadableStreamDefaultReader: typeof WebStream.ReadableStreamDefaultReader
TransformStream: typeof WebStream.TransformStream
WritableStream: typeof WebStream.WritableStream
WritableStreamDefaultWriter: typeof WebStream.WritableStreamDefaultWriter
// structured-clone
export type structuredClone = <T>(any: T, options?: { lossy?: boolean }) => T
// structured-clone
structuredClone: <T>(any: T, options?: { lossy?: boolean }) => T
// urlpattern
export type URLPattern = typeof URLPattern
// urlpattern
URLPattern: typeof URLPattern
// nodejs globals
export type Array = typeof Array
export type ArrayBuffer = typeof ArrayBuffer
export type Atomics = typeof Atomics
export type BigInt = typeof BigInt
export type BigInt64Array = typeof BigInt64Array
export type BigUint64Array = typeof BigUint64Array
export type Boolean = typeof Boolean
export type clearInterval = typeof clearInterval
export type clearTimeout = typeof clearTimeout
export type console = IConsole
export type DataView = typeof DataView
export type Date = typeof Date
export type decodeURI = typeof decodeURI
export type decodeURIComponent = typeof decodeURIComponent
export type encodeURI = typeof encodeURI
export type encodeURIComponent = typeof encodeURIComponent
export type Error = typeof Error
export type EvalError = typeof EvalError
export type Float32Array = typeof Float32Array
export type Float64Array = typeof Float64Array
export type Function = typeof Function
export type Infinity = typeof Infinity
export type Int8Array = typeof Int8Array
export type Int16Array = typeof Int16Array
export type Int32Array = typeof Int32Array
export type Intl = typeof Intl
export type isFinite = typeof isFinite
export type isNaN = typeof isNaN
export type JSON = typeof JSON
export type Map = typeof Map
export type Math = typeof Math
export type Number = typeof Number
export type Object = typeof Object
export type parseFloat = typeof parseFloat
export type parseInt = typeof parseInt
export type Promise = typeof Promise
export type Proxy = typeof Proxy
export type RangeError = typeof RangeError
export type ReferenceError = typeof ReferenceError
export type Reflect = typeof Reflect
export type RegExp = typeof RegExp
export type Set = typeof Set
export type setInterval = typeof setInterval
export type setTimeout = typeof setTimeout
export type SharedArrayBuffer = typeof SharedArrayBuffer
export type String = typeof String
export type Symbol = typeof Symbol
export type SyntaxError = typeof SyntaxError
export type TextDecoder = typeof TextDecoder
export type TextEncoder = typeof TextEncoder
export type TypeError = typeof TypeError
export type Uint8Array = typeof Uint8Array
export type Uint8ClampedArray = typeof Uint8ClampedArray
export type Uint16Array = typeof Uint16Array
export type Uint32Array = typeof Uint32Array
export type URIError = typeof URIError
export type URL = typeof URL
export type URLSearchParams = typeof URLSearchParams
export type WeakMap = typeof WeakMap
export type WeakSet = typeof WeakSet
export type WebAssembly = typeof WebAssembly
export interface Primitives {
globalThis
self
AbortController
AbortSignal
AggregateError
atob
btoa
Blob
crypto
Crypto
CryptoKey
SubtleCrypto
fetch
File
FormData
Headers
Request
Response
CacheStorage
Cache
caches
ReadableStream
ReadableStreamBYOBReader
ReadableStreamDefaultReader
TransformStream
WritableStream
WritableStreamDefaultWriter
structuredClone
URLPattern
Array
ArrayBuffer
Atomics
BigInt
BigInt64Array
BigUint64Array
Boolean
clearInterval
clearTimeout
console
DataView
Date
decodeURI
decodeURIComponent
encodeURI
encodeURIComponent
Error
EvalError
Float32Array
Float64Array
Function
Infinity
Int8Array
Int16Array
Int32Array
Intl
isFinite
isNaN
JSON
Map
Math
Number
Object
parseFloat
parseInt
Promise
Proxy
RangeError
ReferenceError
Reflect
RegExp
Set
setInterval
setTimeout
SharedArrayBuffer
String
Symbol
SyntaxError
TextDecoder
TextEncoder
TypeError
Uint8Array
Uint8ClampedArray
Uint16Array
Uint32Array
URIError
URL
URLSearchParams
WeakMap
WeakSet
WebAssembly
// nodejs globals
Array: typeof Array
ArrayBuffer: typeof ArrayBuffer
Atomics: typeof Atomics
BigInt: typeof BigInt
BigInt64Array: typeof BigInt64Array
BigUint64Array: typeof BigUint64Array
Boolean: typeof Boolean
clearInterval: typeof clearInterval
clearTimeout: typeof clearTimeout
console: IConsole
DataView: typeof DataView
Date: typeof Date
decodeURI: typeof decodeURI
decodeURIComponent: typeof decodeURIComponent
encodeURI: typeof encodeURI
encodeURIComponent: typeof encodeURIComponent
Error: typeof Error
EvalError: typeof EvalError
Float32Array: typeof Float32Array
Float64Array: typeof Float64Array
Function: typeof Function
Infinity: typeof Infinity
Int8Array: typeof Int8Array
Int16Array: typeof Int16Array
Int32Array: typeof Int32Array
Intl: typeof Intl
isFinite: typeof isFinite
isNaN: typeof isNaN
JSON: typeof JSON
Map: typeof Map
Math: typeof Math
Number: typeof Number
Object: typeof Object
parseFloat: typeof parseFloat
parseInt: typeof parseInt
Promise: typeof Promise
Proxy: typeof Proxy
RangeError: typeof RangeError
ReferenceError: typeof ReferenceError
Reflect: typeof Reflect
RegExp: typeof RegExp
Set: typeof Set
setInterval: typeof setInterval
setTimeout: typeof setTimeout
SharedArrayBuffer: typeof SharedArrayBuffer
String: typeof String
Symbol: typeof Symbol
SyntaxError: typeof SyntaxError
TextDecoder: typeof TextDecoder
TextEncoder: typeof TextEncoder
TypeError: typeof TypeError
Uint8Array: typeof Uint8Array
Uint8ClampedArray: typeof Uint8ClampedArray
Uint16Array: typeof Uint16Array
Uint32Array: typeof Uint32Array
URIError: typeof URIError
URL: typeof URL
URLSearchParams: typeof URLSearchParams
WeakMap: typeof WeakMap
WeakSet: typeof WeakSet
WebAssembly: typeof WebAssembly
}

@@ -267,0 +174,0 @@

@@ -5,3 +5,3 @@ {

"homepage": "https://edge-runtime.vercel.app/packages/primitives",
"version": "1.0.1-beta.2",
"version": "1.0.1-beta.3",
"main": "dist/index.js",

@@ -65,3 +65,3 @@ "repository": {

"types": "dist/index.d.ts",
"gitHead": "651f8a694b8e2e6a589a18c62722b6a3bee5e6e4"
"gitHead": "6f32cedd77f2e208f02c76b1bab8acc51e2988b9"
}

Sorry, the diff of this file is too big to display

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