Skip to content
Snippets Groups Projects
Commit 32bec503 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

Merge branch 'MONSTER/-/4c648cd8-cce8-4a85-a16a-64daf486b04a' into 'master'

Next Release

See merge request oss/libraries/javascript/monster!42
parents f077f3dd e3e0250f
No related branches found
No related tags found
No related merge requests found
Showing
with 844 additions and 809 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -10,28 +10,28 @@
"author": "schukai GmbH",
"license": "see LICENSE file",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/cli": "^7.17.0",
"@babel/preset-modules": "^0.1.5",
"@peculiar/webcrypto": "^1.2.3",
"btoa": "^1.2.1",
"c8": "^7.10.0",
"chai": "^4.3.4",
"c8": "^7.11.0",
"chai": "^4.3.6",
"chai-dom": "^1.11.0",
"clean-jsdoc-theme": "^3.3.1",
"crypt": "^0.0.2",
"flow-bin": "^0.168.0",
"flow-bin": "^0.171.0",
"fs": "^0.0.1-security",
"jsdoc": "^3.6.7",
"jsdoc": "^3.6.10",
"jsdoc-plantuml": "^1.0.2",
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"sinon": "^12.0.1",
"uglify-js": "^3.14.5",
"sinon": "^13.0.1",
"uglify-js": "^3.15.0",
"uglifycss": "^0.0.29",
"url": "^0.11.0",
"url-exist": "2.0.0",
"util": "^0.12.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
}
}
......@@ -2,7 +2,32 @@
All notable changes to this project will be documented in this file.
## [1.29.0] - 2021-12-
## [1.30.0] - 2022-02-05
## Added
- [new class DeadMansSwitch](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/115)
## [1.29.3] - 2022-01-23
## Fixed
- [CSSStyleSheet polyfill throws an error](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113)
## [1.29.2] - 2022-01-22
## Fixed
- [CSSStyleSheet polyfill throws an error](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113)
## [1.29.1] - 2022-01-07
## Fixed
- [TypeError: element.addNode is not a function](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/112)
## [1.29.0] - 2021-12-29
## Added
......@@ -17,7 +42,6 @@ All notable changes to this project will be documented in this file.
- [new function fireCustomEvent](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/108)
## [1.28.0] - 2021-12-11
## Added
......
......@@ -40,7 +40,7 @@ For some functions you need additional [polyfills](#polyfill).
<script type="module">
import {
Monster
} from 'https://unpkg.com/@schukai/monster@1.29.0/dist/modules/monster.js';
} from 'https://unpkg.com/@schukai/monster@1.30.0/dist/modules/monster.js';
let id = document.getElementById('version');
id.innerHTML = Monster.getVersion();
</script>
......@@ -51,8 +51,8 @@ For some functions you need additional [polyfills](#polyfill).
`nomodule` for backwards compatibility
```
<script type="module" src="https://unpkg.com/@schukai/monster@1.29.0/dist/modules/monster.js"></script>
<script nomodule src="https://unpkg.com/@schukai/monster@1.29.0/dist/monster.js"></script>
<script type="module" src="https://unpkg.com/@schukai/monster@1.30.0/dist/modules/monster.js"></script>
<script nomodule src="https://unpkg.com/@schukai/monster@1.30.0/dist/monster.js"></script>
```
### Polyfill
......
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{Monster}from"./namespace.js";const internalSymbol=Symbol("internalData"),internalStateSymbol=Symbol("state");export{Monster,internalSymbol,internalStateSymbol};
\ No newline at end of file
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{Base}from"../types/base.js";class AbstractConstraint extends Base{constructor(){super()}isValid(s){return Promise.reject(s)}}assignToNamespace("Monster.Constraints",AbstractConstraint);export{Monster,AbstractConstraint};
\ No newline at end of file
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{AbstractConstraint}from"./abstract.js";class AbstractOperator extends AbstractConstraint{constructor(t,r){if(super(),!(t instanceof AbstractConstraint&&r instanceof AbstractConstraint))throw new TypeError("parameters must be from type AbstractConstraint");this.operantA=t,this.operantB=r}}assignToNamespace("Monster.Constraints",AbstractOperator);export{Monster,AbstractOperator};
\ No newline at end of file
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{AbstractOperator}from"./abstractoperator.js";class AndOperator extends AbstractOperator{isValid(r){return Promise.all([this.operantA.isValid(r),this.operantB.isValid(r)])}}assignToNamespace("Monster.Constraints",AndOperator);export{Monster,AndOperator};
\ No newline at end of file
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{AbstractConstraint}from"./abstract.js";class Invalid extends AbstractConstraint{isValid(s){return Promise.reject(s)}}assignToNamespace("Monster.Constraints",Invalid);export{Monster,Invalid};
\ No newline at end of file
/** Monster 1.29.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.30.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{isArray}from"../types/is.js";import{AbstractConstraint}from"./abstract.js";class IsArray extends AbstractConstraint{isValid(s){return isArray(s)?Promise.resolve(s):Promise.reject(s)}}assignToNamespace("Monster.Constraints",IsArray);export{Monster,IsArray};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment