Skip to content

Commit

Permalink
fix(deps): bump domain-objects for literal
Browse files Browse the repository at this point in the history
  • Loading branch information
uladkasach committed Aug 1, 2024
1 parent 2fbbc55 commit a1ca74a
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 39 deletions.
230 changes: 196 additions & 34 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"postinstall": "[ -d .git ] && npx husky install || exit 0"
},
"dependencies": {
"domain-objects": "^0.13.2",
"domain-objects": "^0.22.1",
"with-simple-caching": "^0.11.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/logic/normalizers/normalizeDomainObjectReferences.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DomainEntity, DomainValueObject } from 'domain-objects';
import { DomainEntity, DomainLiteral } from 'domain-objects';

import {
getCacheReferenceKeyForDomainObject,
Expand All @@ -20,7 +20,7 @@ interface Geocode {
latitude: number;
longitude: number;
}
class Geocode extends DomainValueObject<Geocode> implements Geocode {}
class Geocode extends DomainLiteral<Geocode> implements Geocode {}

describe('getCacheReferenceKeyForDomainObject', () => {
it('should define a good looking key for an example domain entity', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/logic/wrappers/withNormalization.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
DomainEntity,
DomainValueObject,
DomainLiteral,
deserialize,
serialize,
} from 'domain-objects';
Expand Down Expand Up @@ -29,7 +29,7 @@ interface Geocode {
latitude: number;
longitude: number;
}
class Geocode extends DomainValueObject<Geocode> implements Geocode {}
class Geocode extends DomainLiteral<Geocode> implements Geocode {}

describe('withNormalization', () => {
beforeEach(() => jest.clearAllMocks());
Expand Down

0 comments on commit a1ca74a

Please sign in to comment.