Socket
Socket
Sign inDemoInstall

capnp-ts

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capnp-ts - npm Package Versions

2

0.7.0

Diff

Changelog

Source

0.7.0 (2021-08-19)

⚠ BREAKING CHANGES

  • capnpc-js is being retired in favor of compiling directly to js from capnpc-ts instead. This makes the one compiler serve both purposes; js-only users who are annoyed by the extra d.ts files may simply delete them. This was done to work around bugs in source-map-support that prevent importing capnp.js files when a capnp.ts file is also present.

Bug Fixes

  • support imports with nested enums (64778e0)
jdiaz5513
published 0.6.0 •

Changelog

Source

0.6.0 (2021-08-19)

⚠ BREAKING CHANGES

  • capnpc-js is being retired in favor of compiling directly to js from capnpc-ts instead. This makes the one compiler serve both purposes; js-only users who are annoyed by the extra d.ts files may simply delete them. This was done to work around bugs in source-map-support that prevent importing capnp.js files when a capnp.ts file is also present.

Bug Fixes

  • support imports with nested enums (64778e0)
jdiaz5513
published 0.5.1 •

Changelog

Source

0.5.1 (2021-08-18)

Bug Fixes

  • resolve build failures and readme inaccuracies (#165) (0114b10)
  • run ci workflow on master (68a9c8d)
  • use correct branch in cd workflow (1664197)
jdiaz5513
published 0.5.0 •

Changelog

Source

0.5.0 (2021-08-18)

Bug Fixes

  • upgrade outdated packages, revert to makefile (#159) (c629dad)

<a name="0.4.0"></a>

jdiaz5513
published 0.4.0 •

Changelog

Source

0.4.0 (2018-09-26)

Bug Fixes

Features

  • compiler: add support for capnpc v0.7.0 (#110) (22bd14d)

<a name="0.3.1"></a>

jdiaz5513
published 0.3.0 •

Changelog

Source

0.3.0 (2018-08-29)

Bug Fixes

  • build: avoid use of debug script for capnpc build step (#101) (f1d606a)
  • build: hoist js-examples to packages directory (#103) (8604fec)
  • compiler: change order of comment and tslint:disable (#94) (b37a342)
  • add debug as direct dependency of capnpc-ts (#105) (90643ce)
  • serialization: set instance variables before they may be referenced (#106) (21deff5)

Features

  • compiler: implement remaining serialization features (#98) (524b6bd)

<a name="0.2.4"></a>

jdiaz5513
published 0.2.4 •

Changelog

Source

0.2.4 (2017-11-24)

Bug Fixes

  • build: do not emit UMD modules (#87) (157d1d9)

    <a name="0.2.3"></a>
    
jdiaz5513
published 0.2.0 •

Changelog

Source

0.2.0

The message factory functions have been integrated into a revamped message constructor.

capnp.Message.fromArrayBuffer(buf);       // 0.1.6
new capnp.Message(buf, false);            // >=0.2.0

capnp.Message.fromPackedArrayBuffer(buf); // 0.1.6
new capnp.Message(buf);                   // >=0.2.0

capnp.Message.fromBuffer(buf);            // 0.1.6
new capnp.Message(buf, false);            // >=0.2.0

capnp.Message.fromPackedBuffer(buf);      // 0.1.6
new capnp.Message(buf);                   // >=0.2.0

capnp.Message.fromSegmentBuffer(buf);     // 0.1.6
new capnp.Message(buf, false, true);      // >=0.2.0

Many other methods that were intended to be private are also no longer exposed on their classes, and private members have been moved to _capnp properties on all Pointer types.

Don't touch anything inside _capnp!

jdiaz5513
published 0.1.6 •

jdiaz5513
published 0.1.5 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc