Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ustclug-dev/brotli-dec-wasm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.3
Choose a base ref
...
head repository: ustclug-dev/brotli-dec-wasm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: goshujin-sama
Choose a head ref

Commits on Nov 20, 2023

  1. Copy the full SHA
    058d4b7 View commit details
  2. Export init and wasm binary file

    myl7 committed Nov 20, 2023
    Copy the full SHA
    a3d3b16 View commit details
  3. Add doc about asset helper

    myl7 committed Nov 20, 2023
    Copy the full SHA
    afd36ac View commit details
  4. Copy the full SHA
    bf8ba17 View commit details

Commits on Nov 24, 2023

  1. Copy the full SHA
    dd06d55 View commit details
  2. Disable ATTW to wait for fixing

    myl7 committed Nov 24, 2023
    Copy the full SHA
    81cfed9 View commit details
  3. Bump version

    myl7 committed Nov 24, 2023
    Copy the full SHA
    8b64e50 View commit details

Commits on Nov 26, 2023

  1. Reenable ATTW after fixed

    myl7 committed Nov 26, 2023
    Copy the full SHA
    4065896 View commit details

Commits on Nov 27, 2023

  1. Fix version spec for ATTW in CI

    myl7 committed Nov 27, 2023
    Copy the full SHA
    cd89be6 View commit details

Commits on Feb 2, 2024

  1. Copy the full SHA
    be086d3 View commit details
  2. Bump follow-redirects from 1.15.3 to 1.15.4 in /example/webpack-asset

    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.4)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and myl7 committed Feb 2, 2024
    Copy the full SHA
    9416461 View commit details

Commits on Mar 18, 2024

  1. Bump follow-redirects from 1.15.4 to 1.15.6 in /example/webpack-asset

    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and myl7 committed Mar 18, 2024
    Copy the full SHA
    6f2d3bf View commit details

Commits on Apr 18, 2024

  1. Copy the full SHA
    3d07f67 View commit details
  2. Copy the full SHA
    726bd74 View commit details
  3. Add formatter

    myl7 committed Apr 18, 2024
    Copy the full SHA
    d861a37 View commit details
  4. Copy the full SHA
    5a907f6 View commit details
  5. Copy the full SHA
    772abde View commit details
  6. Update readme for asset method

    myl7 committed Apr 18, 2024
    Copy the full SHA
    11f93fd View commit details
  7. Bump version

    myl7 committed Apr 18, 2024
    Copy the full SHA
    644abc2 View commit details
  8. Update CI

    myl7 committed Apr 18, 2024
    Copy the full SHA
    e51d037 View commit details
  9. Update bun lock

    myl7 committed Apr 18, 2024
    Copy the full SHA
    6f6c1af View commit details
  10. Build brotli-wasm in CI

    myl7 committed Apr 18, 2024
    Copy the full SHA
    b3e66bb View commit details
  11. Copy the full SHA
    eb5f69c View commit details
  12. Suppress no resolution warning

    Node 10 is too old
    myl7 committed Apr 18, 2024
    Copy the full SHA
    787d388 View commit details

Commits on Apr 19, 2024

  1. Update cargo deps

    myl7 committed Apr 19, 2024
    Copy the full SHA
    ace361e View commit details
  2. Copy the full SHA
    9413441 View commit details
  3. Copy the full SHA
    7835ccc View commit details
  4. Bump crate version

    myl7 committed Apr 19, 2024
    Copy the full SHA
    0e8f8ec View commit details

Commits on Aug 31, 2024

  1. Bump webpack from 5.89.0 to 5.94.0 in /example/webpack

    Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.94.0.
    - [Release notes](https://github.com/webpack/webpack/releases)
    - [Commits](webpack/webpack@v5.89.0...v5.94.0)
    
    ---
    updated-dependencies:
    - dependency-name: webpack
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and myl7 committed Aug 31, 2024
    Copy the full SHA
    3a62e38 View commit details
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -30,12 +30,14 @@ jobs:
uses: actions/checkout@v3
with:
repository: httptoolkit/brotli-wasm
ref: v2.0.1
ref: v3.0.0
path: test/brotli-wasm
- name: Modify brotli-wasm for tests
run: |
test/test.sh preinstall
cat test/brotli-wasm/package.json
test/test.sh pretest
cat test/brotli-wasm/test/brotli.spec.ts
- name: Install brotli-wasm dependencies for tests
run: npm install
working-directory: test/brotli-wasm
@@ -44,5 +46,6 @@ jobs:
working-directory: test/brotli-wasm
- run: npm run build
- run: npm run test
# >=0.13.2 because of arethetypeswrong/arethetypeswrong.github.io#117.
- name: Check ESM module resolution
run: npx @arethetypeswrong/cli --ignore-rules cjs-resolves-to-esm --pack
run: npx '@arethetypeswrong/cli@>=0.13.2' --ignore-rules no-resolution cjs-resolves-to-esm --exclude-entrypoints ./web/bg.wasm --pack
142 changes: 140 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,138 @@
## Node

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

## wasm-pack

/target
**/*.rs.bk
# wasm-pack prefers (generated in the project boilerplate) to ignore the lock file.
@@ -7,5 +142,8 @@ bin/
pkg/
wasm-pack.log

# Dev
.idea/
## Others

# IDE
.vscode
.idea
157 changes: 157 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
## Node

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

## wasm-pack

/target
**/*.rs.bk
# wasm-pack prefers (generated in the project boilerplate) to ignore the lock file.
# We include it at least to show the version of the brotli-decompressor crate.
# Cargo.lock
bin/
pkg/
wasm-pack.log

## Others

# IDE
.vscode
.idea

# Lock files
package-lock.json
yarn.lock
pnpm-lock.yaml

# Sub repositories in test
/test/brotli-wasm
Loading