@layerzerolabs/git-conflicts-parser
Advanced tools
Comparing version 3.0.8-aptos.0 to 3.0.8
# @layerzerolabs/git-conflicts-parser | ||
## 3.0.8 | ||
### Patch Changes | ||
- 1cd5e8e: support READ library | ||
## 3.0.7 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
66792
1
71
1391