Socket
Socket
Sign inDemoInstall

esniff

Package Overview
Dependencies
8
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

2.0.1

Diff

Changelog

Source

2.0.1 (2024-02-21)

Bug Fixes

  • Fix release of operator char trigger event (1309a18)
medikoo
published 2.0.0 •

Changelog

Source

2.0.0 (2024-02-19)

⚠ BREAKING CHANGES

  • Main esniff interface changed from code, trigger, callback to code, executor where executor function is provided with emitter that provides access to internal parsing process
  • Property and variable names resolution now respects ES2015+ language rules instead of ES5
  • Utilties were moved:
    • ensure-string-literal.js -> utils/ensure-string-literal.js
    • is-string-literal.js -> utils/is-string-literal.js
    • is-var-name-valid.js -> utils/is-variable-name.js

Features

  • Replace parser with state machine based event driven variant (0d9bf17)
  • Support ES2015 template strings syntax (4016496)
  • Upgrade variable and property name patterns to ES2015+ (7f2f4ab)

Maintenance Improvements

  • Move basic utils into utils directory (afc6ddf)
  • Refactor stripComments to rely on main parser (6d2dd7f)
  • Rely on type package instead of es5-ext (2a79744)
medikoo
published 1.1.3 •

Changelog

Source

1.1.3 (2024-01-04)

Maintenance Improvements

  • Improve isVarNameValid internals (82138c2)
medikoo
published 1.1.2 •

Changelog

Source

1.1.2 (2024-01-04)

Maintenance Improvements

medikoo
published 1.1.1 •

Changelog

Source

1.1.1 (2024-01-04)

Bug Fixes

  • Ensure to detect Windows EOL (\r\n) as single EOL (72a17fe)
  • Fix column indexing in move function (3c0a6cb)

Maintenance Improvements

  • Declare support for Node.js v0.10+ (1eba1d6)
  • ESLint suggested improvements (d7c65ef)
  • Extract regular expression patterns into modules (1b12cbe)
  • Fix reference links in source code comments (4787424)
  • Replace xlint configuration with eslint (f434553)
  • Switch LICENSE from MIT to ISC (cc33510)

Changelog for previous versions

See CHANGES file

medikoo
published 1.1.0 •

Changelog

Source

1.1.1 (2024-01-04)

Bug Fixes

  • Ensure to detect Windows EOL (\r\n) as single EOL (72a17fe)
  • Fix column indexing in move function (3c0a6cb)

Maintenance Improvements

  • Declare support for Node.js v0.10+ (1eba1d6)
  • ESLint suggested improvements (d7c65ef)
  • Extract regular expression patterns into modules (1b12cbe)
  • Fix reference links in source code comments (4787424)
  • Replace xlint configuration with eslint (f434553)
  • Switch LICENSE from MIT to ISC (cc33510)

Changelog for previous versions

See CHANGES file

medikoo
published 1.0.0 •

medikoo
published 0.1.1 •

medikoo
published 0.1.0 •

medikoo
published 0.0.0 •

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