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

@json2csv/plainjs

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@json2csv/plainjs - npm Package Compare versions

Comparing version 7.0.4 to 7.0.5

8

package.json
{
"name": "@json2csv/plainjs",
"version": "7.0.4",
"version": "7.0.5",
"description": "Pure Javascript JSON to CSV converter.",

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

"test-with-coverage": "c8 --reporter=text npm test",
"test:raw": "ts-node --esm test/index.ts",
"test:raw": "node --loader ts-node/esm test/index.ts",
"dependencies:update-internal": "npm uninstall @json2csv/formatters && npm install @json2csv/formatters",

@@ -52,5 +52,5 @@ "prepublishOnly": "npm run build"

"dependencies": {
"@json2csv/formatters": "^7.0.4",
"@streamparser/json": "^0.0.17"
"@json2csv/formatters": "^7.0.5",
"@streamparser/json": "^0.0.19"
}
}
type GetIndexedField<T, K> = K extends keyof T
? T[K]
: K extends `${number}`
? 'length' extends keyof T
? number extends T['length']
? number extends keyof T
? T[number]
? 'length' extends keyof T
? number extends T['length']
? number extends keyof T
? T[number]
: undefined
: undefined
: undefined
: undefined
: undefined;
: undefined;

@@ -27,16 +27,16 @@ type FieldWithPossiblyUndefined<T, Key> =

: Left extends `${infer FieldKey}[${infer IndexKey}]`
? FieldKey extends keyof T
? FieldWithPossiblyUndefined<
IndexedFieldWithPossiblyUndefined<T[FieldKey], IndexKey>,
Right
>
? FieldKey extends keyof T
? FieldWithPossiblyUndefined<
IndexedFieldWithPossiblyUndefined<T[FieldKey], IndexKey>,
Right
>
: undefined
: undefined
: undefined
: P extends keyof T
? T[P]
: P extends `${infer FieldKey}[${infer IndexKey}]`
? FieldKey extends keyof T
? IndexedFieldWithPossiblyUndefined<T[FieldKey], IndexKey>
: undefined
: IndexedFieldWithPossiblyUndefined<T, P>;
? T[P]
: P extends `${infer FieldKey}[${infer IndexKey}]`
? FieldKey extends keyof T
? IndexedFieldWithPossiblyUndefined<T[FieldKey], IndexKey>
: undefined
: IndexedFieldWithPossiblyUndefined<T, P>;

@@ -43,0 +43,0 @@ type PropertyName = string | number | symbol;

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