graphql-jit
Advanced tools
Comparing version 0.8.4 to 0.8.5
{ | ||
"name": "graphql-jit", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "GraphQL JIT Compiler to JS", | ||
"main": "dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"author": "Rui Araujo", | ||
@@ -13,14 +11,22 @@ "license": "MIT", | ||
}, | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
"scripts": { | ||
"precommit": "lint-staged", | ||
"prepublishOnly": "yarn && yarn build", | ||
"format": "prettier --write 'src/**/*.ts' '*.js'", | ||
"check-format": "prettier -l 'src/**/*.ts' '*.js'", | ||
"format": "prettier --write 'src/**/*.ts'", | ||
"check-format": "prettier -l 'src/**/*.ts'", | ||
"lint": "eslint --ext .ts .", | ||
"lint-fix": "eslint --ext .ts . --fix", | ||
"build": "tsc --project tsconfig.build.json", | ||
"build": "yarn build:esm && yarn build:cjs", | ||
"build:esm": "tsc --project tsconfig.esm.json", | ||
"build:cjs": "tsc --project tsconfig.cjs.json", | ||
"test": "jest", | ||
"mutation-test": "stryker run", | ||
"codecov": "codecov", | ||
"benchmark": "NODE_ENV=production ts-node -T ./src/__benchmarks__/benchmarks.ts" | ||
"benchmark": "NODE_ENV=production ./src/__benchmarks__/benchmarks.ts" | ||
}, | ||
@@ -31,2 +37,5 @@ "files": [ | ||
"jest": { | ||
"extensionsToTreatAsEsm": [ | ||
".ts" | ||
], | ||
"moduleFileExtensions": [ | ||
@@ -40,3 +49,5 @@ "ts", | ||
"transform": { | ||
"^.+\\.ts$": "ts-jest" | ||
"^.+\\.ts$": [ | ||
"@swc/jest" | ||
] | ||
}, | ||
@@ -56,35 +67,31 @@ "coverageThreshold": { | ||
"devDependencies": { | ||
"@graphql-tools/schema": "^9.0.8", | ||
"@stryker-mutator/core": "^2.0.0", | ||
"@stryker-mutator/jest-runner": "^2.0.0", | ||
"@stryker-mutator/typescript": "^2.0.0", | ||
"@types/benchmark": "^1.0.31", | ||
"@types/jest": "^29.5.2", | ||
"@types/json-schema": "^7.0.1", | ||
"@types/lodash.memoize": "^4.1.6", | ||
"@types/lodash.merge": "^4.6.6", | ||
"@types/lodash.mergewith": "^4.6.6", | ||
"@types/node": "^10.17.26", | ||
"@typescript-eslint/eslint-plugin": "5.2.0", | ||
"@typescript-eslint/parser": "5.2.0", | ||
"@graphql-tools/schema": "^10.0.0", | ||
"@stryker-mutator/core": "^7.1.1", | ||
"@stryker-mutator/jest-runner": "^7.1.1", | ||
"@stryker-mutator/typescript": "^4.0.0", | ||
"@swc-node/register": "^1.6.7", | ||
"@swc/core": "^1.3.84", | ||
"@swc/jest": "^0.2.29", | ||
"@types/benchmark": "^2.1.2", | ||
"@types/jest": "^29.5.4", | ||
"@types/json-schema": "^7.0.12", | ||
"@types/lodash.memoize": "^4.1.7", | ||
"@types/lodash.merge": "^4.6.7", | ||
"@types/lodash.mergewith": "^4.6.7", | ||
"@types/node": "^20.6.0", | ||
"@typescript-eslint/eslint-plugin": "6.7.0", | ||
"@typescript-eslint/parser": "6.7.0", | ||
"benchmark": "^2.1.4", | ||
"codecov": "^3.3.0", | ||
"eslint": "^8.1.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^5.1.1", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"graphql": "^16.0.0", | ||
"jest": "^29.5.0", | ||
"lint-staged": "^8.1.5", | ||
"prettier": "^2.4.1", | ||
"ts-jest": "^29.1.0", | ||
"ts-node": "^8.0.3", | ||
"typescript": "^4.4.4" | ||
"codecov": "^3.8.2", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"graphql": "^16.8.0", | ||
"jest": "^29.7.0", | ||
"lint-staged": "^14.0.1", | ||
"prettier": "^3.0.3", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@graphql-typed-document-node/core": "^3.2.0", | ||
"fast-json-stringify": "^5.7.0", | ||
"fast-json-stringify": "^5.8.0", | ||
"generate-function": "^2.3.1", | ||
@@ -107,3 +114,6 @@ "lodash.memoize": "^4.1.2", | ||
} | ||
}, | ||
"resolutions": { | ||
"jest/jest-cli/yargs/**/wrap-ansi": "7.0.0" | ||
} | ||
} |
@@ -14,2 +14,3 @@ # GraphQL JIT | ||
GraphQL-JS 16 on Node 16.13.0 | ||
```bash | ||
@@ -41,2 +42,4 @@ $ yarn benchmark skip-json | ||
More details here - [GraphQL-JS.md](./GraphQL-JS.md) | ||
## Install | ||
@@ -63,3 +66,3 @@ | ||
hello() { | ||
return new Promise(resolve => setTimeout(() => resolve("World!"), 200)); | ||
return new Promise((resolve) => setTimeout(() => resolve("World!"), 200)); | ||
} | ||
@@ -66,0 +69,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
458444
25
75
7024
143
5
Updatedfast-json-stringify@^5.8.0