@schukai/monster 4.154.8 → 4.154.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/source/types/version.mjs +2 -2
- package/test/cases/monster.mjs +13 -19
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","exports":{".":"./source/monster.mjs","./CHANGELOG.md":"./CHANGELOG.md","./LICENSE":"./LICENSE","./README.md":"./README.md","./package.json":"./package.json","./source/*":"./source/*","./test/*":"./test/*"},"files":["source","test/cases","test/util","CHANGELOG.md"],"homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"sideEffects":["./source/monster.mjs","./source/components/**","./source/i18n/**","./test/**"],"type":"module","version":"4.154.
|
|
1
|
+
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","exports":{".":"./source/monster.mjs","./CHANGELOG.md":"./CHANGELOG.md","./LICENSE":"./LICENSE","./README.md":"./README.md","./package.json":"./package.json","./source/*":"./source/*","./test/*":"./test/*"},"files":["source","test/cases","test/util","CHANGELOG.md"],"homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"sideEffects":["./source/monster.mjs","./source/components/**","./source/i18n/**","./test/**"],"type":"module","version":"4.154.9"}
|
package/source/types/version.mjs
CHANGED
|
@@ -155,8 +155,8 @@ function getMonsterVersion() {
|
|
|
155
155
|
return monsterVersion;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
/**
|
|
159
|
-
monsterVersion = new Version("4.
|
|
158
|
+
/** Managed by the release script; keep synchronized with package.json. */
|
|
159
|
+
monsterVersion = new Version("4.154.9");
|
|
160
160
|
|
|
161
161
|
return monsterVersion;
|
|
162
162
|
}
|
package/test/cases/monster.mjs
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import {expect} from "chai"
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
it('should ' + monsterVersion + ' is ' + m, function () {
|
|
15
|
-
expect(m.compareTo(monsterVersion)).is.equal(0);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
});
|
|
19
|
-
|
|
1
|
+
import { expect } from "chai";
|
|
2
|
+
import packageData from "../../package.json" with { type: "json" };
|
|
3
|
+
import { Version, getMonsterVersion } from "../../source/types/version.mjs";
|
|
4
|
+
|
|
5
|
+
describe("Monster", () => {
|
|
6
|
+
describe(".getMonsterVersion()", () => {
|
|
7
|
+
it("should match the package version", () => {
|
|
8
|
+
const packageVersion = new Version(packageData.version);
|
|
9
|
+
const monsterVersion = getMonsterVersion();
|
|
10
|
+
|
|
11
|
+
expect(monsterVersion.compareTo(packageVersion)).to.equal(0);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
20
14
|
});
|