{"_id":"@delbio/automata","_rev":"9-935bac0ba72a01902a3cfbb9503d5aa1","name":"@delbio/automata","dist-tags":{"1.1.1":"1.1.1","1.1.2":"1.1.2","latest":"2.0.1"},"versions":{"1.1.1":{"name":"@delbio/automata","version":"1.1.1","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","_id":"@delbio/automata@1.1.1","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"homepage":"https://bitbucket.org/delbiolabs/automaton-js","bugs":{"url":"https://bitbucket.org/delbiolabs/automaton-js/issues","email":"delbio87@gmail.com"},"dist":{"shasum":"071936533e3be9d4926b65e4b1b3063b423c18f7","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-1.1.1.tgz","integrity":"sha512-hWP2W74NKzbFbpppnxAofU5Y9PohEMTNc91AwPApRAhPZOx+O8favVtAA1l3dmUj680ucvhzbBtemVa3l3HfyA==","signatures":[{"sig":"MEYCIQCJ+eaMNisYBsI5RLVfjtdyV04mg8Q2Vy3Db1kRb2tsCAIhAPpso446f3lmiXU08fJJ3kyzhXTPN8M42GT1okVF2NJz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"__tests__/.*\\.jest\\.test\\.ts$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"mapCoverage":true,"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"moduleFileExtensions":["ts","js","json"],"coveragePathIgnorePatterns":["/__tests__/","/node_modules/"]},"main":"./dist/esm/index.js","types":"./dist/esm/types/index.d.ts","scripts":{"test":"jest","build":"npm run clean && npm run build:es5 && npm run build:esm && npm run build:umd","clean":"shx rm -rf dist && shx echo Done","prepare":"npm run build && npm test","release":"standard-version","coverage":"npm test -- --coverage --no-cache","build:es5":"tsc -m commonjs --outDir ./dist/commonjs","build:esm":"tsc -m es6 --outDir ./dist/esm","build:umd":"webpack","test:watch":"npm test -- --watch","coverage:watch":"npm run coverage -- --watch"},"_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"repository":{"url":"git+https://delbio@bitbucket.org/delbiolabs/automaton-js.git","type":"git"},"description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","licenseText":"MIT License\n\nCopyright (c) 2017 Fabio Del Bene\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{},"devDependencies":{"shx":"^0.2.2","jest":"^21.2.1","ts-jest":"^21.2.4","webpack":"^3.10.0","typescript":"^2.6.2","@types/jest":"^21.1.8","@types/node":"^8.0.54","@types/webpack":"^3.8.1","standard-version":"^4.2.0","clean-webpack-plugin":"^0.1.17","webpack-node-externals":"^1.6.0","awesome-typescript-loader":"^3.4.1"},"standard-version":{"skip":{"tag":true,"commit":true}},"_npmOperationalInternal":{"tmp":"tmp/automata-1.1.1.tgz_1512429876066_0.7675295313820243","host":"s3://npm-registry-packages"},"directories":{}},"1.1.2":{"name":"@delbio/automata","version":"1.1.2","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","_id":"@delbio/automata@1.1.2","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"homepage":"https://github.com/delbio/automata","bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"dist":{"shasum":"cc5547c23c1a4f2c09fb4375b42b04312e69de46","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-1.1.2.tgz","integrity":"sha512-POzYQ5e/q4nSej7zDPq/KnChKWHIvE/0yBY0/qtMgI/VaP9ZALz9AlJa0X0H329b24VOI3j15MPoN2CG1ACYtg==","signatures":[{"sig":"MEYCIQDyNeQVlgL3KiqVKX+tja9TZAdlc05eYYG16KJopW6lzQIhAMSlrA5l/QOou5Vz/x6QC7s0Jeekq1HU+aEUWNFWoHnI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"__tests__/.*\\.jest\\.test\\.ts$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"mapCoverage":true,"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"moduleFileExtensions":["ts","js","json"],"coveragePathIgnorePatterns":["/__tests__/","/node_modules/"]},"main":"./dist/esm/index.js","types":"./dist/esm/types/index.d.ts","scripts":{"test":"jest","build":"npm run clean && npm run build:es5 && npm run build:esm && npm run build:umd","clean":"shx rm -rf dist && shx echo Done","prepare":"npm run build && npm test","release":"standard-version","coverage":"npm test -- --coverage --no-cache","build:es5":"tsc -m commonjs --outDir ./dist/commonjs","build:esm":"tsc -m es6 --outDir ./dist/esm","build:umd":"webpack","test:watch":"npm test -- --watch","coverage:watch":"npm run coverage -- --watch"},"_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"repository":{"url":"git+https://github.com/delbio/automata.git","type":"git"},"description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","licenseText":"MIT License\n\nCopyright (c) 2017 Fabio Del Bene\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{},"devDependencies":{"shx":"^0.2.2","jest":"^21.2.1","ts-jest":"^21.2.4","webpack":"^3.10.0","typescript":"^2.6.2","@types/jest":"^21.1.8","@types/node":"^8.0.54","@types/webpack":"^3.8.1","standard-version":"^4.2.0","clean-webpack-plugin":"^0.1.17","webpack-node-externals":"^1.6.0","awesome-typescript-loader":"^3.4.1"},"standard-version":{"skip":{"tag":true,"commit":true}},"_npmOperationalInternal":{"tmp":"tmp/automata-1.1.2.tgz_1512460162101_0.6165125218685716","host":"s3://npm-registry-packages"},"directories":{}},"1.1.3":{"name":"@delbio/automata","version":"1.1.3","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","_id":"@delbio/automata@1.1.3","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"homepage":"https://github.com/delbio/automata","bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"dist":{"shasum":"6a7ba40a8e1c10d1ab20ee8e1afade314aa0e385","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-1.1.3.tgz","integrity":"sha512-hezbsWb+np+mDYCjcDtnW4UEQGmOBAaMRRhM0z66aXxMUJDy8xrVd+N2VINTzE9YEjiB2M2R6Wz5f4o9Hz8YFw==","signatures":[{"sig":"MEQCIEOuvdiD7jUUziPQjYNZM6Qr8pIdQe8UOM/mBKFEj12bAiBrGqpuESQiSokw+t2e7ifFNnZwxZzyq18YPG+nKXTVYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"__tests__/.*\\.jest\\.test\\.ts$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"mapCoverage":true,"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"moduleFileExtensions":["ts","js","json"],"coveragePathIgnorePatterns":["/__tests__/","/node_modules/"]},"main":"./dist/esm/index.js","types":"./dist/esm/types/index.d.ts","gitHead":"2c68815bd2623a081a6cf651a81d417579d66419","scripts":{"test":"jest","build":"npm run clean && npm run build:es5 && npm run build:esm && npm run build:umd","clean":"shx rm -rf dist && shx echo Done","prepare":"npm run build && npm test","release":"standard-version","coverage":"npm test -- --coverage --no-cache","build:es5":"tsc -m commonjs --outDir ./dist/commonjs","build:esm":"tsc -m es6 --outDir ./dist/esm","build:umd":"webpack","test:watch":"npm test -- --watch","coverage:watch":"npm run coverage -- --watch"},"_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"repository":{"url":"git+https://github.com/delbio/automata.git","type":"git"},"_npmVersion":"5.6.0","description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","directories":{"test":"test"},"_nodeVersion":"9.3.0","dependencies":{},"devDependencies":{"shx":"^0.2.2","jest":"^21.2.1","ts-jest":"^21.2.4","webpack":"^3.10.0","typescript":"^2.6.2","@types/jest":"^21.1.8","@types/node":"^8.0.54","@types/webpack":"^3.8.1","standard-version":"^4.2.0","clean-webpack-plugin":"^0.1.17","webpack-node-externals":"^1.6.0","awesome-typescript-loader":"^3.4.1"},"standard-version":{"skip":{"tag":true,"commit":true}},"_npmOperationalInternal":{"tmp":"tmp/automata-1.1.3.tgz_1515709843221_0.1188531385269016","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@delbio/automata","version":"1.1.4","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","_id":"@delbio/automata@1.1.4","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"homepage":"https://github.com/delbio/automata","bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"dist":{"shasum":"a8fec0c542789eb6e2aa9cdcc3a59001bd397c2a","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-1.1.4.tgz","integrity":"sha512-fjMklid+adggulV6exUW1g8vl2+lebvppHYwaQ8WGH5US5EhySbr2kXZRMAPAzf37LhvjtlW2BGx9WSVlPGEPA==","signatures":[{"sig":"MEYCIQChK2BqCrG9rlVMaIaEt/QT3qBKZQ1XbOYe2YwpWfi0WAIhAJ5IaF49ZpHBYqyhKcZDKYKk7m+j/crIQ58++hXFw/1h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"__tests__/.*\\.jest\\.test\\.ts$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"mapCoverage":true,"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"moduleFileExtensions":["ts","js","json"],"coveragePathIgnorePatterns":["/__tests__/","/node_modules/"]},"main":"./dist/esm/index.js","types":"./dist/esm/types/index.d.ts","gitHead":"80534b62ebe6cdfc5a8a55d37af13d4f90b344fe","scripts":{"test":"jest","build":"npm run clean && npm run build:es5 && npm run build:esm && npm run build:umd","clean":"shx rm -rf dist && shx echo Done","prepare":"npm run build && npm test","release":"standard-version","coverage":"npm test -- --coverage --no-cache","build:es5":"tsc -m commonjs --outDir ./dist/commonjs","build:esm":"tsc -m es6 --outDir ./dist/esm","build:umd":"webpack","test:watch":"npm test -- --watch","coverage:watch":"npm run coverage -- --watch"},"_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"repository":{"url":"git+https://github.com/delbio/automata.git","type":"git"},"_npmVersion":"5.6.0","description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","directories":{"test":"test"},"_nodeVersion":"9.3.0","dependencies":{},"devDependencies":{"shx":"^0.2.2","jest":"^21.2.1","ts-jest":"^21.2.4","webpack":"^3.10.0","typescript":"^2.6.2","@types/jest":"^21.1.8","@types/node":"^8.0.54","@types/webpack":"^3.8.1","standard-version":"^4.2.0","clean-webpack-plugin":"^0.1.17","webpack-node-externals":"^1.6.0","awesome-typescript-loader":"^3.4.1"},"standard-version":{"skip":{"tag":true,"commit":true}},"_npmOperationalInternal":{"tmp":"tmp/automata-1.1.4.tgz_1515710134597_0.5340765817090869","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@delbio/automata","version":"2.0.0","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","_id":"@delbio/automata@2.0.0","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"homepage":"https://github.com/delbio/automata","bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"dist":{"shasum":"3c76c64358631be4a61191bd700d02d581af9d0a","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-2.0.0.tgz","fileCount":10,"integrity":"sha512-y0jSB7NqX97OaT3j6YKfg82cticeFm3DoR8ohgEW4fcrceyfF3Jpy3uXQHTpQHT26Dj11iIh0i9aD6CLcmedVA==","signatures":[{"sig":"MEUCIQCQZJY8FMwjyEJDZ3jAWGt5FLl03bON40xaoJJ4gif9yQIgFIw+IDzTQY6VqfPQVf+jtPS1sDBufviG1cglZZ9G1U4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12448},"main":"./src/index.js","type":"module","types":"./types/index.d.ts","gitHead":"4c315d6863aeb175276ef9e38d48d5c3224c3284","_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"repository":{"url":"git+https://github.com/delbio/automata.git","type":"git"},"_npmVersion":"11.16.0","description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","directories":{},"_nodeVersion":"26.2.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/automata_2.0.0_1780954328360_0.7837995311980344","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@delbio/automata","version":"2.0.1","description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"homepage":"https://github.com/delbio/automata","repository":{"type":"git","url":"git+https://github.com/delbio/automata.git"},"bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"main":"./src/index.js","type":"module","types":"./types/index.d.ts","license":"MIT","gitHead":"1384fd236bcea5f8677a009a70ea8c2f1f11ea22","_id":"@delbio/automata@2.0.1","_nodeVersion":"26.2.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-UUGiTD+TEA/MAutUFklR+yLLa+2OsLWTZOsp8ziMnrnScfT8FmClxBGm7bntasO/MOaoOn/LLkGrD0FJit0s/Q==","shasum":"e9f13407fb42a75f09c8ec78c82f6bbb815387d4","tarball":"https://registry.npmjs.org/@delbio/automata/-/automata-2.0.1.tgz","fileCount":10,"unpackedSize":16168,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAaKPhZ0B49b3w52WAeNd5ep+cOrdPfQe/O12fBMXL3/AiAHoY3PCX3Wv9Uf5qSTnYkdyqbJIAamJtLv0iL4JVsGpA=="}]},"_npmUser":{"name":"delbio","email":"fabio.delbene@gmail.com"},"directories":{},"maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/automata_2.0.1_1780957661429_0.4686682789100933"},"_hasShrinkwrap":false}},"time":{"created":"2017-12-04T23:24:37.234Z","modified":"2026-06-08T22:27:41.671Z","1.1.1":"2017-12-04T23:24:37.234Z","1.1.2":"2017-12-05T07:49:22.171Z","1.1.3":"2018-01-11T22:30:44.268Z","1.1.4":"2018-01-11T22:35:35.581Z","2.0.0":"2026-06-08T21:32:08.564Z","2.0.1":"2026-06-08T22:27:41.564Z"},"bugs":{"url":"https://github.com/delbio/automata/issues","email":"delbio87@gmail.com"},"author":{"name":"Fabio Del Bene","email":"delbio87@gmail.com"},"license":"MIT","homepage":"https://github.com/delbio/automata","repository":{"type":"git","url":"git+https://github.com/delbio/automata.git"},"description":"@delbio/automata is a finite-state-machine (FSM) engine for Node.js and the browser","maintainers":[{"name":"delbio","email":"fabio.delbene@gmail.com"}],"readme":"## What is it?\n\n@delbio/automata is a finite-state machine (FSM) engine.\n\n## Usage\n\nYou can install it with `npm`:\n\n```sh\nnpm install @delbio/automata\n```\n\nor get it from url:\n\n```javascript\nimport {\n    Action,\n    Automaton,\n    State,\n} from \"https://unpkg.com/@delbio/automata@2.0.0/src/index.js\"\n```\n\nor define as global variable:\n\n```html\n<script type=\"module\">\n    import * as automata from \"https://unpkg.com/@delbio/automata@2.0.0/src/index.js\"\n    window.Automata = automata\n</script>\n```\n\n## Tests\n\nyou can inspect test suite inside `__tests__` folder and run all tests using jest from the root's repo.\n\n## Example\n\n```html\n<html>\n  <body>\n    <pre id=\"console\"></pre>\n\n    <script type=\"module\">\n        import {\n            Action,\n            Automaton,\n            State,\n        } from \"https://unpkg.com/@delbio/automata@2.0.0/src/index.js\"\n\n        // States\n        class Nuovo extends State {}\n        class Cancellato extends State {}\n        class Pubblicabile extends State {}\n        class Pubblicato extends State {}\n        // Classes\n        class Elimina extends Action {}\n        class Modifica extends Action {}\n        class Pubblica extends Action {}\n\n        const nuovo = new Nuovo()\n        const cancellato = new Cancellato()\n        const pubblicabile = new Pubblicabile()\n        const pubblicato = new Pubblicato()\n\n        nuovo.addAction(new Elimina(nuovo, cancellato))\n        nuovo.addAction(new Modifica(nuovo, pubblicabile))\n\n        pubblicabile.addAction(new Elimina(pubblicabile, cancellato))\n        pubblicabile.addAction(new Pubblica(pubblicabile, pubblicato))\n        pubblicabile.addAction(new Modifica(pubblicabile, pubblicabile))\n\n        pubblicato.addAction(new Modifica(pubblicato, pubblicabile))\n\n        const automaton = new Automaton()\n        for (let s of [nuovo, cancellato, pubblicabile, pubblicato]) {\n            automaton.addState(s)\n        }\n        automaton.addEnd(cancellato)\n        automaton.setBegin(nuovo)\n\n\n        const consoleDomEl = document.getElementById('console')\n        function writeLine(message) {\n            const textNode = document.createTextNode(message)\n            consoleDomEl.appendChild(textNode)\n            consoleDomEl.appendChild(document.createElement('br'))\n        }\n\n        writeLine('Automaton definition:')\n        writeLine(automaton.toString())\n        writeLine('Check automaton integrity ...')\n        automaton.checkIntegrity()\n        writeLine('Passed ;)')\n\n        const doThenMove = function (a) {\n            automaton.doAction(a)\n            automaton.move(a)\n        }\n        const curretAutomatonState = function () {\n            writeLine(`Current: ${automaton.getCurrentState().toString()}`)\n        }\n\n        writeLine(`Set currentState: ${nuovo.toString()}`)\n        automaton.setCurrentState(nuovo)\n        curretAutomatonState()\n        for (let a of ['Modifica', 'Pubblica', 'Modifica', 'Modifica', 'Elimina']) {\n            writeLine(`Exec action: ${a.toString()}`)\n            doThenMove(a)\n            curretAutomatonState()\n        }\n    </script>\n  </body>\n</html>\n```\n\nexecution print this lines:\n\n```\nAutomaton definition:\nAutomaton: state->actions mapping { Nuovo[class=Nuovo].Elimina() -> Cancellato[class=Cancellato],Nuovo[class=Nuovo].Modifica() -> Pubblicabile[class=Pubblicabile];;Pubblicabile[class=Pubblicabile].Elimina() -> Cancellato[class=Cancellato],Pubblicabile[class=Pubblicabile].Pubblica() -> Pubblicato[class=Pubblicato],Pubblicabile[class=Pubblicabile].Modifica() -> Pubblicabile[class=Pubblicabile];Pubblicato[class=Pubblicato].Modifica() -> Pubblicabile[class=Pubblicabile] }\nCheck automaton integrity ...\nPassed ;)\nSet currentState: Nuovo[class=Nuovo]\nCurrent: Nuovo[class=Nuovo]\nExec action: Modifica\nCurrent: Pubblicabile[class=Pubblicabile]\nExec action: Pubblica\nCurrent: Pubblicato[class=Pubblicato]\nExec action: Modifica\nCurrent: Pubblicabile[class=Pubblicabile]\nExec action: Modifica\nCurrent: Pubblicabile[class=Pubblicabile]\nExec action: Elimina\nCurrent: Cancellato[class=Cancellato]\n```\n\nyou can try it into this [jsfiddle](https://jsfiddle.net/pdj2czu8/1/)\n\n","readmeFilename":"README.md"}