Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bazooka

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bazooka - npm Package Versions

23

0.9.1

Diff

Changelog

Source

0.9.1

  • :wrench: [fixed] component was not disposed when parent node is removed from a page (#46)
zemlanin
published 0.9.0 •

Changelog

Source

0.9.0

/* (old) sync call */
<div data-bazooka="init-time">
    will be called on `Bazooka.refresh()` / `Bazooka.watch()`
</div>

/* (new) async call */
<div data-bazooka="init-time" data-baz-async="viewport">
    will be called when in viewport
</div>
zemlanin
published 0.8.0 •

Changelog

Source

0.8.0

  • :x: [removed] Baz.h.getAttrs(node). Use Baz.h.getAttrs(prefix, node) or Baz.h.getAttrs(prefix)(node) instead (deprecated since 0.4.1)
  • :wrench: [fixed] parsing pretty/multiline JSON (like {\n"a": 1\n}) by Baz.h.getAttrs:
// node = <div data-baz-json='{\n"a": 1\n}' />

Baz.h.getAttrs('baz', node).json
// prior 0.8.0
//    => '{\n"a": 1\n}'

// after 0.8.0
//    => { "a": 1 }
zemlanin
published 0.7.0 •

Changelog

Source

0.7.0

Hot Reload

  • :heavy_plus_sign: [added] return dispose functions from bazFunc
  • :heavy_plus_sign: [added] Bazooka.rebind to update already bound bazFuncs
  • :heavy_plus_sign: [added] BazookaWrapper.prototype.HMRState to preserve state between hot reloads
zemlanin
published 0.7.0-1 •

zemlanin
published 0.7.0-0 •

zemlanin
published 0.6.1 •

Changelog

Source

0.6.1

  • :wrench: [changed] rethrow first exception from Bazooka.refresh
zemlanin
published 0.6.0 •

Changelog

Source

0.6.0

  • :heavy_plus_sign: [added] wrapped bazFunc calls into try/catch
zemlanin
published 0.5.0 •

Changelog

Source

0.5.0

  • :x: [removed] MutationObserver and Function.prototype.bind polyfills
zemlanin
published 0.4.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