Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-elasticsearch-client

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-elasticsearch-client - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -10,7 +10,6 @@ 'use strict';

const envPrefix = options.envPrefix || 'AWS';
const region = options.region || process.env[`${envPrefix}_REGION`] || 'us-east-1';
const region = options.region || process.env.AWS_REGION || 'us-east-1';
const credentials = options.credentials
? options.credentials
: new AWS.EnvironmentCredentials(envPrefix);
: AWS.config.credentials;

@@ -17,0 +16,0 @@ const config = Object.assign(

2

LICENSE.md
The MIT License (MIT)
Copyright (c) 2016 Anton Bazhal
Copyright (c) 2016-2017 Anton Bazhal

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "aws-elasticsearch-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tiny wrapper for elasticsearch and http-aws-es libraries with reasonable defaults that makes work with AWS Elasticsearch Service easier",

@@ -30,11 +30,11 @@ "repository": {

"dependencies": {
"aws-sdk": "^2.7.10",
"elasticsearch": "^12.1.0",
"aws-sdk": "^2.23.0",
"elasticsearch": "^12.1.3",
"http-aws-es": "^1.1.3"
},
"devDependencies": {
"eslint": "^3.11.1",
"eslint-config-airbnb-base": "^10.0.1",
"eslint": "^3.17.1",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-plugin-import": "^2.2.0"
}
}

@@ -42,5 +42,4 @@ # aws-elasticsearch-client

`options` object supports all the [configuration options][elasticsearch-config-url] provided by [elasticsearch library][elasticsearch-lib-url]. On top of that, `aws-elasticsearch-client` provides following configuration capabilities:
- **[envPrefix]** - { String } the [prefix][aws-environment-credentials-class-envprefix-url] for the environment variable names used to retrieve access credentials [defaults to `AWS`]
- **[region]** - { String } AWS region [defaults to `${options.envPrefix}_REGION` environment variable or `us-east-1`]
- **[credentials]** - { [AWS.Credentials][aws-credentials-class-url] } an instance of [AWS.Credentials class][aws-credentials-class-url] or its descendants [defaults to [environment credentials][aws-environment-credentials-class-url] loaded using `options.envPrefix`]
- **[region]** - { String } AWS region [defaults to `AWS_REGION` environment variable or `us-east-1`]
- **[credentials]** - { [AWS.Credentials][aws-credentials-class-url] } an instance of [AWS.Credentials class][aws-credentials-class-url] or its descendants [defaults to [AWS.config.credentials][aws-config-credentials-url]]

@@ -51,3 +50,3 @@ ## License

Copyright (c) 2016 Anton Bazhal
Copyright (c) 2016-2017 Anton Bazhal

@@ -62,4 +61,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

[aws-elasticsearch-service-url]: https://aws.amazon.com/elasticsearch-service/
[aws-environment-credentials-class-url]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EnvironmentCredentials.html
[aws-environment-credentials-class-envprefix-url]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EnvironmentCredentials.html#envPrefix-property
[aws-config-credentials-url]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#credentials-property
[ci-image]: https://circleci.com/gh/AntonBazhal/aws-elasticsearch-client.svg?style=shield&circle-token=62ce75896db92cd20f8dc1c7b2cc456c2470fa19

@@ -66,0 +64,0 @@ [ci-url]: https://circleci.com/gh/AntonBazhal/aws-elasticsearch-client

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc