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

@sanity/diff-match-patch

Package Overview
Dependencies
Maintainers
33
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/diff-match-patch - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

lib/cjs/diff/bisect.cjs.d.ts

2

package.json
{
"name": "@sanity/diff-match-patch",
"version": "0.0.1",
"version": "0.0.2",
"description": "Robust diff, match and patch algorithms to perform operations required for synchronizing plain text",

@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.cjs",

@@ -22,2 +22,7 @@ // Changes extensions of built code from `.js` to `.cjs`

const fromDtsPath = jsPath.replace(/\.js$/, '.d.ts')
const toDtsPath = jsPath.replace(/\.js$/, '.cjs.d.ts')
fs.renameSync(fromDtsPath, toDtsPath)
console.log(`${fromDtsPath} => ${toDtsPath}`)
const fromMapPath = jsPath.replace(/\.js$/, '.js.map')

@@ -24,0 +29,0 @@ const mapPath = jsPath.replace(/\.js$/, '.cjs.map')

{
"include": ["src/**/*"],
"exclude": ["src/**/__tests__"],
"exclude": ["src/**/__tests__", "src/**/*.test.ts"],
"compilerOptions": {

@@ -5,0 +5,0 @@ "lib": ["ES2020"],

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