@kizahasi/flocon-core
Advanced tools
Comparing version 0.20.0-beta.8 to 0.20.0-beta.9
@@ -35,3 +35,3 @@ "use strict"; | ||
} | ||
const globalThis = { room: fRoom, character: fCharacter }; | ||
const globalThis = { room: fRoom, character: fCharacter, Array: flocon_script_1.arrayClass, Map: flocon_script_1.mapClass }; | ||
try { | ||
@@ -58,2 +58,2 @@ (0, flocon_script_1.exec)(script, globalThis); | ||
exports.execCharacterCommand = execCharacterCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9jb21tYW5kL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsMkRBQWtFO0FBQ2xFLGlDQUErQjtBQUMvQix5Q0FBd0Q7QUFDeEQsNkNBQTBDO0FBT25DLE1BQU0sV0FBVyxHQUFHLENBQUMsTUFBYyxFQUFtQyxFQUFFO0lBQzNFLElBQUk7UUFDQSxJQUFBLG9CQUFJLEVBQUMsTUFBTSxDQUFDLENBQUM7S0FDaEI7SUFBQyxPQUFPLENBQVUsRUFBRTtRQUNqQixJQUFJLENBQUMsWUFBWSwyQkFBVyxFQUFFO1lBQzFCLE9BQU8sZUFBTSxDQUFDLEtBQUssQ0FBQztnQkFDaEIsT0FBTyxFQUFFLENBQUMsQ0FBQyxPQUFPO2dCQUNsQixLQUFLLEVBQUUsQ0FBQyxDQUFDLEtBQUs7YUFDakIsQ0FBQyxDQUFDO1NBQ047UUFDRCxJQUFJLENBQUMsWUFBWSxLQUFLLEVBQUU7WUFDcEIsT0FBTyxlQUFNLENBQUMsS0FBSyxDQUFDO2dCQUNoQixPQUFPLEVBQUUsQ0FBQyxDQUFDLE9BQU87YUFDckIsQ0FBQyxDQUFDO1NBQ047UUFDRCxNQUFNLENBQUMsQ0FBQztLQUNYO0lBQ0Qs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dCwgZ2xvYmFsVGhpcyk7XG4gICAgfSBjYXRjaCAoZTogdW5rbm93bikge1xuICAgICAgICBpZiAoZSBpbnN0YW5jZW9mIFNjcmlwdEVycm9yKSB7XG4gICAgICAgICAgICByZXR1cm4gUmVzdWx0LmVycm9yKHtcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiBlLm1lc3NhZ2UsXG4gICAgICAgICAgICAgICAgcmFuZ2U6IGUucmFuZ2UsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoZSBpbnN0YW5jZW9mIEVycm9yKSB7XG4gICAgICAgICAgICByZXR1cm4gUmVzdWx0LmVycm9yKHtcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiBlLm1lc3NhZ2UsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICB0aHJvdyBlO1xuICAgIH1cbiAgICBjb25zdCByZXN1bHQ6IFJvb20uU3RhdGUgPSBmUm9vbS5yb29tO1xuICAgIHJldHVybiBSZXN1bHQub2socmVzdWx0KTtcbn07XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9jb21tYW5kL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsMkRBQXdGO0FBQ3hGLGlDQUErQjtBQUMvQix5Q0FBd0Q7QUFDeEQsNkNBQTBDO0FBT25DLE1BQU0sV0FBVyxHQUFHLENBQUMsTUFBYyxFQUFtQyxFQUFFO0lBQzNFLElBQUk7UUFDQSxJQUFBLG9CQUFJLEVBQUMsTUFBTSxDQUFDLENBQUM7S0FDaEI7SUFBQyxPQUFPLENBQVUsRUFBRTtRQUNqQixJQUFJLENBQUMsWUFBWSwyQkFBVyxFQUFFO1lBQzFCLE9BQU8sZUFBTSxDQU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exec, ScriptError, test } from '@kizahasi/flocon-script'; | ||
import { arrayClass, exec, mapClass, ScriptError, test } from '@kizahasi/flocon-script'; | ||
import { FRoom } from './room'; | ||
@@ -31,3 +31,3 @@ import { keyNames } from '@kizahasi/util'; | ||
} | ||
const globalThis = { room: fRoom, character: fCharacter }; | ||
const globalThis = { room: fRoom, character: fCharacter, Array: arrayClass, Map: mapClass }; | ||
try { | ||
@@ -53,2 +53,2 @@ exec(script, globalThis); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9jb21tYW5kL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLElBQUksRUFBRSxXQUFXLEVBQUUsSUFBSSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbEUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUMvQixPQUFPLEVBQWdCLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQU8xQyxNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUcsQ0FBQyxNQUFjLEVBQW1DLEVBQUU7SUFDM0UsSUFBSTtRQUNBLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQztLQUNoQjtJQUFDLE9BQU8sQ0FBVSxFQUFFO1FBQ2pCLElBQUksQ0FBQyxZQUFZLFdBQVcsRUFBRTtZQUMxQixPQUFPLE1BQU0sQ0FBQyxLQUFLLENBQUM7Z0JBQ2hCLE9BQU8sRUFBRSxDQUFDLENBQUMsT0FBTztnQkFDbEIsS0FBSyxFQUFFLENBQUMsQ0FBQyxLQUFLO2FBQ2pCLENBQUMsQ0FBQztTQUN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xuICAgIH1cbiAgICBjb25zdCBnbG9iYWxUaGlzID0geyByb29tOiBmUm9vbSwgY2hhcmFjdGVyOiBmQ2hhcmFjdGVyIH07XG4gICAgdHJ5IHtcbiAgICAgICAgZXhlYyhzY3JpcHQsIGdsb2JhbFRoaXMpO1xuICAgIH0gY2F0Y2ggKGU6IHVua25vd24pIHtcbiAgICAgICAgaWYgKGUgaW5zdGFuY2VvZiBTY3JpcHRFcnJvcikge1xuICAgICAgICAgICAgcmV0dXJuIFJlc3VsdC5lcnJvcih7XG4gICAgICAgICAgICAgICAgbWVzc2FnZTogZS5tZXNzYWdlLFxuICAgICAgICAgICAgICAgIHJhbmdlOiBlLnJhbmdlLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGUgaW5zdGFuY2VvZiBFcnJvcikge1xuICAgICAgICAgICAgcmV0dXJuIFJlc3VsdC5lcnJvcih7XG4gICAgICAgICAgICAgICAgbWVzc2FnZTogZS5tZXNzYWdlLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhyb3cgZTtcbiAgICB9XG4gICAgY29uc3QgcmVzdWx0OiBSb29tLlN0YXRlID0gZlJvb20ucm9vbTtcbiAgICByZXR1cm4gUmVzdWx0Lm9rKHJlc3VsdCk7XG59O1xuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9jb21tYW5kL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxJQUFJLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN4RixPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sUUFBUSxDQU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UmVzdWx0LmVycm9yKHtcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiBlLm1lc3NhZ2UsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICB0aHJvdyBlO1xuICAgIH1cbiAgICBjb25zdCByZXN1bHQ6IFJvb20uU3RhdGUgPSBmUm9vbS5yb29tO1xuICAgIHJldHVybiBSZXN1bHQub2socmVzdWx0KTtcbn07XG4iXX0= |
{ | ||
"version": "0.20.0-beta.8", | ||
"version": "0.20.0-beta.9", | ||
"license": "MIT", | ||
@@ -56,3 +56,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@kizahasi/flocon-script": "0.8.1-beta.2", | ||
"@kizahasi/flocon-script": "0.8.1-beta.3", | ||
"@kizahasi/option": "^1.0.0", | ||
@@ -59,0 +59,0 @@ "@kizahasi/ot-string": "^0.2.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4118784
+ Added@kizahasi/flocon-script@0.8.1-beta.3(transitive)
- Removed@kizahasi/flocon-script@0.8.1-beta.2(transitive)