@wistia/vhs 2.48.1-beta.5edaaf2a.c25d931 → 2.48.1-beta.cf2a69e3.bd525b9

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,13 +1,12 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.48.1-beta.5edaaf2a.c25d931",
3
+ "version": "2.48.1-beta.cf2a69e3.bd525b9",
4
4
  "packageManager": "yarn@4.1.1",
5
- "description": "Visual Hype System",
6
- "type": "commonjs",
5
+ "description": "Visual Hype System - Wistia's opinionated component library for building React UIs",
6
+ "type": "module",
7
7
  "main": "dist/index.cjs",
8
8
  "module": "dist/index.mjs",
9
9
  "types": "dist/src/index.d.ts",
10
- "sideEffects": false,
11
10
  "exports": {
12
11
  "./package.json": "./package.json",
13
12
  ".": {
@@ -21,6 +20,7 @@
21
20
  }
22
21
  }
23
22
  },
23
+ "sideEffects": false,
24
24
  "files": [
25
25
  "dist"
26
26
  ],
@@ -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",
@@ -73,12 +74,11 @@
73
74
  "@wistia/type-guards": "^0.0.8",
74
75
  "@wistia/vhs-design-tokens": "^2.1.0",
75
76
  "date-fns": "^3.6.0",
76
- "escape-html": "^1.0.3",
77
77
  "formik": "^2.4.5",
78
78
  "is-hotkey": "^0.2.0",
79
- "lodash.isequal": "^4.5.0",
80
79
  "polished": "^4.3.1",
81
80
  "react-aria-live": "^2.0.5",
81
+ "react-fast-compare": "^3.2.2",
82
82
  "react-is": "^18.2.0",
83
83
  "react-slider": "^2.0.6",
84
84
  "react-transition-group": "^4.4.5",
@@ -105,8 +105,6 @@
105
105
  "@testing-library/jest-dom": "^6.4.2",
106
106
  "@testing-library/react": "^15.0.1",
107
107
  "@testing-library/user-event": "^14.5.2",
108
- "@types/escape-html": "^1.0.4",
109
- "@types/lodash.template": "^4.5.3",
110
108
  "@types/node": "^20.12.7",
111
109
  "@types/react": "18.2.21",
112
110
  "@types/react-dom": "^18.2.24",
@@ -129,9 +127,9 @@
129
127
  "globby": "^14.0.1",
130
128
  "jsdoc-to-markdown": "^8.0.1",
131
129
  "jsdom": "^24.0.0",
132
- "lodash.camelcase": "^4.3.0",
133
- "lodash.template": "^4.5.0",
134
130
  "minimist": "^1.2.8",
131
+ "pascalcase": "^2.0.0",
132
+ "publint": "^0.2.7",
135
133
  "react": "^18.2.0",
136
134
  "react-dom": "^18.2.0",
137
135
  "shx": "^0.3.4",