New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@layerzerolabs/git-conflicts-parser

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerzerolabs/git-conflicts-parser - npm Package Compare versions

Comparing version 3.0.8-aptos.0 to 3.0.8

6

CHANGELOG.md
# @layerzerolabs/git-conflicts-parser
## 3.0.8
### Patch Changes
- 1cd5e8e: support READ library
## 3.0.7

@@ -4,0 +10,0 @@

6

package.json
{
"name": "@layerzerolabs/git-conflicts-parser",
"version": "3.0.8-aptos.0",
"version": "3.0.8",
"description": "Git conflicts parser Library",

@@ -29,4 +29,4 @@ "license": "BUSL-1.1",

"@jest/globals": "^29.7.0",
"@layerzerolabs/tsup-config-next": "^3.0.8-aptos.0",
"@layerzerolabs/typescript-config-next": "^3.0.8-aptos.0",
"@layerzerolabs/tsup-config-next": "^3.0.8",
"@layerzerolabs/typescript-config-next": "^3.0.8",
"@types/jest": "^29.5.10",

@@ -33,0 +33,0 @@ "jest": "^29.7.0",

@@ -16,2 +16,3 @@ # @layerzerolabs/git-conflicts-parser

### Using NPM
```sh

@@ -21,9 +22,10 @@ npm install @layerzerolabs/git-conflicts-parser

## Usage
## Usage
Below is an example of how to use the `@layerzerolabs/git-conflicts-parser` package to parse content with Git conflict markers.
Example
```javascript
const parser = require('@layerzerolabs/git-conflicts-parser');
const parser = require("@layerzerolabs/git-conflicts-parser");

@@ -66,6 +68,6 @@ const EXAMPLE = `

for (const block of result.blocks) {
console.log(block);
console.log(block);
}
```
In this example, the parser.parse function is used to parse a string containing Git conflict markers. The result contains blocks of code that represent the conflicting sections. You can iterate over these blocks to inspect or resolve the conflicts.
In this example, the parser.parse function is used to parse a string containing Git conflict markers. The result contains blocks of code that represent the conflicting sections. You can iterate over these blocks to inspect or resolve the conflicts.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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