Socket
Socket
Sign inDemoInstall

sourcebuster

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1.1.0

Diff

alex.fedoseev
published 1.0.5 •

Changelog

Source

1.0.5

Features:

  • added t.co (host: 't.co', display: 'twitter.com') and plus.url.google.com (host: 'plus.url.google.com', display: 'plus.google.com') to default referral sources. You still can override it by your custom setting (to mark it as social for example).
alex.fedoseev
published 1.0.4 •

Changelog

Source

1.0.4

Fixes:

  • fixed IE8 bug
alex.fedoseev
published 1.0.3 •

Changelog

Source

1.0.3

Fixes:

  • fixed month in dates (sbjs.get.first_add.fd & sbjs.get.current_add.fd): it was -1 from actual one
alex.fedoseev
published 1.0.2 •

Changelog

Source

1.0.2

Fixes:

  • fixed validation of lifetime, session_length and timezone_offset params
alex.fedoseev
published 1.0.1 •

alex.fedoseev
published 1.0.0 •

Changelog

Source

1.0.0

Upgrade guide · Updated documentation

Changes:

Major

Minor

  • Changed default timezone from UTC to user's system (default — means no custom value provided during sbjs initialization).

Under the hood

  • In short: mess became structure. Check the sources if interested.
  • Added migration tool, which updates visitor's cookies to 1.x.x.
  • Changed params delimiter in cookies: from | to |||. Cookies will be automatically upgraded by migration tool without data loss. You don't have to worry about this change unless you parse these cookies by yourself.

Features:

  • Added callback option to set custom function, which will be executed right after sbjs cookies will be set. This function will get sbjs.get-object as argument (it contains all detected sbjs data).
  • Added ability to set custom cookies expiration period
  • Added term detection from Yandex Direct traffic (if there is no utm_term in URL)
  • Added visits counter: available through sbjs.get.udata.vst
  • Added pages counter for current session: available through sbjs.get.session.pgs
  • Added current page url for current session: available through sbjs.get.session.cpg
  • And Sourcebuster 1.0.0 available as CommonJS / AMD module.
alex.fedoseev
published 1.0.0-beta •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc