Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
#dist
dist-ssr
*.local

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All changes to this project are documented in this file.

## v2.0.0

- Error handling changes:
- for a faulty field (ex. wrong date format) behavior has changed:
- it won't throw an error, but mark field type as 'error' and the detailed error will be in the field 'error'.
- dataString attribute will contain the raw value.
- isValid field is introduced to flag if any field has parsing issue
- not field related error: ex. invalid AI number will throw an error
- fix UTC date parsing

## v1.5.0

### Added
Expand Down
1 change: 1 addition & 0 deletions dist/index.cjs

Large diffs are not rendered by default.

608 changes: 608 additions & 0 deletions dist/index.d.cts

Large diffs are not rendered by default.

608 changes: 608 additions & 0 deletions dist/index.d.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valentynb/gs1-parser",
"version": "1.5.0",
"version": "2.0.0",
"description": "A TypeScript GS1 barcode parser for logistics and supply chain applications.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -51,4 +51,4 @@
"vite": "^7.2.2",
"vitest": "^4.0.9"
}
}
}
Loading