1
0
mirror of https://github.com/qntm/base65536 synced 2026-03-24 08:24:45 +01:00

Compare commits

..

No commits in common. "f3225e8f91f3c1cbb19fcdf0d4960f3eff3c00a1" and "b041f53463f4704bf1a6380c6ea9a32a5fb5d05b" have entirely different histories.

3 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@
"main": "src/index.js", "main": "src/index.js",
"types": "typings/index.d.ts", "types": "typings/index.d.ts",
"scripts": { "scripts": {
"unit": "node --test --experimental-test-coverage", "unit": "c8 --100 mocha",
"standard": "standard", "standard": "standard",
"tag": "node -e \"require('child_process').spawn('git', ['tag', `v${require('./package.json').version}`], { stdio: 'inherit' })\"", "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", "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,7 +29,9 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"base65536-test": "^1.1.2", "base65536-test": "^1.1.2",
"c8": "^10.1.2",
"glob": "^13.0.0", "glob": "^13.0.0",
"mocha": "^11.0.0",
"safe-code-point": "^3.0.2", "safe-code-point": "^3.0.2",
"standard": "^17.0.0" "standard": "^17.0.0"
}, },

View File

@ -1,6 +1,5 @@
import assert from 'node:assert/strict' import assert from 'node:assert/strict'
import { describe, it } from 'node:test' import { describe, it } from 'mocha'
import { paddingBlockStart, blockStarts, safeCodePoint, pairStrings } from '../scripts/gen.js' import { paddingBlockStart, blockStarts, safeCodePoint, pairStrings } from '../scripts/gen.js'
describe('gen', () => { describe('gen', () => {

View File

@ -1,7 +1,7 @@
import assert from 'node:assert/strict' import assert from 'node:assert/strict'
import fs from 'node:fs'
import { describe, it } from 'node:test'
import fs from 'node:fs'
import { describe, it } from 'mocha'
import { globSync } from 'glob' import { globSync } from 'glob'
import { encode, decode } from '../src/index.js' import { encode, decode } from '../src/index.js'