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

db64

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db64 - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

examples/input-data/detect-platform.js

24

create-distribution.js

@@ -7,2 +7,4 @@ import fs from 'fs/promises'

const name = 'db64'
const currentFilePath = (new URL(import.meta.url)).pathname

@@ -15,12 +17,12 @@ const __dirname = dirname(currentFilePath)

readmeRoot: path.join(__dirname, './README.md'),
source: path.join(__dirname, './src/db64.js'),
sourceTSdef: path.join(__dirname, './src/db64.d.ts'),
tsDefDist: path.join(__dirname, './dist/db64.d.ts'),
tsDefMapDist: path.join(__dirname, './dist/db64.d.ts.map'),
cjsDist: path.join(__dirname, './dist/db64.cjs'),
esDist: path.join(__dirname, './dist/db64.js'),
esMinDist: path.join(__dirname, './dist/db64.min.js'),
esMinMapDist: path.join(__dirname, './dist/db64.min.map'),
cjsMinDist: path.join(__dirname, './dist/db64-cjs.min.js'),
cjsMinMapDist: path.join(__dirname, './dist/db64-cjs.min.map')
source: path.join(__dirname, `./src/${name}.js`),
sourceTSdef: path.join(__dirname, `./src/${name}.d.ts`),
tsDefDist: path.join(__dirname, `./dist/${name}.d.ts`),
tsDefMapDist: path.join(__dirname, `./dist/${name}.d.ts.map`),
cjsDist: path.join(__dirname, `./dist/${name}.cjs`),
esDist: path.join(__dirname, `./dist/${name}.js`),
esMinDist: path.join(__dirname, `./dist/${name}.min.js`),
esMinMapDist: path.join(__dirname, `./dist/${name}.min.map`),
cjsMinDist: path.join(__dirname, `./dist/${name}-cjs.min.js`),
cjsMinMapDist: path.join(__dirname, `./dist/${name}-cjs.min.map`)
}

@@ -35,3 +37,3 @@

const insertCJSImport = data.replace(/export default db64/g, 'module.exports = db64')
const insertCJSImport = data.replace(new RegExp(`export default ${name}`, 'g'), `module.exports = ${name}`)

@@ -38,0 +40,0 @@ const minifiedESData = await minify(data, {

@@ -103,3 +103,2 @@ const { isArray } = Array

/*

@@ -126,3 +125,2 @@ Deletes an entry for a given store by key.

cursorRequest.onerror = e => reject(e)
resolve(db64)

@@ -129,0 +127,0 @@ } catch (e) {

{
"name": "db64",
"version": "0.8.2",
"version": "0.8.3",
"description": "A Practical IndexedDB API",

@@ -13,3 +13,4 @@ "main": "db64.js",

"test": "./node_modules/.bin/http-server -a 127.0.0.1 -p 2222 -o",
"lint": "./node_modules/.bin/eslint --fix ./src ./create-distribution.js",
"lint": "./node_modules/.bin/eslint --fix ./src ./create-distribution.js ./examples",
"d": "./node_modules/.bin/http-server -o",
"prepublishOnly": "node create-distribution.js"

@@ -42,3 +43,6 @@ },

"typescript": "^5.3.3"
},
"dependencies": {
"d": "^1.0.1"
}
}

@@ -37,2 +37,3 @@ # db64

```
_Launch an example using `npm run d` then navigate to `./exmaples`_

@@ -39,0 +40,0 @@ ### Why IndexedDB, why not localStorage?

@@ -37,2 +37,3 @@ # db64

```
_Launch an example using `npm run d` then navigate to `./exmaples`_

@@ -39,0 +40,0 @@ ### Why IndexedDB, why not localStorage?

@@ -103,3 +103,2 @@ const { isArray } = Array

/*

@@ -126,3 +125,2 @@ Deletes an entry for a given store by key.

cursorRequest.onerror = e => reject(e)
resolve(db64)

@@ -129,0 +127,0 @@ } catch (e) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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