v3 new release (#84)

swap to graphql
This commit is contained in:
github-actions[bot]
2022-07-11 13:48:02 -04:00
committed by GitHub
parent 20d2b4f98d
commit e4f3964f67
1492 changed files with 63799 additions and 63001 deletions
+3
View File
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
value: true
});
exports.hooks = void 0;
var _ = require("..");
const hooks = [function (self, parent) {
const removeParent = self.key === "test" && (parent.isWhile() || parent.isSwitchCase()) || self.key === "declaration" && parent.isExportDeclaration() || self.key === "body" && parent.isLabeledStatement() || self.listKey === "declarations" && parent.isVariableDeclaration() && parent.node.declarations.length === 1 || self.key === "expression" && parent.isExpressionStatement();
+2 -2
View File
@@ -164,8 +164,8 @@ const Generated = {
};
exports.Generated = Generated;
const Pure = {
checkPath(path, opts) {
return path.scope.isPure(path.node, opts);
checkPath(path, constantsOnly) {
return path.scope.isPure(path.node, constantsOnly);
}
};