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

iomem

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iomem - npm Package Compare versions

Comparing version 1.5.10 to 1.5.11

7

CHANGELOG.md
# Changelog
## [1.5.11](https://github.com/alexzel/iomem/compare/v1.5.10...v1.5.11) (2024-10-02)
### Bug Fixes
* client fails to retrieve items larger than 64 KB ([#36](https://github.com/alexzel/iomem/issues/36)) ([c8ff0a4](https://github.com/alexzel/iomem/commit/c8ff0a451486ba66abbeb38ef5f58a9d667edafb))
## [1.5.10](https://github.com/alexzel/iomem/compare/v1.5.9...v1.5.10) (2023-06-01)

@@ -4,0 +11,0 @@

20

package.json
{
"name": "iomem",
"version": "1.5.10",
"version": "1.5.11",
"description": "Memcached client implementing binary protocol with native multiple keys support",

@@ -46,12 +46,12 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"eslint": "^8.38.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"tinybench": "^2.4.0"
"jest": "^29.7.0",
"tinybench": "^2.9.0"
},

@@ -58,0 +58,0 @@ "dependencies": {

@@ -125,3 +125,4 @@ 'use strict'

if (header[0] !== RESPONSE_MAGIC) { // wrong magic
chunks = Buffer.alloc(0)
chunks = chunks.slice(HEADER_LENGTH)
continue
}

@@ -149,3 +150,3 @@ const packetSize = header[5] + HEADER_LENGTH

} else {
chunks = Buffer.alloc(0)
break
}

@@ -152,0 +153,0 @@ }

@@ -55,2 +55,8 @@ 'use strict'

})
it('responds when item size exceeds 64KB', async () => {
const value = 'a'.repeat(10 * 64 * 1024)
await iomem.set('test:foo', value)
expect(await iomem.get('test:foo')).toBe(value)
})
})

@@ -57,0 +63,0 @@

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