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: htunnicliff/jmap-jam
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.4
Choose a base ref
...
head repository: htunnicliff/jmap-jam
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Oct 31, 2023

  1. Copy the full SHA
    2db15b2 View commit details
  2. 0.4.0

    htunnicliff committed Oct 31, 2023
    Copy the full SHA
    2cfd087 View commit details
  3. Copy the full SHA
    9ca2a36 View commit details
  4. 0.4.1

    htunnicliff committed Oct 31, 2023
    Copy the full SHA
    6749674 View commit details

Commits on Mar 25, 2024

  1. Remove Bun lockfile

    htunnicliff committed Mar 25, 2024
    Copy the full SHA
    7e21ffa View commit details
  2. Add header field support

    htunnicliff committed Mar 25, 2024
    Copy the full SHA
    ff61eb4 View commit details
  3. 0.5.0

    htunnicliff committed Mar 25, 2024
    Copy the full SHA
    2e90176 View commit details

Commits on Apr 19, 2024

  1. Copy the full SHA
    ce12460 View commit details
  2. 0.6.0

    htunnicliff committed Apr 19, 2024
    Copy the full SHA
    eeb9c61 View commit details

Commits on May 2, 2024

  1. Add JSR configuration

    htunnicliff committed May 2, 2024
    Copy the full SHA
    d8ddd52 View commit details
  2. Add Publish to JSR workflow

    htunnicliff committed May 2, 2024
    Copy the full SHA
    1a1c66d View commit details
  3. Fix slow types

    htunnicliff committed May 2, 2024
    Copy the full SHA
    c3fdb36 View commit details
  4. 0.6.1

    htunnicliff committed May 2, 2024
    Copy the full SHA
    2832486 View commit details
  5. Add JSR badge

    htunnicliff committed May 2, 2024
    Copy the full SHA
    6fe350e View commit details

Commits on May 8, 2024

  1. Add RFC documentation as JSDoc comments, add error types

    htunnicliff committed May 8, 2024
    Copy the full SHA
    ea9beee View commit details
  2. 0.7.0

    htunnicliff committed May 8, 2024
    Copy the full SHA
    9042b7c View commit details

Commits on Oct 11, 2024

  1. Copy the full SHA
    0e5adf2 View commit details
  2. Copy the full SHA
    c28db26 View commit details
  3. Apply formatting

    htunnicliff committed Oct 11, 2024
    Copy the full SHA
    6bf2616 View commit details
  4. Update dependencies

    htunnicliff committed Oct 11, 2024
    Copy the full SHA
    81b7715 View commit details
  5. Add vitest

    htunnicliff committed Oct 11, 2024
    Copy the full SHA
    cd5d669 View commit details

Commits on Oct 30, 2024

  1. Switch to LTS

    htunnicliff committed Oct 30, 2024
    Copy the full SHA
    b420181 View commit details
  2. Add util tests

    htunnicliff committed Oct 30, 2024
    Copy the full SHA
    c1cf66e View commit details

Commits on Dec 1, 2024

  1. Fix server-set types (#16)

    * Ensure optional fields use optional modifier and not null
    
    * Omit server-set fields from set arguments
    
    * Adjust additional nullable fields
    
    * Format
    htunnicliff authored Dec 1, 2024
    Copy the full SHA
    014c392 View commit details
  2. 0.8.0

    htunnicliff committed Dec 1, 2024
    Copy the full SHA
    d1c25c8 View commit details
  3. Update JSR version

    htunnicliff committed Dec 1, 2024
    Copy the full SHA
    36424ad View commit details
Showing with 5,866 additions and 249 deletions.
  1. +22 −0 .github/workflows/publish.yaml
  2. +2 −0 .mise.toml
  3. +0 −1 .tool-versions
  4. +3 −0 .vscode/extensions.json
  5. +4 −1 README.md
  6. +41 −0 biome.jsonc
  7. BIN bun.lockb
  8. +5 −0 jsr.json
  9. +3,183 −0 package-lock.json
  10. +14 −9 package.json
  11. +26 −0 src/__test__/utils.test-d.ts
  12. +18 −0 src/__test__/utils.test.ts
  13. +2 −2 src/capabilities.ts
  14. +63 −58 src/client.ts
  15. +11 −12 src/helpers.ts
  16. +10 −7 src/index.ts
  17. +29 −17 src/request-drafts.ts
  18. +63 −31 src/types/contracts.ts
  19. +1,067 −53 src/types/jmap-mail.ts
  20. +1,255 −52 src/types/jmap.ts
  21. +25 −0 src/utils.ts
  22. +5 −0 tsconfig.build.json
  23. +5 −3 tsconfig.json
  24. +3 −3 tsup.config.js
  25. +10 −0 vitest.config.ts
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to JSR

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4

- name: Publish package
run: npx jsr publish
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "lts"
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["biomejs.biome"]
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -7,8 +7,11 @@
<a href="https://bundlephobia.com/package/jmap-jam@latest">
<img alt="bundle size" src="https://img.shields.io/bundlephobia/minzip/jmap-jam">
</a>
<a href="https://jsr.io/@htunnicliff/jmap-jam">
<img alt="JSR" src="https://jsr.io/badges/@htunnicliff/jmap-jam" />
</a>
<a href="https://github.com/htunnicliff/jmap-jam/blob/main/LICENSE.txt">
<img alt="NPM" src="https://img.shields.io/npm/l/jmap-jam">
<img alt="License" src="https://img.shields.io/npm/l/jmap-jam">
</a>
</p>

41 changes: 41 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off"
},
// Remove these once remedied:
"suspicious": {
"noExplicitAny": "warn"
},
"complexity": {
"noBannedTypes": "warn"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "none"
}
}
}
Binary file removed bun.lockb
Binary file not shown.
5 changes: 5 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@htunnicliff/jmap-jam",
"version": "0.8.0",
"exports": "./src/index.ts"
}
Loading