@tryghost/api-framework
Advanced tools
+1
-2
| const debug = require('@tryghost/debug')('pipeline'); | ||
| const _ = require('lodash'); | ||
| const stringify = require('json-stable-stringify'); | ||
| const errors = require('@tryghost/errors'); | ||
@@ -246,3 +245,3 @@ const {sequence} = require('@tryghost/promise'); | ||
| const cacheKey = stringify(cacheKeyData); | ||
| const cacheKey = JSON.stringify(cacheKeyData, Object.keys(cacheKeyData).sort()); | ||
@@ -249,0 +248,0 @@ if (apiImpl.cache) { |
+8
-11
| { | ||
| "name": "@tryghost/api-framework", | ||
| "version": "3.0.0", | ||
| "version": "3.0.1", | ||
| "repository": { | ||
@@ -16,3 +16,3 @@ "type": "git", | ||
| "dev": "echo \"Implement me!\"", | ||
| "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 -- mocha --reporter dot './test/**/*.test.js'", | ||
| "test:unit": "NODE_ENV=testing vitest run --coverage --config ../../vitest.config.ts", | ||
| "test": "yarn test:unit", | ||
@@ -28,15 +28,12 @@ "lint:code": "eslint *.js lib/ --ext .js --cache", | ||
| "devDependencies": { | ||
| "c8": "11.0.0", | ||
| "mocha": "11.7.5", | ||
| "sinon": "21.0.1" | ||
| "sinon": "21.0.2" | ||
| }, | ||
| "dependencies": { | ||
| "@tryghost/debug": "^2.0.0", | ||
| "@tryghost/errors": "^3.0.0", | ||
| "@tryghost/promise": "^2.0.0", | ||
| "@tryghost/tpl": "^2.0.0", | ||
| "@tryghost/validator": "^2.0.0", | ||
| "json-stable-stringify": "1.3.0", | ||
| "@tryghost/debug": "^2.0.1", | ||
| "@tryghost/errors": "^3.0.1", | ||
| "@tryghost/promise": "^2.0.1", | ||
| "@tryghost/tpl": "^2.0.1", | ||
| "@tryghost/validator": "^2.0.1", | ||
| "lodash": "4.17.23" | ||
| } | ||
| } |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
6
-14.29%1
-66.67%44396
-0.35%1083
-0.09%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated