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

@simplewebauthn/server

Package Overview
Dependencies
Maintainers
0
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplewebauthn/server - npm Package Compare versions

Comparing version 13.0.0 to 13.1.0

3

esm/helpers/fetch.js

@@ -1,2 +0,1 @@

import { fetch as crossFetch } from 'cross-fetch';
/**

@@ -14,3 +13,3 @@ * A simple method for requesting data via standard `fetch`. Should work

export const _fetchInternals = {
stubThis: (url) => crossFetch(url),
stubThis: (url) => globalThis.fetch(url),
};

@@ -11,5 +11,5 @@ import type { Crypto } from '../../../types/index.js';

export declare const _getWebCryptoInternals: {
stubThisGlobalThisCrypto: () => globalThis.Crypto;
stubThisGlobalThisCrypto: () => import("crypto").webcrypto.Crypto;
setCachedCrypto: (newCrypto: Crypto | undefined) => void;
};
//# sourceMappingURL=getWebCrypto.d.ts.map
{
"name": "@simplewebauthn/server",
"version": "13.0.0",
"version": "13.1.0",
"description": "SimpleWebAuthn for Servers",

@@ -58,4 +58,3 @@ "keywords": [

"@peculiar/asn1-schema": "^2.3.8",
"@peculiar/asn1-x509": "^2.3.8",
"cross-fetch": "^4.0.0"
"@peculiar/asn1-x509": "^2.3.8"
},

@@ -62,0 +61,0 @@ "devDependencies": {

@@ -5,3 +5,2 @@ "use strict";

exports.fetch = fetch;
const cross_fetch_1 = require("cross-fetch");
/**

@@ -19,3 +18,3 @@ * A simple method for requesting data via standard `fetch`. Should work

exports._fetchInternals = {
stubThis: (url) => (0, cross_fetch_1.fetch)(url),
stubThis: (url) => globalThis.fetch(url),
};

@@ -11,5 +11,5 @@ import type { Crypto } from '../../../types/index.js';

export declare const _getWebCryptoInternals: {
stubThisGlobalThisCrypto: () => globalThis.Crypto;
stubThisGlobalThisCrypto: () => import("crypto").webcrypto.Crypto;
setCachedCrypto: (newCrypto: Crypto | undefined) => void;
};
//# sourceMappingURL=getWebCrypto.d.ts.map

Sorry, the diff of this file is not supported yet

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