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

@sean_kenny/eu4-text-file-to-json-parser-js

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sean_kenny/eu4-text-file-to-json-parser-js - npm Package Versions

2

0.1.13

Diff

Changelog

Source

Version 0.1.13 - September 27th 2024

  • Fixed a bug which would result in properties following a ABC = { DEF = GHI } property to be nested one level deeper than they should have been.
sean_kenny
published 0.1.12 •

Changelog

Source

Version 0.1.12 - September 26th 2024

  • Added ' as a valid character in property names.
sean_kenny
published 0.1.11 •

Changelog

Source

Version 0.1.11 - September 26th 2024

  • Fixed accidental publish. Contains actual changes for version 0.1.10
sean_kenny
published 0.1.10 •

Changelog

Source

Version 0.1.10 - September 26th 2024

  • Fixed a bug which prevented rows containing a \t from being parsed properly. The \t character is now treated the same as a character.
sean_kenny
published 0.1.9 •

Changelog

Source

Version 0.1.9 - September 26th 2024

  • Add support for properties in the form ABC = { DEF = GHI }.
sean_kenny
published 0.1.8 •

Changelog

Source

Version 0.1.8 - September 26th 2024

  • Fixed a bug which would throw errors when a property name contained a - character.
  • Fixed a bug which would cause properties to sometimes parse to "fieldOne.fieldTwo": "ABC" instead of "fieldOne": { "fieldTwo": "ABC" }.
  • Some small, non-breaking dev dependency version bumps.
sean_kenny
published 0.1.7 •

Changelog

Source

Version 0.1.7 - September 1st 2024

  • Fixed a bug which would throw errors when a property name contained a . character.
sean_kenny
published 0.1.6 •

Changelog

Source

Version 0.1.6 - September 1st 2024

  • Fixed a bug which would cause nested value array properties to parse incorrectly if there were more than two elements.
sean_kenny
published 0.1.5 •

Changelog

Source

Version 0.1.5 - September 1st 2024

  • Supported nested value array properties. The code below illustrates an example of what that means, the first block is the representation in the text file and the second is the json representation. This obviously impacts the types since values in format [{"a": "b"}, {"a": "c"}] were not previously a part of the valid return type but now are.
is_city = yes
add_permanent_province_modifier = {
	name = harimari_minority_coexisting_small
	duration = -1
}
add_permanent_province_modifier = {
	name = temple_complex
	duration = -1
}
{
  "is_city": "yes",
  "add_permanent_province_modifier": [
    { "name": "harimari_minority_coexisting_small", "duration": "-1" },
    { "name": "temple_complex", "duration": "-1" }
  ]
}
sean_kenny
published 0.1.4 •

Changelog

Source

Version 0.1.4 - August 31st 2024

  • Supported multiple assignments to the same string valued property. For example if a file contains a line which is add_core = I43 and later has the line add_core = I34, in the final file, the property in the json file will be "add_core": ["I43", "I34"].
2
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