shinkansen-sprockets 1.2.0 → 1.2.2

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.
package/eslint.config.mjs CHANGED
@@ -60,7 +60,7 @@ export default [
60
60
  ]
61
61
  },
62
62
  /**
63
- * React config for all `jsx` and `jsx` files
63
+ * React config for all `jsx` files
64
64
  */
65
65
  {
66
66
  ...reactPlugin.configs.flat.recommended,
@@ -101,7 +101,7 @@ export default [
101
101
  }
102
102
  }),
103
103
  /**
104
- * Standard config for all `jsx`
104
+ * Standard config for all `jsx` files
105
105
  */
106
106
  standard({
107
107
  files: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-sprockets",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Shinkansen Sprockets",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -54,8 +54,8 @@
54
54
  "@babel/preset-react": "^7.26.3",
55
55
  "@babel/register": "^7.25.9",
56
56
  "@modernpoacher/design-system": "1.1.27",
57
- "@sequencemedia/eslint-config-standard": "^0.2.25",
58
- "@sequencemedia/eslint-config-typescript": "^0.1.36",
57
+ "@sequencemedia/eslint-config-standard": "^0.2.27",
58
+ "@sequencemedia/eslint-config-typescript": "^0.1.38",
59
59
  "@storybook/addon-actions": "7.6.20",
60
60
  "@storybook/addon-essentials": "7.6.20",
61
61
  "@storybook/addon-links": "7.6.20",
@@ -76,12 +76,12 @@
76
76
  "eslint-import-resolver-babel-module": "^5.3.2",
77
77
  "eslint-plugin-react": "^7.37.4",
78
78
  "eslint-plugin-storybook": "^0.11.3",
79
- "globals": "^15.15.0",
79
+ "globals": "^16.0.0",
80
80
  "husky": "^9.1.7",
81
81
  "jest": "^29.7.0",
82
82
  "mini-css-extract-plugin": "^2.9.2",
83
83
  "perfectionist": "^2.4.0",
84
- "postcss": "^8.5.2",
84
+ "postcss": "^8.5.3",
85
85
  "postcss-discard-comments": "^7.0.3",
86
86
  "postcss-discard-empty": "^7.0.0",
87
87
  "postcss-import": "^16.1.0",
@@ -91,7 +91,7 @@
91
91
  "react": "18.3.1",
92
92
  "react-dom": "18.3.1",
93
93
  "react-router": "^7.2.0",
94
- "react-router-dom": "^7.1.5",
94
+ "react-router-dom": "^7.2.0",
95
95
  "react-test-renderer": "18.3.1",
96
96
  "remove-files-webpack-plugin": "^1.5.0",
97
97
  "sass": "^1.85.0",
@@ -108,8 +108,6 @@ export default class CheckAnswersGroup extends Group {
108
108
  checkAnswers = DEFAULT_CHECK_ANSWERS
109
109
  } = this.props
110
110
 
111
- console.log('checkAnswers', checkAnswers)
112
-
113
111
  if (checkAnswers.length) {
114
112
  const {
115
113
  groupRef
@@ -39,8 +39,6 @@ export default class CheckAnswersSprocket extends Sprocket {
39
39
  ...superProps
40
40
  } = props
41
41
 
42
- console.log('checkAnswers', checkAnswers)
43
-
44
42
  return (
45
43
  super.shouldComponentUpdate(superProps) ||
46
44
  (checkAnswers !== this.props.checkAnswers)