@jsenv/core 27.0.0-alpha.30 → 27.0.0-alpha.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "27.0.0-alpha.30",
3
+ "version": "27.0.0-alpha.31",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -105,13 +105,12 @@ const isNewCssStyleSheetCall = (node) => {
105
105
  }
106
106
 
107
107
  const isDocumentAdoptedStyleSheets = (node) => {
108
- const callee = node.callee
109
108
  return (
110
- callee.type === "MemberExpression" &&
111
- callee.object.type === "Identifier" &&
112
- callee.object.name === "document" &&
113
- callee.property.type === "Identifier" &&
114
- callee.property.name === "adoptedStyleSheets"
109
+ node.type === "MemberExpression" &&
110
+ node.object.type === "Identifier" &&
111
+ node.object.name === "document" &&
112
+ node.property.type === "Identifier" &&
113
+ node.property.name === "adoptedStyleSheets"
115
114
  )
116
115
  }
117
116