Pintora is an extensible javascript text-to-diagrams library that works in both browser and Node.js.

Overview

Pintora

pintora

Documentation | Live Editor


Pintora is an extensible javascript text-to-diagrams library that works in both browser and Node.js.

Expressing your thoughts in a diagram is better than a thousand words. With the help of pintora.js, you can create diagrams with intuitive text.

Heavily inspired by Mermaid.js and PlantUML.

Features

  • In browser side, output SVG or Canvas.
  • In Node.js side, output PNG/JPG/SVG file.
  • Outputs are clean and self contained, won't pollute the page with global style.
  • Modular and highly extensible, provide a plugin system for diagram developer to write and distribute their own diagrams. Here is a tutorial Write a custom diagram | Pintora.

Diagram types

  • Sequence Diagram
  • Entity Relationship Diagram
  • Component Diagram
  • Activity Diagram
  • Mind Map
name preview
Sequence Diagram
Entity Relationship Diagram
Component Diagram
Activity Diagram
Mind Map

📖 Documentation

Check the online documentation and demo for more details.

💻 Editor Support

  • VSCode extension pintora-vscode, providing syntax highlight and preview support for .pintora file and markdown code fence.

Related Projects

🔭 Roadmap

  • Sequence Diagram and Entity Relationship Diagram
  • Pintora node.js cli
  • PlantUML style Component diagram
  • Theme config
  • PlantUML style Activity Diagram
  • Mind Map
  • Gantt diagram
  • PlantUML style Deploy Diagram
  • Load diagram implementation and canvas renderer only when needed

If you have good thoughts or feature requests, please feel free to start a new discussion.

Comments
  • ReferenceError: CanvasPattern is not defined while using standalone version

    ReferenceError: CanvasPattern is not defined while using standalone version

    Hi, I love this tool, but I have been having trouble while using the CLI standalone version. I have no problem using the VSCode extension, but when I try to use the render command I get an error:

    ➜  documentation-pintora node --version
    v16.13.2
    ➜  documentation-pintora npm i -g @pintora/cli
    
    changed 188 packages, and audited 189 packages in 21s
    
    9 packages are looking for funding
      run `npm fund` for details
    
    found 0 vulnerabilities
    ➜  documentation-pintora pintora render --input ./input.pintora --output ./output/test.png
    /Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1
    !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t||self).pintora={})}(this,function(t){var e={__pro ....
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
    ReferenceError: CanvasPattern is not defined
        at WM (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:501623)
        at tE (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:504326)
        at e.draw (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:508895)
        at eE (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:504457)
        at e.draw (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:507588)
        at eE (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:504457)
        at e._drawRegion (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:531469)
        at Timeout._onTimeout (/Users/administrador/.nvm/versions/node/v16.13.2/lib/node_modules/@pintora/cli/node_modules/@pintora/standalone/lib/pintora-standalone.umd.js:1:531883)
        at listOnTimeout (node:internal/timers:557:17)
        at processTimers (node:internal/timers:500:7)
    ➜  documentation-pintora 
    

    Is it something to do with my dependencies? Is there anyway to fix it? Any help would be appreciated, and I can provide further information.

    bug 
    opened by VictorPato 5
  • chore(deps): update pnpm to v7

    chore(deps): update pnpm to v7

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | pnpm (source) | 6.27.1 -> 7.1.0 | age | adoption | passing | confidence |


    Release Notes

    pnpm/pnpm

    v7.1.0

    Compare Source

    Minor Changes

    • Added support for libc field in package.json #​4454.

    Patch Changes

    • pnpm setup should update the config of the current shell, not the preferred shell.
    • pnpm setup should not override the PNPM_HOME env variable, unless --force is used.
    • pnpm dlx should print messages about installation to stderr #​1698.
    • pnpm dlx should work with git-hosted packages. For example: pnpm dlx gengjiawen/envinfo #​4714.
    • pnpm run --stream should prefix the output with directory #​4702

    Our Sponsors

    #### What's Changed * fix(dlx): print install output to stderr by @​zkochan in https://github.com/pnpm/pnpm/pull/4696 * fix: `pnpm setup` breaks PATH with non-ascii characters by @​liuxingbaoyu in https://github.com/pnpm/pnpm/pull/4699 * fix(setup): update the current shell, not the preferred one by @​zkochan in https://github.com/pnpm/pnpm/pull/4701 * refactor: use @​yarnpkg/extensions instead of @​yarnpkg/plugin-compat by @​zkochan in https://github.com/pnpm/pnpm/pull/4710 * Refactor setup by @​zkochan in https://github.com/pnpm/pnpm/pull/4709 * pnpm run --stream should prefix with dir name by @​kenrick95 in https://github.com/pnpm/pnpm/pull/4703 * feat: support libc field for package.json by @​fireairforce in https://github.com/pnpm/pnpm/pull/4605 * fix: make `pnpm setup` free of garbled characters by @​liuxingbaoyu in https://github.com/pnpm/pnpm/pull/4712 * fix(dlx): pnpm dlx should work with git-hosted pkgs by @​zkochan in https://github.com/pnpm/pnpm/pull/4717 * refactor: pnpm setup by @​zkochan in https://github.com/pnpm/pnpm/pull/4713 #### New Contributors * @​liuxingbaoyu made their first contribution in https://github.com/pnpm/pnpm/pull/4699

    Full Changelog: https://github.com/pnpm/pnpm/compare/v7.0.1...v7.1.0

    v7.0.1

    Compare Source

    Patch Changes

    • Use Yarn's compatibility database to patch broken packages in the ecosystem with package extensions #​4676.
    • pnpm dlx should work when the bin name of the executed package isn't the same as the package name #​4672.
    • Throw an error if arguments are passed to the pnpm init command #​4665.
    • pnpm prune works in a workspace #​4647.
    • Do not report request retry warnings when loglevel is set to error #​4669.
    • pnpm prune does not remove hoisted dependencies #​4647.

    Our Sponsors

    #### New Contributors * @​axe-me made their first contribution in https://github.com/pnpm/pnpm/pull/4654

    Full Changelog: https://github.com/pnpm/pnpm/compare/v7.0.0...v7.0.1

    v7.0.0

    Compare Source

    Major Changes

    • Node.js 12 is not supported.

    • When using pnpm run <script>, all command line arguments after the script name are now passed to the script's argv, even --. For example, the command below will now pass --hello -- world to the echo script's argv: pnpm run echo --hello -- world Previously, flagged arguments (e.g. --silent) were interpreted as pnpm arguments unless -- came before it. If you want to pass options to pnpm, place them before the script name. For instance: pnpm --workspace-root --silent run echo --hello -- world Read more details about this in our docs. Related PR: #​4290

    • The root package is excluded by default, when running pnpm -r exec|run|add #​2769.

    • Filtering by path is done by globs.

      In pnpm v6, in order to pick packages under a certain directory, the following filter was used: --filter=./apps

      In pnpm v7, a glob should be used: --filter=./apps/**

      For easier upgrade, we have also added a setting to turn back filtering as it was in v6. Just set legacy-dir-filtering=true in .npmrc.

    • The NODE_PATH env variable is not set in the command shims (the files in node_modules/.bin). This env variable was really long and frequently caused errors on Windows.

      Also, the extend-node-path setting is removed.

      Related PR: #​4253

    • The embed-readme setting is false by default.

    • Side effects cache is turned on by default. To turn it off, use side-effects-cache=false.

    • The npm_config_argv env variable is not set for scripts #​4153.

    • pnpx is now just an alias of pnpm dlx.

      If you want to just execute the command of a dependency, run pnpm <cmd>. For instance, pnpm eslint.

      If you want to install and execute, use pnpm dlx <pkg name>.

    • pnpm install -g pkg will add the global command only to a predefined location. pnpm will not try to add a bin to the global Node.js or npm folder. To set the global bin directory, either set the PNPM_HOME env variable or the global-bin-dir setting.

    • pnpm pack should only pack a file as an executable if it's a bin or listed in the publishConfig.executableFiles array.

    • -W is not an alias of --ignore-workspace-root-check anymore. Just use -w or --workspace-root instead, which will also allow to install dependencies in the root of the workspace.

    • Allow to execute a lifecycle script in a directory that doesn't match the package's name. Previously this was only allowed with the --unsafe-perm CLI option #​3709.

    • Local dependencies referenced through the file: protocol are hard linked (not symlinked) #​4408. If you need to symlink a dependency, use the link: protocol instead.

    • strict-peer-dependencies is true by default #​4427.

    • A prerelease version is always added as an exact version to package.json. If the next version of foo is 1.0.0-beta.1 then running pnpm add foo@next will add this to package.json:

      {
        "dependencies": {
          "foo": "1.0.0-beta.1"
        }
      }
      

      PR: #​4435

    • Dependencies of the root workspace project are not used to resolve peer dependencies of other workspace projects #​4469.

    • Don't hoist types by default to the root of node_modules #​4459.

    • Any package with "prettier" in its name is hoisted.

    • Changed the location of the global store from ~/.pnpm-store to <pnpm home directory>/store

      On Linux, by default it will be ~/.local/share/pnpm/store On Windows: %LOCALAPPDATA%/pnpm/store On macOS: ~/Library/pnpm/store

      Related issue: #​2574

    • 4bed585: The next deprecated settings were removed:

      • frozen-shrinkwrap
      • prefer-frozen-shrinkwrap
      • shared-workspace-shrinkwrap
      • shrinkwrap-directory
      • lockfile-directory
      • shrinkwrap-only
      • store
    • Use a base32 hash instead of a hex to encode too long dependency paths inside node_modules/.pnpm #​4552.

    • New setting added: git-shallow-hosts. When cloning repositories from "shallow-hosts", pnpm will use shallow cloning to fetch only the needed commit, not all the history #​4548.

    • Lockfile version bumped to v5.4.

    • Exit with an error when running pnpm install in a directory that has no package.json file in it (and in parent directories) #​4609.

    Our Sponsors

    #### What's Changed * feat!: breaking config changes for v7 by @​zkochan in https://github.com/pnpm/pnpm/pull/4253 * feat(pack)!: limit what files are packed as executables by @​zkochan in https://github.com/pnpm/pnpm/pull/4266 * feat!: pnpx is an alias of pnpm dlx by @​zkochan in https://github.com/pnpm/pnpm/pull/4267 * feat: run scripts without -- by @​gluxon in https://github.com/pnpm/pnpm/pull/4290 * fix: revert backwards compatible handling of -- for run by @​gluxon in https://github.com/pnpm/pnpm/pull/4291 * feat!: global bins should be created only in predefined locations by @​zkochan in https://github.com/pnpm/pnpm/pull/4280 * ci: use pnpm v7 by @​zkochan in https://github.com/pnpm/pnpm/pull/4307 * feat!: remove -W option by @​zkochan in https://github.com/pnpm/pnpm/pull/4308 * test(audit): fix for 2022-02-15 by @​gluxon in https://github.com/pnpm/pnpm/pull/4340 * feat: -F is a short alias of --filter by @​zkochan in https://github.com/pnpm/pnpm/pull/4342 * feat: onlyBuiltDependencies by @​zkochan in https://github.com/pnpm/pnpm/pull/4014 * fix(make-dedicated-lockfile): don't re-resolve dependency versions in dedicated lockfile by @​David-Collins in https://github.com/pnpm/pnpm/pull/4350 * test(audit): mock responses from audit endpoint by @​zkochan in https://github.com/pnpm/pnpm/pull/4354 * fix: bad packageManager field by @​Jack-Works in https://github.com/pnpm/pnpm/pull/4356 * feat: use the versions from overrides when adding deps without specs by @​zkochan in https://github.com/pnpm/pnpm/pull/4355 * chore: document the interface of command packages by @​illright in https://github.com/pnpm/pnpm/pull/3828 * fix: print an info message when NODE_ENV is set to production by @​zkochan in https://github.com/pnpm/pnpm/pull/4362 * test: ignore override if a version is specified at install by @​nikoladev in https://github.com/pnpm/pnpm/pull/4366 * fix: ignore case, when verifying package name in the store by @​zkochan in https://github.com/pnpm/pnpm/pull/4368 * fix: peerDependencyRules with * as range by @​zkochan in https://github.com/pnpm/pnpm/pull/4370 * feat: run scripts without --unsafe-perm by @​zkochan in https://github.com/pnpm/pnpm/pull/4369 * chore(github): add welcome bot app by @​BlackHole1 in https://github.com/pnpm/pnpm/pull/4373 * fix: onlyBuiltDependencies should work by @​zkochan in https://github.com/pnpm/pnpm/pull/4377 * fix: pnpm i should work on virtual drives by @​kazuare in https://github.com/pnpm/pnpm/pull/4386 * fix: throw a meaningful error message on broken lockfile by @​zkochan in https://github.com/pnpm/pnpm/pull/4387 * fix: don't write data from the lockfile to the global store by @​zkochan in https://github.com/pnpm/pnpm/pull/4395 * fix(resolve-dependencies): a sequence of injected deps via the file protocol by @​zkochan in https://github.com/pnpm/pnpm/pull/4415 * feat: the file protocol should always inject the dependency by @​zkochan in https://github.com/pnpm/pnpm/pull/4408 * feat: add own implementation of the init command by @​zkochan in https://github.com/pnpm/pnpm/pull/4422 * feat: strict-peer-dependencies is true by default by @​zkochan in https://github.com/pnpm/pnpm/pull/4427 * feat: respect the npmrc by @​Spencer17x in https://github.com/pnpm/pnpm/pull/4425 * feat: a prerelease version is always saved as an exact version by @​zkochan in https://github.com/pnpm/pnpm/pull/4435 * feat: prevent deep imports using exports by @​zkochan in https://github.com/pnpm/pnpm/pull/4440 * fix: use `@pnpm/graph-sequencer` instead of `graph-sequencer` by @​zkochan in https://github.com/pnpm/pnpm/pull/4458 * fix: fetch should allow the same options as install by @​zkochan in https://github.com/pnpm/pnpm/pull/4460 * fix: typo by @​HomyeeKing in https://github.com/pnpm/pnpm/pull/4462 * fix(lockfile-utils): checking dependenciesMeta by @​zkochan in https://github.com/pnpm/pnpm/pull/4463 * fix: types should not be hoisted to the root of node_modules by @​zkochan in https://github.com/pnpm/pnpm/pull/4459 * chore: replace deprecated String.prototype.substr() by @​CommanderRoot in https://github.com/pnpm/pnpm/pull/4479 * Chore/friendly git error by @​lawvs in https://github.com/pnpm/pnpm/pull/4488 * fix: handle undefined version spec by @​tmkx in https://github.com/pnpm/pnpm/pull/4487 * lint: remove duplicate code by @​milahu in https://github.com/pnpm/pnpm/pull/4496 * fix: typo by @​HomyeeKing in https://github.com/pnpm/pnpm/pull/4499 * feat: don't resolve peer dependencies from workspace root by @​zkochan in https://github.com/pnpm/pnpm/pull/4469 * chore: fix typo by @​sudongyuer in https://github.com/pnpm/pnpm/pull/4516 * fix: set root by @​HomyeeKing in https://github.com/pnpm/pnpm/pull/4515 * fix(cmd-shim): extend NODE_PATH with path to hidden hoisted dir by @​zkochan in https://github.com/pnpm/pnpm/pull/4513 * chore: public-hoist-pattern prettier config by @​fupengl in https://github.com/pnpm/pnpm/pull/3954 * feat: remove deprecated settings by @​zkochan in https://github.com/pnpm/pnpm/pull/4519 * feat: the global store location should be inside the pnpm home directory by @​zkochan in https://github.com/pnpm/pnpm/pull/4522 * fix: the file protocol should link all files by default by @​zkochan in https://github.com/pnpm/pnpm/pull/4532 * fix: dependenciesMeta should be saved into the lockfile by @​zkochan in https://github.com/pnpm/pnpm/pull/4538 * fix: resolve peers from linked in dependencies by @​zkochan in https://github.com/pnpm/pnpm/pull/4541 * fix: peer dependency has workspace protocol by @​zkochan in https://github.com/pnpm/pnpm/pull/4540 * feat: use a shorter hash for dep path by @​zkochan in https://github.com/pnpm/pnpm/pull/4552 * feat(git-fetcher): shallow clone when fetching git resource by @​kenrick95 in https://github.com/pnpm/pnpm/pull/4548 * style(*): remove duplicate declarations in TypeScript types by @​dev-itsheng in https://github.com/pnpm/pnpm/pull/4570 * docs(*): fix problems with sample code in documentation by @​dev-itsheng in https://github.com/pnpm/pnpm/pull/4572 * fix(exe): use the strict equality operator, and make `JSON.parse` execute correctly by @​dev-itsheng in https://github.com/pnpm/pnpm/pull/4571 * Improve spnpm to use esbuild by @​jondlm in https://github.com/pnpm/pnpm/pull/4574 * style(*): typo by @​dev-itsheng in https://github.com/pnpm/pnpm/pull/4573 * fix(core): prevent duplication of peerDependencyRules in the lockfile by @​kamsar in https://github.com/pnpm/pnpm/pull/4576 * fix: store integrity check when the lockfile is updated by @​zkochan in https://github.com/pnpm/pnpm/pull/4580 * Fix `add` bug with overlapping workspace packages by @​jondlm in https://github.com/pnpm/pnpm/pull/4575 * fix(exec): commands of workspace project should be in PATH by @​zkochan in https://github.com/pnpm/pnpm/pull/4583 * fix(default-reporter): use loglevel to filter deprecation warnings (#​4343) by @​milahu in https://github.com/pnpm/pnpm/pull/4507 * fix: an edge case with peer resolutions and circular deps by @​zkochan in https://github.com/pnpm/pnpm/pull/4588 * feat: shrink path to the global directory (to reduce chance of too long names on Windows) by @​zkochan in https://github.com/pnpm/pnpm/pull/4591 * fix(filter-workspace-packages): filter not working if the path contains Korean characters by @​WhiteKiwi in https://github.com/pnpm/pnpm/pull/4595 * chore: Set permissions for GitHub actions by @​neilnaveen in https://github.com/pnpm/pnpm/pull/4607 * fix: only `pnpm install` should fail on peer dep issues by @​zkochan in https://github.com/pnpm/pnpm/pull/4596 * feat: add legacy-dir-filtering by @​zkochan in https://github.com/pnpm/pnpm/pull/4610 * fix(init): don't fail if a parent dir has a package.json by @​zkochan in https://github.com/pnpm/pnpm/pull/4615 * fix: dlx should work without a configured global directory by @​zkochan in https://github.com/pnpm/pnpm/pull/4612 * fix(install): exit with an error when no package.json is found by @​zkochan in https://github.com/pnpm/pnpm/pull/4614 * fix: a file dep has a file dep by @​zkochan in https://github.com/pnpm/pnpm/pull/4618 * fix: publish in workspace by @​zkochan in https://github.com/pnpm/pnpm/pull/4627 * fix: don't fail when moving packages to node_modules/.ignored by @​zkochan in https://github.com/pnpm/pnpm/pull/4626 * fix: global linking by @​zkochan in https://github.com/pnpm/pnpm/pull/4641 * fix(exportable-manifest, types): add typesVersions field to PUBLISH_CONFIG_WHITELIST by @​WhiteKiwi in https://github.com/pnpm/pnpm/pull/4637 #### New Contributors * @​Jack-Works made their first contribution in https://github.com/pnpm/pnpm/pull/4356 * @​kazuare made their first contribution in https://github.com/pnpm/pnpm/pull/4386 * @​Spencer17x made their first contribution in https://github.com/pnpm/pnpm/pull/4425 * @​HomyeeKing made their first contribution in https://github.com/pnpm/pnpm/pull/4462 * @​CommanderRoot made their first contribution in https://github.com/pnpm/pnpm/pull/4479 * @​lawvs made their first contribution in https://github.com/pnpm/pnpm/pull/4488 * @​tmkx made their first contribution in https://github.com/pnpm/pnpm/pull/4487 * @​sudongyuer made their first contribution in https://github.com/pnpm/pnpm/pull/4516 * @​fupengl made their first contribution in https://github.com/pnpm/pnpm/pull/3954 * @​dev-itsheng made their first contribution in https://github.com/pnpm/pnpm/pull/4570 * @​jondlm made their first contribution in https://github.com/pnpm/pnpm/pull/4574 * @​kamsar made their first contribution in https://github.com/pnpm/pnpm/pull/4576 * @​WhiteKiwi made their first contribution in https://github.com/pnpm/pnpm/pull/4595 * @​neilnaveen made their first contribution in https://github.com/pnpm/pnpm/pull/4607

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.31.0...v7.0.0

    v6.32.12

    Compare Source

    Patch Changes
    • Use Yarn's compatibility database to patch broken packages in the ecosystem with package extensions.
    • pnpm dlx should work when the bin name of the executed package isn't the same as the package name #​4672.
    • pnpm prune works in a workspace #​4647.
    • pnpm prune does not remove hoisted dependencies.
    • pnpm dlx should print messages about installation to stderr #​1698.

    v6.32.11

    Compare Source

    Patch Changes
    • pnpm publish should work correctly in a workspace, when the latest npm CLI is installed #​4348.
    • Installation shouldn't fail when a package from node_modules is moved to the node_modules/.ignored subfolder and a package with that name is already present in `node_modules/.ignored' #​4626.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.10...v6.32.11

    v6.32.10

    Compare Source

    Patch Changes
    • It should be possible to use a chain of local file dependencies #​4611.
    • Filtering by directory should work with directories that have unicode chars in the name #​4595.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.9...v6.32.10

    v6.32.9

    Compare Source

    Patch Changes
    • Fix an error with peer resolutions, which was happening when there was a circular dependency and another dependency that had the name of the circular dependency as a substring.

    • When pnpm exec is running a command in a workspace project, the commands that are in the dependencies of that workspace project should be in the PATH #​4481.

    • Hide "WARN deprecated" messages on loglevel error #​4507

      Don't show the progress bar when loglevel is set to warn or error.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.8...v6.32.9

    v6.32.8

    Compare Source

    Patch Changes
    • Don't check the integrity of the store with the package version from the lockfile, when the package was updated #​4580.
    • Don't update a direct dependency that has the same name as a dependency in the workspace, when adding a new dependency to a workspace project #​4575.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.7...v6.32.8

    v6.32.7

    Compare Source

    Patch Changes
    • Setting the auto-install-peers to true should work.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.6...v6.32.7

    v6.32.6

    Compare Source

    Patch Changes
    • Linked in dependencies should be considered when resolving peer dependencies #​4541.
    • Peer dependency should be correctly resolved from the workspace, when it is declared using a workspace protocol #​4529.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.5...v6.32.6

    v6.32.5

    Compare Source

    v6.32.4

    Compare Source

    Patch Changes
    • Show a friendly error message when it is impossible to get the current Git branch name during publish #​4488.
    • When checking if the lockfile is up-to-date, an empty dependenciesMeta field in the manifest should be satisfied by a not set field in the lockfile #​4463.
    • It should be possible to reference a workspace project that has no version specified in its package.json #​4487.

    v6.32.3

    Compare Source

    Patch Changes
    • 4941f31: The location of an injected directory dependency should be correctly located, when there is a chain of local dependencies (declared via the file: protocol`).

      The next scenario was not working prior to the fix. There are 3 projects in the same folder: foo, bar, qar.

      foo/package.json:

      {
        "name": "foo",
        "dependencies": {
          "bar": "file:../bar"
        },
        "dependenciesMeta": {
          "bar": {
            "injected": true
          }
        }
      }
      

      bar/package.json:

      {
        "name": "bar",
        "dependencies": {
          "qar": "file:../qar"
        },
        "dependenciesMeta": {
          "qar": {
            "injected": true
          }
        }
      }
      

      qar/package.json:

      {
        "name": "qar"
      }
      

      Related PR: #​4415.

    v6.32.2

    Compare Source

    Patch Changes
    • In order to guarantee that only correct data is written to the store, data from the lockfile should not be written to the store. Only data directly from the package tarball or package metadata #​4395.
    • Throw a meaningful error message on pnpm install when the lockfile is broken and node-linker is set to hoisted #​4387.

    v6.32.1

    Compare Source

    Patch Changes
    • onlyBuiltDependencies should work #​4377. The new onlyBuiltDependencies feature was released with a bug in v6.32.0, so it didn't work.

    v6.32.0

    Compare Source

    Minor Changes
    • A new setting is supported in the pnpm section of the package.json file #​4001. onlyBuiltDependencies is an array of package names that are allowed to be executed during installation. If this field exists, only mentioned packages will be able to run install scripts.

      {
        "pnpm": {
          "onlyBuiltDependencies": ["fsevents"]
        }
      }
      
    • -F is a short alias of --filter #​3467.

    • When adding a new dependency, use the version specifier from the overrides, when present #​4313.

      Normally, if the latest version of foo is 2.0.0, then pnpm add foo installs foo@^2.0.0. This behavior changes if foo is specified in an override:

      {
        "pnpm": {
          "overrides": {
            "foo": "1.0.0"
          }
        }
      }
      

      In this case, pnpm add foo will add [email protected] to the dependency. However, if a version is explicitly specifying, then the specified version will be used and the override will be ignored. So pnpm add foo@0 will install v0 and it doesn't matter what is in the overrides.

    Patch Changes
    • Ignore case, when verifying package name in the store #​4367.
    • When a peer dependency range is extended with *, just replace any range with *.
    • When some dependency types are skipped, let the user know via the installation summary.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.31.0...v6.32.0

    v6.31.0

    Compare Source

    Minor Changes
    Patch Changes
    • Remove meaningless keys from publishConfig when the pack or publish commands are used #​4311
    • The pnpx, pnpm dlx, pnpm create, and pnpm exec commands should set the npm_config_user_agent env variable #​3985.
    What's Changed
    New Contributors

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.30.1...v6.31.0

    v6.30.1

    Compare Source

    Patch Changes
    • This fixes an issue introduced in pnpm v6.30.0.

      When a package is not linked to node_modules, no info message should be printed about it being "relinked" from the store #​4314.

    v6.30.0

    Compare Source

    Minor Changes
    • When checking that a package is linked from the store, check the existence of the package and read its stats with a single filesystem operation #​4304.

    v6.29.2

    Compare Source

    Patch Changes
    • node_modules directories inside injected dependencies should not be overwritten #​4299.

    v6.29.1

    Compare Source

    Patch Changes
    • Installation should not hang when there are broken symlinks in node_modules.

    v6.29.0

    Compare Source

    Minor Changes
    • Add support of the update-notifier configuration option #​4158.
    Patch Changes
    • A package should be able to be a dependency of itself.

    v6.28.0

    Compare Source

    Minor Changes
    • New option added: embed-readme. When false, pnpm publish doesn't save the readme file's content to package.json before publish #​4265.
    Patch Changes
    • pnpm exec should look for the executed command in the node_modules/.bin directory that is relative to the current working directory. Only after that should it look for the executable in the workspace root.
    • Injected dependencies should work properly in projects that use the hoisted node linker #​4259.

    v6.27.2

    Compare Source


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 5
  • chore(deps): update dependency vite-plugin-pwa to ^0.13.0

    chore(deps): update dependency vite-plugin-pwa to ^0.13.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vite-plugin-pwa | ^0.12.7 -> ^0.13.0 | age | adoption | passing | confidence |


    Release Notes

    antfu/vite-plugin-pwa

    v0.13.1

    Compare Source

       🐞 Bug Fixes
        View changes on GitHub

    v0.13.0

    Compare Source

       🚨 Breaking Changes
        View changes on GitHub

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 4
  • chore(deps): update pnpm to v6.32.13

    chore(deps): update pnpm to v6.32.13

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | pnpm (source) | 6.27.1 -> 6.32.13 | age | adoption | passing | confidence |


    Release Notes

    pnpm/pnpm

    v6.32.13

    Compare Source

    Patch Changes
    • pnpm setup should update the config of the current shell, not the preferred shell.
    • pnpm dlx should work with git-hosted packages. For example: pnpm dlx gengjiawen/envinfo #​4714.
    • pnpm setup should not override the PNPM_HOME env variable on Windows, unless --force is used.
    • All arguments after pnpm create <pkg> should be passed to the executed create app package. So pnpm create next-app --typescript should work`.
    • pnpm run --stream should prefix the output with directory #​4702

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.12...v6.32.13

    v6.32.12

    Compare Source

    Patch Changes
    • Use Yarn's compatibility database to patch broken packages in the ecosystem with package extensions.
    • pnpm dlx should work when the bin name of the executed package isn't the same as the package name #​4672.
    • pnpm prune works in a workspace #​4647.
    • pnpm prune does not remove hoisted dependencies.
    • pnpm dlx should print messages about installation to stderr #​1698.

    v6.32.11

    Compare Source

    Patch Changes
    • pnpm publish should work correctly in a workspace, when the latest npm CLI is installed #​4348.
    • Installation shouldn't fail when a package from node_modules is moved to the node_modules/.ignored subfolder and a package with that name is already present in `node_modules/.ignored' #​4626.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.10...v6.32.11

    v6.32.10

    Compare Source

    Patch Changes
    • It should be possible to use a chain of local file dependencies #​4611.
    • Filtering by directory should work with directories that have unicode chars in the name #​4595.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.9...v6.32.10

    v6.32.9

    Compare Source

    Patch Changes
    • Fix an error with peer resolutions, which was happening when there was a circular dependency and another dependency that had the name of the circular dependency as a substring.

    • When pnpm exec is running a command in a workspace project, the commands that are in the dependencies of that workspace project should be in the PATH #​4481.

    • Hide "WARN deprecated" messages on loglevel error #​4507

      Don't show the progress bar when loglevel is set to warn or error.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.8...v6.32.9

    v6.32.8

    Compare Source

    Patch Changes
    • Don't check the integrity of the store with the package version from the lockfile, when the package was updated #​4580.
    • Don't update a direct dependency that has the same name as a dependency in the workspace, when adding a new dependency to a workspace project #​4575.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.7...v6.32.8

    v6.32.7

    Compare Source

    Patch Changes
    • Setting the auto-install-peers to true should work.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.6...v6.32.7

    v6.32.6

    Compare Source

    Patch Changes
    • Linked in dependencies should be considered when resolving peer dependencies #​4541.
    • Peer dependency should be correctly resolved from the workspace, when it is declared using a workspace protocol #​4529.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.32.5...v6.32.6

    v6.32.5

    Compare Source

    v6.32.4

    Compare Source

    Patch Changes
    • Show a friendly error message when it is impossible to get the current Git branch name during publish #​4488.
    • When checking if the lockfile is up-to-date, an empty dependenciesMeta field in the manifest should be satisfied by a not set field in the lockfile #​4463.
    • It should be possible to reference a workspace project that has no version specified in its package.json #​4487.

    v6.32.3

    Compare Source

    Patch Changes
    • 4941f31: The location of an injected directory dependency should be correctly located, when there is a chain of local dependencies (declared via the file: protocol`).

      The next scenario was not working prior to the fix. There are 3 projects in the same folder: foo, bar, qar.

      foo/package.json:

      {
        "name": "foo",
        "dependencies": {
          "bar": "file:../bar"
        },
        "dependenciesMeta": {
          "bar": {
            "injected": true
          }
        }
      }
      

      bar/package.json:

      {
        "name": "bar",
        "dependencies": {
          "qar": "file:../qar"
        },
        "dependenciesMeta": {
          "qar": {
            "injected": true
          }
        }
      }
      

      qar/package.json:

      {
        "name": "qar"
      }
      

      Related PR: #​4415.

    v6.32.2

    Compare Source

    Patch Changes
    • In order to guarantee that only correct data is written to the store, data from the lockfile should not be written to the store. Only data directly from the package tarball or package metadata #​4395.
    • Throw a meaningful error message on pnpm install when the lockfile is broken and node-linker is set to hoisted #​4387.

    v6.32.1

    Compare Source

    Patch Changes
    • onlyBuiltDependencies should work #​4377. The new onlyBuiltDependencies feature was released with a bug in v6.32.0, so it didn't work.

    v6.32.0

    Compare Source

    Minor Changes
    • A new setting is supported in the pnpm section of the package.json file #​4001. onlyBuiltDependencies is an array of package names that are allowed to be executed during installation. If this field exists, only mentioned packages will be able to run install scripts.

      {
        "pnpm": {
          "onlyBuiltDependencies": ["fsevents"]
        }
      }
      
    • -F is a short alias of --filter #​3467.

    • When adding a new dependency, use the version specifier from the overrides, when present #​4313.

      Normally, if the latest version of foo is 2.0.0, then pnpm add foo installs foo@^2.0.0. This behavior changes if foo is specified in an override:

      {
        "pnpm": {
          "overrides": {
            "foo": "1.0.0"
          }
        }
      }
      

      In this case, pnpm add foo will add [email protected] to the dependency. However, if a version is explicitly specifying, then the specified version will be used and the override will be ignored. So pnpm add foo@0 will install v0 and it doesn't matter what is in the overrides.

    Patch Changes
    • Ignore case, when verifying package name in the store #​4367.
    • When a peer dependency range is extended with *, just replace any range with *.
    • When some dependency types are skipped, let the user know via the installation summary.

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.31.0...v6.32.0

    v6.31.0

    Compare Source

    Minor Changes
    Patch Changes
    • Remove meaningless keys from publishConfig when the pack or publish commands are used #​4311
    • The pnpx, pnpm dlx, pnpm create, and pnpm exec commands should set the npm_config_user_agent env variable #​3985.
    What's Changed
    New Contributors

    Full Changelog: https://github.com/pnpm/pnpm/compare/v6.30.1...v6.31.0

    v6.30.1

    Compare Source

    Patch Changes
    • This fixes an issue introduced in pnpm v6.30.0.

      When a package is not linked to node_modules, no info message should be printed about it being "relinked" from the store #​4314.

    v6.30.0

    Compare Source

    Minor Changes
    • When checking that a package is linked from the store, check the existence of the package and read its stats with a single filesystem operation #​4304.

    v6.29.2

    Compare Source

    Patch Changes
    • node_modules directories inside injected dependencies should not be overwritten #​4299.

    v6.29.1

    Compare Source

    Patch Changes
    • Installation should not hang when there are broken symlinks in node_modules.

    v6.29.0

    Compare Source

    Minor Changes
    • Add support of the update-notifier configuration option #​4158.
    Patch Changes
    • A package should be able to be a dependency of itself.

    v6.28.0

    Compare Source

    Minor Changes
    • New option added: embed-readme. When false, pnpm publish doesn't save the readme file's content to package.json before publish #​4265.
    Patch Changes
    • pnpm exec should look for the executed command in the node_modules/.bin directory that is relative to the current working directory. Only after that should it look for the executable in the workspace root.
    • Injected dependencies should work properly in projects that use the hoisted node linker #​4259.

    v6.27.2

    Compare Source


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 4
  • 能否补充一些简写缩写方便输入

    能否补充一些简写缩写方便输入

    比如,在已知 componentDiagram 的情况下,

    Interface 可以简写为 () component 却不能简单简写为 []

    比如 component comp4 [ This component has long description ] 如果简写为
    [] comp4 [ This component has long description ] 字符串解析其实是没疑问的,但实际上会报错。而改写为 [comp4 This component has long description ] 则会把 'comp4' 也作为内容渲染出来。显然是不对的。

    同样比如在已知 sequenceDiagram 的情况下

    activate Pintora 和 deactivate Pintora 是否能使用相同的 !Pintora 切换,或者至少允许 !Pintora 和 !!Pintora 作为简写

    @note left of ==> @nl 或者 @< 或者 @====< (等号任意多) @note right of ==> @nr 或者 @> 或者 @====> @end_note.==> @@

    其它还有挺多可以简写的

    opened by kaikaiiiiiii 4
  • Using alt, loop or par in certain sequence diagrams generate excessive whitespace

    Using alt, loop or par in certain sequence diagrams generate excessive whitespace

    Desired behavior

    While using the alt, loop or par keywords in flow diagrams, the content of the generated boxes fit correctly.

    Actual behavior

    If an alt, loop or par blocks contain some components (self arrows seem to make it worse?), the generated box contains excessive whitespace.

    Replication

    Code

    The following Pintora diagram (input.pintora) displays the problem:

    sequenceDiagram
      participant [<box> service_1] as "Service 1"
      participant [<box> service_2] as "Service 2"
      participant [<box> service_3] as "Service 3"
      participant [<box> service_4] as "Service 4"
      service_1->>+service_2: req 0.........
      == some divider ==
      par #ffffff one
        service_2->>+service_3: .........req 1...........
        service_3->>+service_4: .........req 2...........
        service_4->>service_4: req 4
        service_4->>-service_3: req 3
        service_3->>-service_2: req 5
        service_2->>service_2: req 6
      end
      service_2->>-service_1: 
    

    Commands

    ➜  documentation-pintora node --version
    v14.15.0
    ➜  documentation-pintora pintora --version
    0.6.1
    ➜  documentation-pintora pintora render --input input.pintora --output output.png
    ✔ Render success, saved to output.png         
    

    Output

    output

    Live editor

    Link

    opened by VictorPato 3
  • fix(deps): update docusaurus monorepo to v2.1.0

    fix(deps): update docusaurus monorepo to v2.1.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @docusaurus/core | 2.0.1 -> 2.1.0 | age | adoption | passing | confidence | | @docusaurus/module-type-aliases | 2.0.1 -> 2.1.0 | age | adoption | passing | confidence | | @docusaurus/preset-classic | 2.0.1 -> 2.1.0 | age | adoption | passing | confidence | | @docusaurus/theme-common | 2.0.1 -> 2.1.0 | age | adoption | passing | confidence |


    Release Notes

    facebook/docusaurus

    v2.1.0

    Compare Source

    :rocket: New Feature
    • docusaurus-theme-classic, docusaurus-theme-common
      • #​8008 feat(theme): ability to use <DocCardList> without items prop, on any doc page (@​slorber)
    • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • docusaurus-theme-translations
    :bug: Bug Fix
    :nail_care: Polish
    • docusaurus-theme-classic
    • docusaurus-utils
      • #​7941 feat(core): add new Webpack file-loader extensions: avif, mov, mkv, mpg, avi... (@​slorber)
    • docusaurus-theme-classic, docusaurus-types
      • #​7942 feat(theme-classic): use lang attribute in navbar locale dropdown items (@​slorber)
    • docusaurus-theme-translations
    :memo: Documentation
    • create-docusaurus
    • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-theme-classic
    Committers: 10

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 3
  • chore(deps): update jest monorepo to v29 (major)

    chore(deps): update jest monorepo to v29 (major)

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @types/jest | ^28.1.0 -> ^29.0.0 | age | adoption | passing | confidence | | jest (source) | ^28.1.3 -> ^29.0.0 | age | adoption | passing | confidence | | jest-environment-jsdom | ^28.0.2 -> ^29.0.0 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 3
  • chore(deps): update dependency esbuild to ^0.15.0

    chore(deps): update dependency esbuild to ^0.15.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | esbuild | ^0.14.45 -> ^0.15.0 | age | adoption | passing | confidence |


    Release Notes

    evanw/esbuild

    v0.15.1

    Compare Source

    • Update esbuild's Yarn Plug'n'Play implementation to match the latest specification changes (#​2452, #​2453)

      This release updates esbuild's implementation of Yarn Plug'n'Play to match some changes to Yarn's specification that just landed. The changes are as follows:

      • Check for platform-specific absolute paths instead of always for the / prefix

        The specification previously said that Yarn Plug'n'Play path resolution rules should not apply for paths that start with /. The intent was to avoid accidentally processing absolute paths. However, absolute paths on Windows such as C:\project start with drive letters instead of with /. So the specification was changed to instead explicitly avoid processing absolute paths.

      • Make $$virtual an alias for __virtual__

        Supporting Yarn-style path resolution requires implementing a custom Yarn-specific path traversal scheme where certain path segments are considered no-ops. Specifically any path containing segments of the form __virtual__/<whatever>/<n> where <n> is an integer must be treated as if they were n times the .. operator instead (the <whatever> path segment is ignored). So /path/to/project/__virtual__/xyz/2/foo.js maps to the underlying file /path/to/project/../../foo.js. This scheme makes it possible for Yarn to get node (and esbuild) to load the same file multiple times (which is sometimes required for correctness) without actually duplicating the file on the file system.

        However, old versions of Yarn used to use $$virtual instead of __virtual__. This was changed because $$virtual was error-prone due to the use of the $ character, which can cause bugs when it's not correctly escaped within regular expressions. Now that esbuild makes $$virtual an alias for __virtual__, esbuild should now work with manifests from these old Yarn versions.

      • Ignore PnP manifests in virtual directories

        The specification describes the algorithm for how to find the Plug'n'Play manifest when starting from a certain point in the file system: search through all parent directories in reverse order until the manifest is found. However, this interacts poorly with virtual paths since it can end up finding a virtual copy of the manifest instead of the original. To avoid this, esbuild now ignores manifests in virtual directories so that the search for the manifest will continue and find the original manifest in another parent directory later on.

      These fixes mean that esbuild's implementation of Plug'n'Play now matches Yarn's implementation more closely, and esbuild can now correctly build more projects that use Plug'n'Play.

    v0.15.0

    Compare Source

    This release contains backwards-incompatible changes. Since esbuild is before version 1.0.0, these changes have been released as a new minor version to reflect this (as recommended by npm). You should either be pinning the exact version of esbuild in your package.json file or be using a version range syntax that only accepts patch upgrades such as ~0.14.0. See the documentation about semver for more information.

    • Implement the Yarn Plug'n'Play module resolution algorithm (#​154, #​237, #​1263, #​2451)

      Node comes with a package manager called npm, which installs packages into a node_modules folder. Node and esbuild both come with built-in rules for resolving import paths to packages within node_modules, so packages installed via npm work automatically without any configuration. However, many people use an alternative package manager called Yarn. While Yarn can install packages using node_modules, it also offers a different package installation strategy called Plug'n'Play, which is often shortened to "PnP" (not to be confused with pnpm, which is an entirely different unrelated package manager).

      Plug'n'Play installs packages as .zip files on your file system. The packages are never actually unzipped. Since Node doesn't know anything about Yarn's package installation strategy, this means you can no longer run your code with Node as it won't be able to find your packages. Instead, you need to run your code with Yarn, which applies patches to Node's file system APIs before running your code. These patches attempt to make zip files seem like normal directories. When running under Yarn, using Node's file system API to read ./some.zip/lib/file.js actually automatically extracts lib/file.js from ./some.zip at run-time as if it was a normal file. Other file system APIs behave similarly. However, these patches don't work with esbuild because esbuild is not written in JavaScript; it's a native binary executable that interacts with the file system directly through the operating system.

      Previously the workaround for using esbuild with Plug'n'Play was to use the @yarnpkg/esbuild-plugin-pnp plugin with esbuild's JavaScript API. However, this wasn't great because the plugin needed to potentially intercept every single import path and file load to check whether it was a Plug'n'Play package, which has an unusually high performance cost. It also meant that certain subtleties of path resolution rules within a .zip file could differ slightly from the way esbuild normally works since path resolution inside .zip files was implemented by Yarn, not by esbuild (which is due to a limitation of esbuild's plugin API).

      With this release, esbuild now contains an independent implementation of Yarn's Plug'n'Play algorithm (which is used when esbuild finds a .pnp.js, .pnp.cjs, or .pnp.data.json file in the directory tree). Creating additional implementations of this algorithm recently became possible because Yarn's package manifest format was recently documented: https://yarnpkg.com/advanced/pnp-spec/. This should mean that you can now use esbuild to bundle Plug'n'Play projects without any additional configuration (so you shouldn't need @yarnpkg/esbuild-plugin-pnp anymore). Bundling these projects should now happen much faster as Yarn no longer even needs to be run at all. Bundling the Yarn codebase itself with esbuild before and after this change seems to demonstrate over a 10x speedup (3.4s to 0.24s). And path resolution rules within Yarn packages should now be consistent with how esbuild handles regular Node packages. For example, fields such as module and browser in package.json files within .zip files should now be respected.

      Keep in mind that this is brand new code and there may be some initial issues to work through before esbuild's implementation is solid. Yarn's Plug'n'Play specification is also brand new and may need some follow-up edits to guide new implementations to match Yarn's exact behavior. If you try this out, make sure to test it before committing to using it, and let me know if anything isn't working as expected. Should you need to debug esbuild's path resolution, you may find --log-level=verbose helpful.


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 3
  • fix(deps): update docusaurus monorepo to v2.0.1

    fix(deps): update docusaurus monorepo to v2.0.1

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @docusaurus/core | 2.0.0-rc.1 -> 2.0.1 | age | adoption | passing | confidence | | @docusaurus/module-type-aliases | 2.0.0-rc.1 -> 2.0.1 | age | adoption | passing | confidence | | @docusaurus/preset-classic | 2.0.0-rc.1 -> 2.0.1 | age | adoption | passing | confidence | | @docusaurus/theme-common | 2.0.0-rc.1 -> 2.0.1 | age | adoption | passing | confidence |


    Release Notes

    facebook/docusaurus

    v2.0.1

    Compare Source

    Fix bad npm publish of 2.0.0

    Committers: 1

    v2.0.0

    Compare Source

    Bad npm publish, please use 2.0.1

    :nail_care: Polish
    Committers: 2

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 3
  • chore(deps): update dependency vite to v3

    chore(deps): update dependency vite to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | vite | ^2.9.13 -> ^3.0.0 | age | adoption | passing | confidence |


    Release Notes

    vitejs/vite

    v3.0.0

    Compare Source

    Main Changes

    Vite 3 is out! Read the Vite 3 Annoucement blog post

    • New docs theme using VitePress v1 alpha: https://vitejs.dev
    • Vite CLI
      • The default dev server port is now 5173, with the preview server starting at 4173.
      • The default dev server host is now localhost instead of 127.0.0.1.
    • Compatibility
      • Vite no longer supports Node v12, which reached its EOL. Node 14.18+ is now required.
      • Vite is now published as ESM, with a CJS proxy to the ESM entry for compatibility.
      • The Modern Browser Baseline now targets browsers which support the native ES Modules and native ESM dynamic import and import.meta.
      • JS file extensions in SSR and lib mode now use a valid extension (js, mjs, or cjs) for output JS entries and chunks based on their format and the package type.
    • Architecture changes
      • Vite now avoids full reload during cold start when imports are injected by plugins in while crawling the initial statically imported modules (#​8869).
      • Vite uses ESM for the SSR build by default, and previous SSR externalization heuristics are no longer needed.
    • import.meta.glob has been improved, read about the new features in the Glob Import Guide
    • The WebAssembly import API has been revised to avoid collisions with future standards. Read more in the WebAssembly guide
    • Improved support for relative base.
    • Experimental Features
    • Bundle size reduction
      • Terser is now an optional dependency. If you use build.minify: 'terser', you'll need to install it (npm add -D terser)
      • node-forge moved out of the monorepo to @​vitejs/plugin-basic-ssl
    • Options that were already deprecated in v2 have been removed.

    Note Before updating, check out the migration guide from v2

    Features
    Bug Fixes
    Previous Changelogs
    3.0.0-beta.10 (2022-07-11)

    See 3.0.0-beta.10 changelog

    3.0.0-beta.9 (2022-07-08)

    See 3.0.0-beta.9 changelog

    3.0.0-beta.8 (2022-07-08)

    See 3.0.0-beta.8 changelog

    3.0.0-beta.7 (2022-07-06)

    See 3.0.0-beta.7 changelog

    3.0.0-beta.6 (2022-07-04)

    See 3.0.0-beta.6 changelog

    3.0.0-beta.5 (2022-06-28)

    See 3.0.0-beta.5 changelog

    3.0.0-beta.4 (2022-06-27)

    See 3.0.0-beta.4 changelog

    3.0.0-beta.3 (2022-06-26)

    See 3.0.0-beta.3 changelog

    3.0.0-beta.2 (2022-06-24)

    See 3.0.0-beta.2 changelog

    3.0.0-beta.1 (2022-06-22)

    See 3.0.0-beta.1 changelog

    3.0.0-beta.0 (2022-06-21)

    See 3.0.0-beta.0 changelog

    3.0.0-alpha.14 (2022-06-20)

    See 3.0.0-alpha.14 changelog

    3.0.0-alpha.13 (2022-06-19)

    See 3.0.0-alpha.13 changelog

    3.0.0-alpha.12 (2022-06-16)

    See 3.0.0-alpha.12 changelog

    3.0.0-alpha.11 (2022-06-14)

    See 3.0.0-alpha.11 changelog

    3.0.0-alpha.10 (2022-06-10)

    See 3.0.0-alpha.10 changelog

    3.0.0-alpha.9 (2022-06-01)

    See 3.0.0-alpha.9 changelog

    3.0.0-alpha.8 (2022-05-31)

    See 3.0.0-alpha.8 changelog

    3.0.0-alpha.7 (2022-05-27)

    See 3.0.0-alpha.7 changelog

    3.0.0-alpha.6 (2022-05-27)

    See 3.0.0-alpha.6 changelog

    3.0.0-alpha.5 (2022-05-26)

    See 3.0.0-alpha.5 changelog

    3.0.0-alpha.4 (2022-05-25)

    See 3.0.0-alpha.4 changelog

    3.0.0-alpha.3 (2022-05-25)

    See 3.0.0-alpha.3 changelog

    3.0.0-alpha.2 (2022-05-23)

    See 3.0.0-alpha.2 changelog

    3.0.0-alpha.1 (2022-05-18)

    See 3.0.0-alpha.1 changelog

    3.0.0-alpha.0 (2022-05-13)

    See 3.0.0-alpha.0 changelog


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 3
  • Quoted entity names

    Quoted entity names

    Could it be possible to enable usage of quotes as enetity names in erDiagram? Mermaid forces me to use it if there is a special character or a space while here I must do many renames. Thank you

    opened by mpes 1
  • chore(deps): update dependency jest-junit to v15

    chore(deps): update dependency jest-junit to v15

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | jest-junit | ^13.2.0 -> ^15.0.0 | age | adoption | passing | confidence |


    Release Notes

    jest-community/jest-junit

    v15.0.0

    Compare Source

    Remove invalid ESC control sequence from XML output https://github.com/jest-community/jest-junit/pull/230 - by @​stevenxu-db

    v14.0.1

    Compare Source

    Prevent unnecessary duplicate test cases by @​azzlack - https://github.com/jest-community/jest-junit/pull/221

    v14.0.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 2
  • chore(deps): update dependency cypress to v11

    chore(deps): update dependency cypress to v11

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | cypress | ^10.7.0 -> ^11.0.0 | age | adoption | passing | confidence |


    Release Notes

    cypress-io/cypress

    v11.2.0

    Compare Source

    Changelog: https://docs.cypress.io/guides/references/changelog#​11-2-0

    v11.1.0

    Compare Source

    Changelog: https://docs.cypress.io/guides/references/changelog#​11-1-0

    v11.0.1

    Compare Source

    Changelog: https://docs.cypress.io/guides/references/changelog#​11-0-1

    v11.0.0

    Compare Source

    Changelog: https://docs.cypress.io/guides/references/changelog#​11-0-0


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 2
  • fix(deps): update docusaurus monorepo to v2.2.0

    fix(deps): update docusaurus monorepo to v2.2.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @docusaurus/core | 2.1.0 -> 2.2.0 | age | adoption | passing | confidence | | @docusaurus/module-type-aliases | 2.1.0 -> 2.2.0 | age | adoption | passing | confidence | | @docusaurus/preset-classic | 2.1.0 -> 2.2.0 | age | adoption | passing | confidence | | @docusaurus/theme-common | 2.1.0 -> 2.2.0 | age | adoption | passing | confidence |


    Release Notes

    facebook/docusaurus

    v2.2.0

    Compare Source

    :rocket: New Feature
    • docusaurus-plugin-client-redirects
    • docusaurus
    • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-mermaid, docusaurus-types, docusaurus
    • docusaurus-types, docusaurus
    :bug: Bug Fix
    • docusaurus-plugin-ideal-image
    • docusaurus-theme-common
    • docusaurus-plugin-content-docs
      • #​8234 fix(plugin-content-docs): fix error message context (error cause) when doc processing fails (@​shanpriyan)
    • docusaurus-theme-classic, docusaurus-theme-translations
    • docusaurus-theme-classic, docusaurus-theme-common
      • #​8204 fix(theme-classic): fix SkipToContent without JS , refactor, make it public theming API (@​mturoci)
      • #​8059 fix(theme): preserve url ?search#hash on navbar version/locale dropdowns navigations (@​slorber)
    • docusaurus
    • docusaurus-theme-classic
    • docusaurus-utils
    • docusaurus-theme-translations
    • docusaurus-plugin-client-redirects
    :nail_care: Polish
    Committers: 22

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 2
  • chore(deps): update node.js to v18

    chore(deps): update node.js to v18

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | node | | major | v16 -> 18 | age | adoption | passing | confidence | | @types/node (source) | devDependencies | major | ^16.11.7 -> ^18.0.0 | age | adoption | passing | confidence | | @types/node (source) | dependencies | major | ^16.11.7 -> ^18.0.0 | age | adoption | passing | confidence |


    Release Notes

    nodejs/node

    v18.12.1: 2022-11-04, Version 18.12.1 'Hydrogen' (LTS), @​juanarbol

    Compare Source

    This is a security release.

    Notable changes

    The following CVEs are fixed in this release:

    • CVE-2022-3602: X.509 Email Address 4-byte Buffer Overflow (High)
    • CVE-2022-3786: X.509 Email Address Variable Length Buffer Overflow (High)
    • CVE-2022-43548: DNS rebinding in --inspect via invalid octal IP address (Medium)

    More detailed information on each of the vulnerabilities can be found in November 2022 Security Releases blog post.

    Commits

    v18.12.0: 2022-10-25, Version 18.12.0 'Hydrogen' (LTS), @​ruyadorno and @​RafaelGSS

    Compare Source

    Notable Changes

    This release marks the transition of Node.js 18.x into Long Term Support (LTS) with the codename 'Hydrogen'. The 18.x release line now moves into "Active LTS" and will remain so until October 2023. After that time, it will move into "Maintenance" until end of life in April 2025.

    v18.11.0: 2022-10-13, Version 18.11.0 (Current), @​danielleadams

    Compare Source

    Notable changes
    watch mode (experimental)

    Running in 'watch' mode using node --watch restarts the process when an imported file is changed.

    Contributed by Moshe Atlow in #​44366

    Other notable changes
    • fs:
      • (SEMVER-MINOR) add FileHandle.prototype.readLines (Antoine du Hamel) #​42590
    • http:
      • (SEMVER-MINOR) add writeEarlyHints function to ServerResponse (Wing) #​44180
    • http2:
      • (SEMVER-MINOR) make early hints generic (Yagiz Nizipli) #​44820
    • lib:
      • (SEMVER-MINOR) refactor transferable AbortSignal (flakey5) #​44048
    • src:
      • (SEMVER-MINOR) add detailed embedder process initialization API (Anna Henningsen) #​44121
    • util:
      • (SEMVER-MINOR) add default value option to parsearg (Manuel Spigolon) #​44631
    Commits

    v18.10.0: 2022-09-28, Version 18.10.0 (Current), @​RafaelGSS

    Compare Source

    Notable changes
    • doc:
      • (SEMVER-MINOR) deprecate modp1, modp2, and modp5 groups (Tobias Nießen) #​44588
      • add legendecas to TSC list (Michael Dawson) #​44662
      • move policy docs to the permissions scope (Rafael Gonzaga) #​44222
    • gyp:
      • libnode for ios app embedding (chexiongsheng) #​44210
    • http:
      • (SEMVER-MINOR) throw error on content-length mismatch (sidwebworks) #​44588
    • stream:
      • (SEMVER-MINOR) add ReadableByteStream.tee() (Daeyeon Jeong) #​44505
    Commits

    v18.9.1: 2022-09-23, Version 18.9.1 (Current), @​RafaelGSS

    Compare Source

    This is a security release.

    Notable changes

    The following CVEs are fixed in this release:

    • CVE-2022-32212: DNS rebinding in --inspect on macOS (High)
      • Insufficient fix for macOS devices on v18.5.0
    • CVE-2022-32222: Node 18 reads openssl.cnf from /home/iojs/build/ upon startup on MacOS (Medium)
    • CVE-2022-32213: HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)
      • Insufficient fix on v18.5.0
    • CVE-2022-32215: HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)
      • Insufficient fix on v18.5.0
    • CVE-2022-35256: HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)
    • CVE-2022-35255: Weak randomness in WebCrypto keygen

    More detailed information on each of the vulnerabilities can be found in September 22nd 2022 Security Releases blog post.

    llhttp updated to 6.0.10

    llhttp is updated to 6.0.10 which includes fixes for the following vulnerabilities.

    • HTTP Request Smuggling - CVE-2022-32213 bypass via obs-fold mechanic (Medium)(CVE-2022-32213 ): The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
    • HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)(CVE-2022-32215): The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
    • HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)(CVE-35256): The llhttp parser in the http does not correctly handle header fields that are not terminated with CLRF. This can lead to HTTP Request Smuggling (HRS).
    Commits

    v18.9.0: 2022-09-08, Version 18.9.0 (Current), @​RafaelGSS

    Compare Source

    Notable changes
    • doc
      • add daeyeon to collaborators (Daeyeon Jeong) #​44355
    • lib
      • (SEMVER-MINOR) add diagnostics channel for process and worker (theanarkh) #​44045
    • os
      • (SEMVER-MINOR) add machine method (theanarkh) #​44416
    • report
      • (SEMVER-MINOR) expose report public native apis (Chengzhong Wu) #​44255
    • src
      • (SEMVER-MINOR) expose environment RequestInterrupt api (Chengzhong Wu) #​44362
    • vm
      • include vm context in the embedded snapshot (Joyee Cheung) #​44252
    Commits

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 2
Releases(v0.6.2)
  • v0.6.2(Sep 28, 2022)

    What's Changed

    • chore(deps): update dependency vite-plugin-pwa to ^0.13.0 by @renovate in https://github.com/hikerpig/pintora/pull/152
    • fix: [sequenceDiagram] excessive box width bug by @hikerpig in https://github.com/hikerpig/pintora/pull/154
    • ts isolated modules and eslint by @hikerpig in https://github.com/hikerpig/pintora/pull/155
    • fix demo editor style by @hikerpig in https://github.com/hikerpig/pintora/pull/156
    • feat: support title: text for some diagrams by @hikerpig in https://github.com/hikerpig/pintora/pull/157

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.6.1...v0.6.2

    Source code(tar.gz)
    Source code(zip)
  • v0.6.1(Sep 17, 2022)

    What's Changed

    • fix: [dotDiagram] diamond shape rendering in canvas by @hikerpig in https://github.com/hikerpig/pintora/pull/137
    • chore(deps): update dependency esbuild to ^0.15.0 by @renovate in https://github.com/hikerpig/pintora/pull/139
    • chore: set codecov minimum coverage to 90% by @hikerpig in https://github.com/hikerpig/pintora/pull/141
    • fix: parsing error of '\r\n' by @hikerpig in https://github.com/hikerpig/pintora/pull/142
    • chore(deps): update pnpm to v7.9.3 by @renovate in https://github.com/hikerpig/pintora/pull/130
    • fix(deps): update docusaurus monorepo to v2.0.1 by @renovate in https://github.com/hikerpig/pintora/pull/131
    • chore(deps): update jest monorepo to v29 (major) by @renovate in https://github.com/hikerpig/pintora/pull/144
    • chore: update pnpm action-setup args, set --strict-peer-dependencies=false by @hikerpig in https://github.com/hikerpig/pintora/pull/146
    • chore: upgrade typescript to 4.8.3 and other devDependencies by @hikerpig in https://github.com/hikerpig/pintora/pull/147
    • fix(deps): update docusaurus monorepo to v2.1.0 by @renovate in https://github.com/hikerpig/pintora/pull/145
    • fix(cli): ReferenceError: CanvasPattern is not defined by @hikerpig in https://github.com/hikerpig/pintora/pull/149

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.6.0...v0.6.1

    Source code(tar.gz)
    Source code(zip)
  • v0.6.0(Aug 6, 2022)

    Changelog

    Minor Changes

    • 87f80b1: feat: add dotDiagram

    Patch Changes

    • 3e8325c: optimize: adjust er diagram width when minEntityWidth is larger than attributes width sum
    • ac510ed: optimize: erDiagram can have '{}' with 0 attributes
    • 9b8785d: optimize: [componentDiagram] component "desc" as alias
    • a997bee: feat: [dotDiagra] some common node shapes
    • bbc9fb0: optimize: [dotDiagram] edge and node border style
    • 240e0af: optimize: [sequence] classifier fallback if there is no symbol icon
    • c9476a7: feat: [dotDiagram] more attributes; and default theme canvasBackground is now white
      • add arrowhead shape and bg color
      • add font family and size
    • 426f251: feat: [dotDiagram] add a shorthand node grammar
    • 9385a0f: optimize: dot subgraph should have a min width of its label
    • beecc00: fix: [sequence] actor order bug, #127
    • d5c27a1: optimize: [dotDiagram] support edge between subgraph and node, update test data
    • Updated dependencies [c9476a7]
    • Updated dependencies [87f80b1]

    Pull Requests

    • chore: fix demo deps build and upgrade some deps by @hikerpig in https://github.com/hikerpig/pintora/pull/121
    • chore: foresight test kit by @hikerpig in https://github.com/hikerpig/pintora/pull/122
    • feat: [dotDiagram] add a shorthand node grammar by @hikerpig in https://github.com/hikerpig/pintora/pull/123
    • feat: [dotDiagram] more attributes; and default theme canvasBackground by @hikerpig in https://github.com/hikerpig/pintora/pull/125
    • chore(deps): update pnpm to v7.7.1 by @renovate in https://github.com/hikerpig/pintora/pull/124
    • feat: [dotDiagra] add some common node shapes by @hikerpig in https://github.com/hikerpig/pintora/pull/126
    • fix: [sequence] actor order bug by @hikerpig in https://github.com/hikerpig/pintora/pull/128
    • optimize: [sequence] classifier fallback if there is no symbol icon by @hikerpig in https://github.com/hikerpig/pintora/pull/129
    • fix(deps): update docusaurus monorepo to v2.0.0-rc.1 by @renovate in https://github.com/hikerpig/pintora/pull/115
    • optimize: dot subgraph should have a min width of its label by @hikerpig in https://github.com/hikerpig/pintora/pull/133
    • optimize: [componentDiagram] subgraph minwidth by @hikerpig in https://github.com/hikerpig/pintora/pull/134
    • optimize: [dotDiagram] support edge between subgraph and node by @hikerpig in https://github.com/hikerpig/pintora/pull/135
    • optimize: [dotDiagram] edge and node border style by @hikerpig in https://github.com/hikerpig/pintora/pull/136

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.6.0-alpha.0...v0.6.0

    Source code(tar.gz)
    Source code(zip)
  • v0.6.0-alpha.0(Jul 18, 2022)

    New Diagram

    In this alpha release, I've created a crude dotDiagram as a tiny tiny subset of the great GraphViz. It has many limitations but still, a good start.

    See the docs for more details.

    image

    Changelog

    Minor Changes

    • 87f80b1: feat: add dotDiagram

    Patch Changes

    • 3e8325c: optimize: adjust er diagram width when minEntityWidth is larger than attributes width sum
    • ac510ed: optimize: erDiagram can have '{}' with 0 attributes
    • 6174d92: chore: update pintora-renderer deps

    Pull Requests

    • fix(deps): update codemirror to v6 (major) by @renovate in https://github.com/hikerpig/pintora/pull/95
    • fix(deps): update dependency throttle-debounce to v5 by @renovate in https://github.com/hikerpig/pintora/pull/71
    • chore: update pintora-renderer deps by @hikerpig in https://github.com/hikerpig/pintora/pull/96
    • chore: upgrade pnpm to 7 and node-version to v16 by @hikerpig in https://github.com/hikerpig/pintora/pull/99
    • chore: update docusaurus monorepo to v2.0.0-beta.21 by @hikerpig in https://github.com/hikerpig/pintora/pull/101
    • chore: add missing dep 'esbuild' by @hikerpig in https://github.com/hikerpig/pintora/pull/103
    • chore: upload test report to foresight by @hikerpig in https://github.com/hikerpig/pintora/pull/106
    • optimize erDiagram parser and table width by @hikerpig in https://github.com/hikerpig/pintora/pull/109
    • feat(demo): copy code editor url for sharing by @hikerpig in https://github.com/hikerpig/pintora/pull/111
    • chore(deps): update pnpm to v7.4.0 by @renovate in https://github.com/hikerpig/pintora/pull/104
    • feat(demo): dark mode for live-editor by @hikerpig in https://github.com/hikerpig/pintora/pull/113
    • fix(deps): update dependency browser-fs-access to ^0.31.0 by @renovate in https://github.com/hikerpig/pintora/pull/108
    • chore(deps): update dependency vite to v3 by @renovate in https://github.com/hikerpig/pintora/pull/117
    • optimize: [componentDiagram] component "desc" as alias by @hikerpig in https://github.com/hikerpig/pintora/pull/118
    • chore: upgrade some dev dependencies by @hikerpig in https://github.com/hikerpig/pintora/pull/119
    • chore(deps): update pnpm to v7.5.2 by @renovate in https://github.com/hikerpig/pintora/pull/116
    • feat: add dotDiagram by @hikerpig in https://github.com/hikerpig/pintora/pull/120

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.5.2...v0.6.0-alpha.0

    Source code(tar.gz)
    Source code(zip)
  • v0.5.2(Jul 18, 2022)

    Changelog

    Patch Changes

    • 817ce38: feat: add diagram event callback system
    • 77ad349: optimize: add @pintora/diagrams/shared-grammars so others can use them
    • 3c75c6a: feat: change @pintora/core export shapes
    • Updated dependencies [3c75c6a]

    Pull Requests

    • docs: custom diagram tutorial, using nearley as parser generator by @hikerpig in https://github.com/hikerpig/pintora/pull/82
    • fix(deps): update react monorepo to v18 (major) by @renovate in https://github.com/hikerpig/pintora/pull/79
    • chore(deps): update pnpm to v6.32.18 by @renovate in https://github.com/hikerpig/pintora/pull/84
    • fix(deps): update codemirror to ^0.20.0 by @renovate in https://github.com/hikerpig/pintora/pull/50
    • feat: add diagram event callback system by @hikerpig in https://github.com/hikerpig/pintora/pull/86
    • chore(deps): update dependency @types/jest to v28 by @renovate in https://github.com/hikerpig/pintora/pull/88
    • Optimize diagram event manager by @hikerpig in https://github.com/hikerpig/pintora/pull/89
    • chore(deps): update dependency husky to v8 by @renovate in https://github.com/hikerpig/pintora/pull/75
    • feat: change @pintora/core export shapes by @hikerpig in https://github.com/hikerpig/pintora/pull/92
    • chore(deps): update dependency cypress to v10 by @hikerpig in https://github.com/hikerpig/pintora/pull/93
    • chore(deps): update dependency lint-staged to v13 by @renovate in https://github.com/hikerpig/pintora/pull/91

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.5.1...v0.5.2

    Source code(tar.gz)
    Source code(zip)
  • v0.5.1(May 14, 2022)

    Changelog

    Patch Changes

    • 98992e2: optimize: options getContent() for pintora.getContentOf
    • Updated dependencies [fc12ccb]

    Pull Requests

    • chore: [ci] add cypress record key to ci by @hikerpig in https://github.com/hikerpig/pintora/pull/74
    • optimize: options getContent() and resultContainer for pintora.getContentOf by @hikerpig in https://github.com/hikerpig/pintora/pull/76
    • docs: Corrected typos by @im-zeeshan in https://github.com/hikerpig/pintora/pull/78
    • optimize(development-kit): specify executeCommand rather than 'npx' by @hikerpig in https://github.com/hikerpig/pintora/pull/77

    New Contributors

    • Special thanks goes to @im-zeeshan for correcting a typo in https://github.com/hikerpig/pintora/pull/78 . And maybe it's time for me to start looking for a spell checker in Vim 🤔.

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.5.0...v0.5.1

    Source code(tar.gz)
    Source code(zip)
  • v0.5.0(May 9, 2022)

    Highlights

    Participants Boxes for Sequence Diagram

    pintora-sequence-participant-box

    Changelogs

    0.5.0

    Minor Changes

    • f22f85c: feat: [sequence] add participant boxes
      • fix: actor line start offset

    Patch Changes

    • 35c6103: optimize: add method pintoraStandalone.getConfigFromElement
    • 76d45d5: optimize: improve orthogonal edge by reducing bendpoints under some conditions
    • Updated dependencies [87ad4ab]
    • Updated dependencies [76d45d5]

    Pull Requests

    • optimize: [activity] support ortho edgeType by @hikerpig in https://github.com/hikerpig/pintora/pull/48
    • chore(deps): update dependency prettier to v2.6.2 by @renovate in https://github.com/hikerpig/pintora/pull/55
    • chore(deps): update dependency microbundle to ^0.15.0 by @renovate in https://github.com/hikerpig/pintora/pull/54
    • chore(deps): update dependency vite-plugin-pwa to ^0.12.0 by @renovate in https://github.com/hikerpig/pintora/pull/56
    • fix(deps): update dependency browser-fs-access to ^0.29.0 by @renovate in https://github.com/hikerpig/pintora/pull/58
    • chore(deps): update dependency @types/react to v18 by @renovate in https://github.com/hikerpig/pintora/pull/59
    • chore(deps): update jest monorepo to v28 (major) by @renovate in https://github.com/hikerpig/pintora/pull/60
    • fix(deps): update dependency mdx-embed to ^0.0.23 by @renovate in https://github.com/hikerpig/pintora/pull/52
    • fix(deps): update dependency jsdom to v19 by @renovate in https://github.com/hikerpig/pintora/pull/67
    • fix(deps): update dependency mdx-embed to v1 by @renovate in https://github.com/hikerpig/pintora/pull/68
    • optimize: add method pintoraStandalone.getConfigFromElement by @hikerpig in https://github.com/hikerpig/pintora/pull/70
    • fix(deps): update dependency react-redux to v8 by @renovate in https://github.com/hikerpig/pintora/pull/69
    • feat: [sequence] add participant boxes by @hikerpig in https://github.com/hikerpig/pintora/pull/73
    Source code(tar.gz)
    Source code(zip)
  • v0.4.3(Apr 27, 2022)

    0.4.3

    Highlight, er diagram inheritance

    Patch Changes

    • 3d99b10: feat: [er] parse and draw inheritance to present extended er diagram
    • 8216f4d: optimize: [er] can parse and display attribute comment

    Pull Requests

    • optimize: [er] can parse attribute comment by @hikerpig in https://github.com/hikerpig/pintora/pull/43
    • feat: [er] parse and draw inheritance to present extended er diagram by @hikerpig in https://github.com/hikerpig/pintora/pull/45
    Source code(tar.gz)
    Source code(zip)
  • v0.4.0(Apr 12, 2022)

    Highlights

    Add edgeType param to some of the dagre layout diagrams, introducing a new value ortho to support orthogonal edges.

    @param edgeType ortho
    

    ortho example

    BREAKING CHANGES

    • remove curvedEdge param, should replace with: 1. @param curvedEdge false -> @param edgeType polyline 2. @param curvedEdge true -> @param edgeType curved

    Changelogs

    0.4.0

    Minor Changes

    • 5f3c738: BREAKING replace curvedEdge option with edgeType and support orthogonal lines

    Patch Changes

    • 5f68ca7: optimize: [gantt] adjust section label to section background vertical center
    • c9f6409: optimize: [sequence] apply extraMarginForBox if follows one message drawn with sequence number

    Pull Requests

    • fix(demo): service worker error by @hikerpig in https://github.com/hikerpig/pintora/pull/28
    • feat(demo): save and load code from filesystem by @hikerpig in https://github.com/hikerpig/pintora/pull/29
    • [sequence] fix activation error, and optimize dividerMargin by @hikerpig in https://github.com/hikerpig/pintora/pull/30
    • BREAKING replace curvedEdge option with edgeType and support orthogonal lines by @hikerpig in https://github.com/hikerpig/pintora/pull/31
    • add more docs about gantt diagram by @hikerpig in https://github.com/hikerpig/pintora/pull/32
    • optimize: [component] support edgeType by @hikerpig in https://github.com/hikerpig/pintora/pull/33
    • chore(demo): upgrade react to 18.0.0 by @hikerpig in https://github.com/hikerpig/pintora/pull/34
    • optimize: [sequence] apply extraMarginForBox if follows one message drawn with sequence number by @hikerpig in https://github.com/hikerpig/pintora/pull/35
    • optimize: [gantt] adjust section label to section vertical center by @hikerpig in https://github.com/hikerpig/pintora/pull/36

    Full Changelog: https://github.com/hikerpig/pintora/compare/@pintora/[email protected]

    Source code(tar.gz)
    Source code(zip)
  • @pintora/[email protected](Apr 6, 2022)

    Feature

    • First implementation of Gantt diagram by @hikerpig in https://github.com/hikerpig/pintora/pull/26

    Go to the documentation for a quick glance.

    gantt example

    Optimize

    • optimize(pintora-diagrams): improve parser performance by eliminating some ambiguity by @hikerpig in https://github.com/hikerpig/pintora/pull/25

    Misc

    • chore(website): add carbon ads to website and demo by @hikerpig in https://github.com/hikerpig/pintora/pull/22

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.2.0...@pintora/[email protected]

    Source code(tar.gz)
    Source code(zip)
  • @pintora/[email protected](Mar 11, 2022)

    What's Changed

    • optimize(pintora-diagrams): improve parser performance by eliminating some ambiguity by @hikerpig in https://github.com/hikerpig/pintora/pull/25

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.2.0...@pintora/[email protected]

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Feb 21, 2022)

    What's Changed

    • docs: name actions in simple example correctly by @floriangosse in https://github.com/hikerpig/pintora/pull/16
    • [ci] modify github workflow to be compatible with pnpm by @hikerpig in https://github.com/hikerpig/pintora/pull/17
    • Optimize grammar rules by @hikerpig in https://github.com/hikerpig/pintora/pull/19
    • feat(pintora-daigrams): support useMaxWidth option for some diagrams by @hikerpig in https://github.com/hikerpig/pintora/pull/21

    New Contributors

    • @thebergamo and @floriangosse made their first contribution in https://github.com/hikerpig/pintora/pull/14 and https://github.com/hikerpig/pintora/pull/16

    Full Changelog: https://github.com/hikerpig/pintora/compare/v0.1.1...v0.2.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Feb 6, 2022)

    This is the first ready version of pintora.

    We have 5 builtin diagrams, and some basic syntax conventions such as

    1. directive that starts with @
    2. comment that starts with %%

    More diagrams and features are coming next.

    Source code(tar.gz)
    Source code(zip)
Plugin that lets you create diagrams from textual representation (aka 'Diagrams as Code') within Logseq

Logseq - Diagrams as Code Plugin that lets you create diagrams (and other visualizations) from textual representation (aka 'Diagrams as Code') within

Nicolai P. Großer 80 Dec 21, 2022
A JavaScript library for visualizing Sankey diagrams.

SanKEY.js v1.0.0 last updated: 20.07.2022 Getting started SanKEY.js is a JavaScript data visualization library that provides a simple object-oriented

Krzysztof Zdąbłasz 12 Nov 8, 2022
A lightweight SolidJS component for building interactive node-based diagrams and graphs.

Convert Your Ideas To Graphs With Solid Graph! Solid Graph A lightweight and minimal Solid component for building interactive graphs and node-based ed

Ali Sal 26 Dec 8, 2022
A lightweight SolidJS component for building interactive node-based diagrams and graphs.

Convert Your Ideas To A Simple And Excitig Journay With Odysea! Odysea A lightweight and minimal Solid component for building interactive graphs and n

Ali Sal 21 Aug 15, 2022
Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance

Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence.

Meta 12.7k Dec 30, 2022
A lightweight, powerful and highly extensible templating engine. In the browser or on Node.js, with or without jQuery.

JsRender: best-of-breed templating Simple and intuitive, powerful and extensible, lightning fast For templated content in the browser or on Node.js (w

Boris Moore 2.7k Jan 2, 2023
Hacktoberfest is all about meeting up all brains. In this repository we are planning to come with many ideas and works. You all can share your ides/works here.

Hacktoberfest Submit your Work Hacktoberfest is all about meeting up all brains. In this repository we are planning to come with many ideas and works.

Chinmay Patil 3 Oct 5, 2022
An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

Snyk Labs 57 Dec 28, 2022
A CLI tool to embed interactive PUML diagrams to your github markdown files.

puml-for-markdown Simple CLI Usage Just run puml-for-markdown in any directory where you have markdown files and it will render links to PlantUML file

Daniel 208 Jan 3, 2023
Babel-plugin-amd-checker - Module format checking plugin for Babel usable in both Node.js the web browser environments.

babel-plugin-amd-checker A Babel plugin to check the format of your modules when compiling your code using Babel. This plugin allows you to abort the

Ferdinand Prantl 1 Jan 6, 2022
Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Stable Diffusion UI Easiest way to install and use Stable Diffusion on your own computer. No dependencies or technical knowledge required. 1-click ins

null 3.5k Dec 30, 2022
A flexible and extensible javascript library for letters animation simulations.

LetterLoading LetterLoading js is a javascript library for making awesome letter simulations. It default simulation is a letter loading simulation. Co

kelvinsekx 5 Mar 22, 2022
👀 A Node.js event emitter works in the browser

observer-emit ?? A Node.js event emitter works in the browser. Install using npm $ npm i observer-emit using yarn $ yarn add observer-emit using pnpm

Akashi 3 Jul 2, 2022
A lightweight JavaScript library that renders text in a brilliant style by displaying strings of random characters before the actual text.

cryptoWriter.js A lightweight javascript library which creates brilliant text animation by rendering strings of random characters before the actual te

Keshav Bajaj 2 Sep 13, 2022
Beautiful errors for Remix, both in browser and console

Rekindled Beautiful errors for Remix, both in browser and console. This project is inspired by php's ignition. I am personally in love with the idea o

FYN Software 22 Nov 22, 2022
Airtable for TypeScript and JavaScript (ES7, ES6, ES5). Supports Airtable database. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

TypeAirtable is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be

Think A.M. 11 Sep 11, 2022
Complete, flexible, extensible and easy to use page transition library for your static web.

We're looking for maintainers! Complete, flexible, extensible and easy to use page transition library for your static web. Here's what's new in v2. Ch

null 3.7k Jan 2, 2023
Tiny and powerful JavaScript full-text search engine for browser and Node

MiniSearch MiniSearch is a tiny but powerful in-memory fulltext search engine written in JavaScript. It is respectful of resources, and it can comfort

Luca Ongaro 2k Jan 3, 2023
Snowfall effect written in pure JavaScript. No additional libraries, no dependencies. Works in every modern browser.

pureSnow.js Snow falling slowly on a winter night. Probably the most calming and peaceful snowfall effect written in pure JS/CSS. (No SCSS). Inspired

null 20 Dec 29, 2022