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

@jsdotlua/diff-sequences

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsdotlua/diff-sequences

  • 3.6.1-rc.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

diff-sequences

Status: :heavy_check_mark: Ported

Source: https://github.com/facebook/jest/tree/v27.4.7/packages/diff-sequences

Version: v27.4.7


:pencil2: Notes

  • :x: Property tests and performance tests from upstream are not included.
  • :warning: Lua does not allow indexing into strings, the consumer is expected to handle the input types in isCommon and foundSubsequence.
    • A stringToArray function is implemented to convert input strings to arrays for tests.
    • Substring tests are done using arrays of characters instead. The substring comparison methods are omitted.
  • Lua is 1 indexed so array indices are replaced with index + 1.
  • Uses of NOT_YET_SET are replaced with just a 0 since this is a JS-specific workaround.
  • Lua treats 0 as a true value so nChange || baDeltaLength needs to be written as nChange ~= 0 and nChange or baDeltaLength.

:x: Excluded

perf
src/index.property.test.ts

:package: Dependencies

PackageVersionStatusNotes

FAQs

Package last updated on 04 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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