GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: test-crypto-scrypt.js doesn't need internals · nodejs/node@3beac87

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-crypto-scrypt.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-crypto-scrypt.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-scrypt.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-internals --no-warnings
21
'use strict';
32
const common = require('../common');
43
if (!common.hasCrypto)
@@ -7,8 +6,7 @@ if (!common.hasCrypto)
76
const assert = require('assert');
87
const crypto = require('crypto');
98

10-
const { internalBinding } = require('internal/test/binding');
11-
if (typeof internalBinding('crypto').ScryptJob !== 'function')
9+
if (typeof crypto.scrypt !== 'function' || typeof crypto.scryptSync !== 'function')
1210
common.skip('no scrypt support');
1311

1412
const good = [

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.