Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(scxml): replaces 'traverse' with 'neotraverse' #220

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/parse/scxml/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<meta name="google-site-verification" content="K0j5zueKp7lYKMR7WihmcTJbLpHxBOpaXZEI_s0nHTw" />
<link rel="canonical" href="https://state-machine-cat.js.org">
<script nonce="known-inline-script">let LOG = false;</script>
<script src="smcat-online-interpreter.min.js" type="module" defer integrity="sha512-IZx2VyRoYEIeb9XTy2wqOpH46S7EKAlNhdIt84I20eXCETGwoJC7bv7ZSJ1lJbVsTWaSfpaEx3FZRz2z7eoWOw=="></script>
<script src="smcat-online-interpreter.min.js" type="module" defer integrity="sha512-qK/N8gkHPTBuUrymRtsACyUfH1Fe7EcReD82eitmq7Fz3rpupdmNQ3Jecv56FHckQ84y4u/Fn1ea+W8mFuW1PQ=="></script>
<script defer src="https://code.getmdl.io/1.3.0/material.min.js" async></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DCPVBY7NNV"></script>
<script nonce="known-inline-script">
Expand Down
2 changes: 1 addition & 1 deletion docs/inpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
src="state-machine-cat-inpage.min.js"
type="module"
defer
integrity="sha512-e0Fnw4hMHaa3ZbYlsy2iG84J8ROu+6rAaUbfnRANJgS5niS9AKPTFaFxqyZ9WNDcpg2OdEikqY1L+pCD+MWUiA=="
integrity="sha512-tNHLqHNF1D0g/qfpPJExk1+61W9C6Ow3ho6AQkufFhJ0r4D3spv6uvJLnD9ICLTa+KpYFoE6Ai4BmufrwZ7djQ=="
></script>
<style>
body { font-family: sans-serif; margin: 0 auto; max-width: 799px;
Expand Down
106 changes: 53 additions & 53 deletions docs/smcat-online-interpreter.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/smcat-online-interpreter.min.js.map

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions docs/state-machine-cat-inpage.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/state-machine-cat-inpage.min.js.map

Large diffs are not rendered by default.

23 changes: 10 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"ajv": "8.17.1",
"fast-xml-parser": "4.5.1",
"he": "1.2.0",
"traverse": "0.6.8"
"neotraverse": "0.6.18"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
Expand Down Expand Up @@ -136,15 +136,6 @@
"engines": {
"node": "^18.17||>=20"
},
"upem": {
"policies": [
{
"package": "traverse",
"policy": "pin",
"because": "with traverse 0.6.9 the website errors out with a 'index.js:24 Uncaught ReferenceError: global is not defined' (see comments in commit this line was added for full message)"
}
]
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version",
Expand Down
2 changes: 1 addition & 1 deletion src/parse/scxml/index.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable security/detect-object-injection */
import fastxml from "fast-xml-parser";
import he from "he";
import traverse from "traverse";
import traverse from "neotraverse";
import utl from "../../transform/utl.mjs";
import parserHelpers from "../parser-helpers.mjs";
import { castArray } from "./utl.mjs";
Expand Down
Loading