mirror of
https://github.com/qntm/base65536
synced 2026-03-24 00:24:44 +01:00
Compare commits
2 Commits
b041f53463
...
f3225e8f91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3225e8f91 | ||
|
|
9f08a95057 |
@ -11,7 +11,7 @@
|
||||
"main": "src/index.js",
|
||||
"types": "typings/index.d.ts",
|
||||
"scripts": {
|
||||
"unit": "c8 --100 mocha",
|
||||
"unit": "node --test --experimental-test-coverage",
|
||||
"standard": "standard",
|
||||
"tag": "node -e \"require('child_process').spawn('git', ['tag', `v${require('./package.json').version}`], { stdio: 'inherit' })\"",
|
||||
"tag-and-publish": "npm run tag && git push --tags && npm publish && npm version patch --no-git-tag-version && git add . && git commit -m \"Bump patch\" && git push",
|
||||
@ -29,9 +29,7 @@
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"base65536-test": "^1.1.2",
|
||||
"c8": "^10.1.2",
|
||||
"glob": "^13.0.0",
|
||||
"mocha": "^11.0.0",
|
||||
"safe-code-point": "^3.0.2",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import assert from 'node:assert/strict'
|
||||
import { describe, it } from 'mocha'
|
||||
import { describe, it } from 'node:test'
|
||||
|
||||
import { paddingBlockStart, blockStarts, safeCodePoint, pairStrings } from '../scripts/gen.js'
|
||||
|
||||
describe('gen', () => {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import assert from 'node:assert/strict'
|
||||
|
||||
import fs from 'node:fs'
|
||||
import { describe, it } from 'mocha'
|
||||
import { describe, it } from 'node:test'
|
||||
|
||||
import { globSync } from 'glob'
|
||||
import { encode, decode } from '../src/index.js'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user