bump version

This commit is contained in:
Percs 2024-10-10 23:02:22 -05:00
parent bc142c6b28
commit 9528c64454
3 changed files with 124 additions and 17 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@mercuryworkshop/bare-mux", "name": "@mercuryworkshop/bare-mux",
"version": "2.0.9", "version": "2.1.0",
"description": "", "description": "",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -26,7 +26,7 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-inject": "^5.0.5", "@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-replace": "^5.0.5",
"rollup": "^4.9.6", "rollup": "^4.9.6",
"rollup-plugin-typescript2": "^0.36.0" "rollup-plugin-typescript2": "^0.36.0"

133
pnpm-lock.yaml generated
View file

@ -8,12 +8,12 @@ importers:
.: .:
devDependencies: devDependencies:
'@rollup/plugin-inject':
specifier: ^5.0.5
version: 5.0.5(rollup@4.18.0)
'@rollup/plugin-replace': '@rollup/plugin-replace':
specifier: ^5.0.5 specifier: ^5.0.5
version: 5.0.7(rollup@4.18.0) version: 5.0.7(rollup@4.18.0)
'@rollup/plugin-terser':
specifier: ^0.4.4
version: 0.4.4(rollup@4.18.0)
rollup: rollup:
specifier: ^4.9.6 specifier: ^4.9.6
version: 4.18.0 version: 4.18.0
@ -23,11 +23,29 @@ importers:
packages: packages:
'@jridgewell/gen-mapping@0.3.5':
resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==}
engines: {node: '>=6.0.0'}
'@jridgewell/resolve-uri@3.1.2':
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
engines: {node: '>=6.0.0'}
'@jridgewell/set-array@1.2.1':
resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}
engines: {node: '>=6.0.0'}
'@jridgewell/source-map@0.3.6':
resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}
'@jridgewell/sourcemap-codec@1.4.15': '@jridgewell/sourcemap-codec@1.4.15':
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
'@rollup/plugin-inject@5.0.5': '@jridgewell/trace-mapping@0.3.25':
resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==} resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
'@rollup/plugin-replace@5.0.7':
resolution: {integrity: sha512-PqxSfuorkHz/SPpyngLyg5GCEkOcee9M1bkxiVDr41Pd61mqP1PLOoDPbpl44SB2mQGKwV/In74gqQmGITOhEQ==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
peerDependencies: peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
@ -35,11 +53,11 @@ packages:
rollup: rollup:
optional: true optional: true
'@rollup/plugin-replace@5.0.7': '@rollup/plugin-terser@0.4.4':
resolution: {integrity: sha512-PqxSfuorkHz/SPpyngLyg5GCEkOcee9M1bkxiVDr41Pd61mqP1PLOoDPbpl44SB2mQGKwV/In74gqQmGITOhEQ==} resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
peerDependencies: peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 rollup: ^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta: peerDependenciesMeta:
rollup: rollup:
optional: true optional: true
@ -140,6 +158,17 @@ packages:
'@types/estree@1.0.5': '@types/estree@1.0.5':
resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
acorn@8.12.1:
resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==}
engines: {node: '>=0.4.0'}
hasBin: true
buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
commondir@1.0.1: commondir@1.0.1:
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
@ -204,6 +233,9 @@ packages:
resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==}
engines: {node: '>=8'} engines: {node: '>=8'}
randombytes@2.1.0:
resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}
rollup-plugin-typescript2@0.36.0: rollup-plugin-typescript2@0.36.0:
resolution: {integrity: sha512-NB2CSQDxSe9+Oe2ahZbf+B4bh7pHwjV5L+RSYpCu7Q5ROuN94F9b6ioWwKfz3ueL3KTtmX4o2MUH2cgHDIEUsw==} resolution: {integrity: sha512-NB2CSQDxSe9+Oe2ahZbf+B4bh7pHwjV5L+RSYpCu7Q5ROuN94F9b6ioWwKfz3ueL3KTtmX4o2MUH2cgHDIEUsw==}
peerDependencies: peerDependencies:
@ -215,6 +247,9 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'} engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true hasBin: true
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
semver@6.3.1: semver@6.3.1:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true hasBin: true
@ -224,6 +259,24 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
serialize-javascript@6.0.2:
resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
smob@1.5.0:
resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
source-map-support@0.5.21:
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
source-map@0.6.1:
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
engines: {node: '>=0.10.0'}
terser@5.34.1:
resolution: {integrity: sha512-FsJZ7iZLd/BXkz+4xrRTGJ26o/6VTjQytUk8b8OxkwcD2I+79VPJlz7qss1+zE7h8GNIScFqXcDyJ/KqBYZFVA==}
engines: {node: '>=10'}
hasBin: true
tslib@2.6.3: tslib@2.6.3:
resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==}
@ -238,15 +291,27 @@ packages:
snapshots: snapshots:
'@jridgewell/gen-mapping@0.3.5':
dependencies:
'@jridgewell/set-array': 1.2.1
'@jridgewell/sourcemap-codec': 1.4.15
'@jridgewell/trace-mapping': 0.3.25
'@jridgewell/resolve-uri@3.1.2': {}
'@jridgewell/set-array@1.2.1': {}
'@jridgewell/source-map@0.3.6':
dependencies:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
'@jridgewell/sourcemap-codec@1.4.15': {} '@jridgewell/sourcemap-codec@1.4.15': {}
'@rollup/plugin-inject@5.0.5(rollup@4.18.0)': '@jridgewell/trace-mapping@0.3.25':
dependencies: dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.18.0) '@jridgewell/resolve-uri': 3.1.2
estree-walker: 2.0.2 '@jridgewell/sourcemap-codec': 1.4.15
magic-string: 0.30.10
optionalDependencies:
rollup: 4.18.0
'@rollup/plugin-replace@5.0.7(rollup@4.18.0)': '@rollup/plugin-replace@5.0.7(rollup@4.18.0)':
dependencies: dependencies:
@ -255,6 +320,14 @@ snapshots:
optionalDependencies: optionalDependencies:
rollup: 4.18.0 rollup: 4.18.0
'@rollup/plugin-terser@0.4.4(rollup@4.18.0)':
dependencies:
serialize-javascript: 6.0.2
smob: 1.5.0
terser: 5.34.1
optionalDependencies:
rollup: 4.18.0
'@rollup/pluginutils@4.2.1': '@rollup/pluginutils@4.2.1':
dependencies: dependencies:
estree-walker: 2.0.2 estree-walker: 2.0.2
@ -318,6 +391,12 @@ snapshots:
'@types/estree@1.0.5': {} '@types/estree@1.0.5': {}
acorn@8.12.1: {}
buffer-from@1.1.2: {}
commander@2.20.3: {}
commondir@1.0.1: {} commondir@1.0.1: {}
estree-walker@2.0.2: {} estree-walker@2.0.2: {}
@ -380,6 +459,10 @@ snapshots:
dependencies: dependencies:
find-up: 4.1.0 find-up: 4.1.0
randombytes@2.1.0:
dependencies:
safe-buffer: 5.2.1
rollup-plugin-typescript2@0.36.0(rollup@4.18.0)(typescript@5.5.3): rollup-plugin-typescript2@0.36.0(rollup@4.18.0)(typescript@5.5.3):
dependencies: dependencies:
'@rollup/pluginutils': 4.2.1 '@rollup/pluginutils': 4.2.1
@ -412,10 +495,32 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.18.0 '@rollup/rollup-win32-x64-msvc': 4.18.0
fsevents: 2.3.3 fsevents: 2.3.3
safe-buffer@5.2.1: {}
semver@6.3.1: {} semver@6.3.1: {}
semver@7.6.2: {} semver@7.6.2: {}
serialize-javascript@6.0.2:
dependencies:
randombytes: 2.1.0
smob@1.5.0: {}
source-map-support@0.5.21:
dependencies:
buffer-from: 1.1.2
source-map: 0.6.1
source-map@0.6.1: {}
terser@5.34.1:
dependencies:
'@jridgewell/source-map': 0.3.6
acorn: 8.12.1
commander: 2.20.3
source-map-support: 0.5.21
tslib@2.6.3: {} tslib@2.6.3: {}
typescript@5.5.3: {} typescript@5.5.3: {}

View file

@ -1,5 +1,5 @@
import inject from '@rollup/plugin-inject';
import replace from '@rollup/plugin-replace'; import replace from '@rollup/plugin-replace';
import terser from '@rollup/plugin-terser';
import typescript from 'rollup-plugin-typescript2'; import typescript from 'rollup-plugin-typescript2';
import { readFile } from 'node:fs/promises'; import { readFile } from 'node:fs/promises';
import { fileURLToPath } from 'node:url'; import { fileURLToPath } from 'node:url';
@ -8,11 +8,13 @@ const pkg = JSON.parse(await readFile('package.json'));
const commonPlugins = () => [ const commonPlugins = () => [
typescript(), typescript(),
terser(),
replace({ replace({
'self.BARE_MUX_VERSION': JSON.stringify( 'self.BARE_MUX_VERSION': JSON.stringify(
pkg.version pkg.version
), ),
}), }),
]; ];
const configs = [ const configs = [