@wistia/vhs 2.48.1-beta.660618db.4a01abb → 2.48.1-beta.e0733d2a.120896b

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Handle special characters by escaping in the provided text string.
3
+ *
4
+ * @param {string} stringToEscape - the string to escape
5
+ * @return {string} - the escaped string
6
+ */
7
+ export declare const escapeHtml: (stringToEscape: number | string | null | undefined) => string;
8
+ //# sourceMappingURL=escapeHtml.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escapeHtml.d.ts","sourceRoot":"","sources":["../../../../src/private/helpers/escapeHtml.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,UAAU,mBAAoB,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,MAwC/E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.48.1-beta.660618db.4a01abb",
3
+ "version": "2.48.1-beta.e0733d2a.120896b",
4
4
  "packageManager": "yarn@4.1.1",
5
5
  "description": "Visual Hype System",
6
6
  "type": "commonjs",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "engines": {
28
- "node": ">= 16.0.0"
28
+ "node": ">=18.0.0 || >=20.0.0"
29
29
  },
30
30
  "scripts": {
31
31
  "browsers": "./scripts/browserSupport.mjs",
@@ -49,6 +49,7 @@
49
49
  "lint:style": "stylelint --cache --cache-location .stylelintcache --report-needless-disables \"**/*.tsx\"",
50
50
  "outdated": "yarn upgrade-interactive",
51
51
  "prepublishOnly": "yarn run build",
52
+ "publint": "publint",
52
53
  "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev --host localhost --port 6006",
53
54
  "storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
54
55
  "test": "cross-env NODE_ENV=test vitest run",
@@ -56,8 +57,7 @@
56
57
  "test:coverage": "yarn run test --coverage=true && open ./coverage/lcov-report/index.html",
57
58
  "test:debug": "echo 'open chrome://inspect/#devices' && cross-env NODE_ENV=test vitest --inspect-brk --no-file-parallelism",
58
59
  "ts:check": "tsc",
59
- "ts:generate": "tsx ./scripts/generateTypes.ts",
60
- "ts:progress": "node ./scripts/typescriptMigrationProgress.mjs"
60
+ "ts:generate": "tsx ./scripts/generateTypes.ts"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@types/react": "^17.0 || ^18.0",
@@ -73,12 +73,11 @@
73
73
  "@wistia/type-guards": "^0.0.8",
74
74
  "@wistia/vhs-design-tokens": "^2.1.0",
75
75
  "date-fns": "^3.6.0",
76
- "escape-html": "^1.0.3",
77
76
  "formik": "^2.4.5",
78
77
  "is-hotkey": "^0.2.0",
79
- "lodash.isequal": "^4.5.0",
80
78
  "polished": "^4.3.1",
81
79
  "react-aria-live": "^2.0.5",
80
+ "react-fast-compare": "^3.2.2",
82
81
  "react-is": "^18.2.0",
83
82
  "react-slider": "^2.0.6",
84
83
  "react-transition-group": "^4.4.5",
@@ -105,8 +104,6 @@
105
104
  "@testing-library/jest-dom": "^6.4.2",
106
105
  "@testing-library/react": "^15.0.1",
107
106
  "@testing-library/user-event": "^14.5.2",
108
- "@types/escape-html": "^1.0.4",
109
- "@types/lodash.template": "^4.5.3",
110
107
  "@types/node": "^20.12.7",
111
108
  "@types/react": "18.2.21",
112
109
  "@types/react-dom": "^18.2.24",
@@ -129,9 +126,9 @@
129
126
  "globby": "^14.0.1",
130
127
  "jsdoc-to-markdown": "^8.0.1",
131
128
  "jsdom": "^24.0.0",
132
- "lodash.camelcase": "^4.3.0",
133
- "lodash.template": "^4.5.0",
134
129
  "minimist": "^1.2.8",
130
+ "pascalcase": "^2.0.0",
131
+ "publint": "^0.2.7",
135
132
  "react": "^18.2.0",
136
133
  "react-dom": "^18.2.0",
137
134
  "shx": "^0.3.4",