@simplewebauthn/server
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -16,3 +16,3 @@ let webCrypto = undefined; | ||
// dnt-shim-ignore | ||
const _crypto = await require('node:crypto'); | ||
const _crypto = await import('crypto'); | ||
webCrypto = _crypto.webcrypto; | ||
@@ -19,0 +19,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"name": "@simplewebauthn/server", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "SimpleWebAuthn for Servers", | ||
@@ -64,3 +64,11 @@ "license": "MIT", | ||
"debug": "^4.3.4" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"picocolors": "^1.0.0", | ||
"@deno/shim-deno-test": "~0.4.0" | ||
}, | ||
"scripts": { | ||
"test": "node test_runner.js" | ||
} | ||
} |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -19,3 +42,3 @@ exports.getWebCrypto = void 0; | ||
// dnt-shim-ignore | ||
const _crypto = await require('node:crypto'); | ||
const _crypto = await Promise.resolve().then(() => __importStar(require('crypto'))); | ||
webCrypto = _crypto.webcrypto; | ||
@@ -22,0 +45,0 @@ } |
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
460264
10787
3