Skip to content

Commit

Permalink
Update dependency @cruglobal/godtools-shared to ~1.1.0 (#209)
Browse files Browse the repository at this point in the history
* Update dependency @cruglobal/godtools-shared to ~1.1.0

* update object mocks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Frett <[email protected]>
  • Loading branch information
renovate[bot] and frett authored Jan 8, 2025
1 parent e4e030a commit 12e732d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@angular/platform-browser": "^17.3.12",
"@angular/platform-browser-dynamic": "^17.3.12",
"@angular/router": "^17.3.12",
"@cruglobal/godtools-shared": "~1.0.1",
"@cruglobal/godtools-shared": "~1.1.0",
"@rails/actioncable": "~8.0.0",
"core-js": "^3.39.0",
"lottie-web": "^5.12.2",
Expand Down
24 changes: 7 additions & 17 deletions src/app/_tests/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,10 @@ const standardTypeValues = () => {
};

const createText = (text: string): Text => {
return {
text: text,
textAlign: {
name: 'START',
ordinal: 0
},
textColor: '#000000',
textScale: null,
_textStyles: [],
minimumLines: null,
startImage: null,
startImageSize: null,
endImage: null,
endImageSize: null,
textStyles: null,
...standardTypeValues()
};
return org.cru.godtools.shared.tool.parser.model.Text.createTestText(
null,
text
);
};

const createEventId = (name: string, namespace?: string): EventId => {
Expand Down Expand Up @@ -418,6 +405,9 @@ export const mockTractPage = (
id: '1',
position,
parentPage: null,
parentPageParams: null,
nextPage: null,
previousPage: null,
isHidden: false,
_modals: null,
findModal: null,
Expand Down
14 changes: 4 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1234,12 +1234,11 @@
resolved "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz"
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==

"@cruglobal/godtools-shared@~1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@cruglobal/godtools-shared/-/godtools-shared-1.0.1.tgz#bc8f21f080624a728bf9ee68027bf9e5db593a31"
integrity sha512-nfO3+ynlq8L7n35APg/EgC4hvHHSBaidqQzpSgTkP1Os9HCHtQOymPgSaU+FA/Uyic7oaIr9w7Nt5vITybDHmw==
"@cruglobal/godtools-shared@~1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@cruglobal/godtools-shared/-/godtools-shared-1.1.0.tgz#42dd6a89e36dc8bb669b947fc9fe93736e82b179"
integrity sha512-IfmYpMDV+ozMjRj7JVrPS3oIJ++KnK2WmaxEJeHTl+BJpw27O8j8xcClF9JcQ8A5p+s6INM4kyt93xMdAkJsgw==
dependencies:
format-util "^1.0.5"
sax "1.2.4"

"@discoveryjs/[email protected]":
Expand Down Expand Up @@ -4133,11 +4132,6 @@ foreground-child@^3.1.0:
cross-spawn "^7.0.0"
signal-exit "^4.0.1"

format-util@^1.0.5:
version "1.0.5"
resolved "https://registry.npmjs.org/format-util/-/format-util-1.0.5.tgz"
integrity sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg==

[email protected]:
version "0.2.0"
resolved "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz"
Expand Down

0 comments on commit 12e732d

Please sign in to comment.