drop support for commonjs

This commit is contained in:
2022-10-18 15:48:27 +02:00
parent dbc5bf97d9
commit 91605aa434
10 changed files with 11 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
import { AES, Bytes, Hashes, Hex } from '../dist/esm/index.js'
import { AES, Bytes, Hashes, Hex } from '../dist/index.js'
import { Precomputed } from './values.js'
describe('AES', () => {

View File

@@ -1,4 +1,4 @@
import { Base64, Bytes } from '../dist/esm/index.js'
import { Base64, Bytes } from '../dist/index.js'
import { Precomputed } from './values.js'
describe('Encoding', () => {

View File

@@ -1,4 +1,4 @@
import { Bytes, Hash, Hashes, Hex } from '../dist/esm/index.js'
import { Bytes, Hash, Hashes, Hex } from '../dist/index.js'
import { Precomputed } from './values.js'
describe('Hash', () => {

View File

@@ -1,4 +1,4 @@
import { getRandomBytes } from '../dist/esm/index.js'
import { getRandomBytes } from '../dist/index.js'
import { Promises } from './utils.js'
describe('Random', () => {

View File

@@ -1,4 +1,4 @@
import { Bytes, RSA } from '../dist/esm/index.js'
import { Bytes, RSA } from '../dist/index.js'
import { Promises } from './utils.js'
import { Precomputed } from './values.js'