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

@launchdarkly/node-server-sdk

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchdarkly/node-server-sdk - npm Package Compare versions

Comparing version 8.1.1 to 8.1.2

14

CHANGELOG.md

@@ -5,2 +5,16 @@ # Changelog

## [8.1.2](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v8.1.1...node-server-sdk-v8.1.2) (2023-08-10)
### Bug Fixes
* Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common bumped from 1.0.7 to 1.0.8
## [8.1.1](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v8.1.0...node-server-sdk-v8.1.1) (2023-08-03)

@@ -7,0 +21,0 @@

4

dist/package.json
{
"name": "@launchdarkly/node-server-sdk",
"version": "8.1.1",
"version": "8.1.2",
"description": "LaunchDarkly Server-Side SDK for Node.js",

@@ -49,3 +49,3 @@ "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-node",

"dependencies": {
"@launchdarkly/js-server-sdk-common": "1.0.7",
"@launchdarkly/js-server-sdk-common": "1.0.8",
"https-proxy-agent": "^5.0.1",

@@ -52,0 +52,0 @@ "launchdarkly-eventsource": "2.0.0"

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -16,12 +7,8 @@ /* eslint-disable class-methods-use-this */

class NodeFilesystem {
getFileTimestamp(path) {
return __awaiter(this, void 0, void 0, function* () {
const stat = yield fsPromises.stat(path);
return stat.mtimeMs;
});
async getFileTimestamp(path) {
const stat = await fsPromises.stat(path);
return stat.mtimeMs;
}
readFile(path) {
return __awaiter(this, void 0, void 0, function* () {
return fsPromises.readFile(path, 'utf8');
});
async readFile(path) {
return fsPromises.readFile(path, 'utf8');
}

@@ -28,0 +15,0 @@ watch(path, callback) {

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -36,7 +27,5 @@ const HeaderWrapper_1 = require("./HeaderWrapper");

}
json() {
return __awaiter(this, void 0, void 0, function* () {
const stringValue = yield this.promise;
return JSON.parse(stringValue);
});
async json() {
const stringValue = await this.promise;
return JSON.parse(stringValue);
}

@@ -43,0 +32,0 @@ }

{
"name": "@launchdarkly/node-server-sdk",
"version": "8.1.1",
"version": "8.1.2",
"description": "LaunchDarkly Server-Side SDK for Node.js",

@@ -49,3 +49,3 @@ "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-node",

"dependencies": {
"@launchdarkly/js-server-sdk-common": "1.0.7",
"@launchdarkly/js-server-sdk-common": "1.0.8",
"https-proxy-agent": "^5.0.1",

@@ -52,0 +52,0 @@ "launchdarkly-eventsource": "2.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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