@tryghost/elasticsearch
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -10,6 +10,3 @@ const ElasticSearch = require('./elasticsearch'); | ||
async write(data) { | ||
await this.client.index({ | ||
body: data, | ||
...this.index | ||
}); | ||
await this.client.index(data, this.index); | ||
} | ||
@@ -16,0 +13,0 @@ } |
{ | ||
"name": "@tryghost/elasticsearch", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"repository": "https://github.com/TryGhost/framework/tree/main/packages/elasticsearch", | ||
@@ -25,9 +25,9 @@ "author": "Ghost Foundation", | ||
"should": "13.2.3", | ||
"sinon": "13.0.1" | ||
"sinon": "13.0.2" | ||
}, | ||
"dependencies": { | ||
"@elastic/elasticsearch": "7.17.0", | ||
"@tryghost/debug": "^0.1.14" | ||
"@tryghost/debug": "^0.1.15" | ||
}, | ||
"gitHead": "b71a3cb711cae3a1981e925d29780c9bfaacf3c3" | ||
"gitHead": "6a49350821ab2dd54d4b8a1ac7cde27b72aeaca0" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
4108
46
1
Updated@tryghost/debug@^0.1.15