Skip to content

issues Search Results · repo:nissy-dev/babel-plugin-object-to-json-parse language:JavaScript

Filter by

9 results
 (57 ms)

9 results

innissy-dev/babel-plugin-object-to-json-parse (press backspace or delete to remove)

I stumbled across a JSON.parse suddenly throwing and it seems that some \n are not properly escaped. Reading the source code, it seems that because the RegExp is not using the global flag, it will only ...
  • pauldijou
  • 1
  • Opened 
    on Sep 15, 2020
  • #35

issue code const codes = [ \t , \f , \r , \n , \t , \b ] https://github.com/nd-02110114/babel-plugin-object-to-json-parse/blob/master/src/utils.ts#L79 @nd-02110114 Could u clarify my doubt, I think ...
  • HillLiu
  • 3
  • Opened 
    on Apr 7, 2020
  • #32

At present, I decided not to support partially JSON expression like below in #27. Partially JSON expressions such as [notValid, {isValid:true}] ensuring {isValid:true} is transformed. const data = { ...
enhancement
  • nissy-dev
  • Opened 
    on Jan 3, 2020
  • #28

This plugin is super noisy, complaining about the vast majority of non-serializable object literals in my apps. I think running into a non serializable object literal should not be considered an error, ...
  • duncanbeevers
  • 1
  • Opened 
    on Jul 18, 2019
  • #16

I m not sure this is a bug, but this behavior is not an ideal one, I think. This plugin generates a source code that old JavaScript engine cannot parse when object includes U+2028 or U+2029 in a string. ...
  • uhyo
  • 3
  • Opened 
    on Jul 3, 2019
  • #12

This plugin fails to convert following object literal: const obj = { foo: abc }; console.log(obj.foo); result: At 1 line (start) : The object wasn t converted (Unexpected token, expected , ...
  • uhyo
  • 2
  • Opened 
    on Jul 3, 2019
  • #11

Currently, this plugin cannot correctly convert number-keyed properties. before const obj = { 123: 123 , 45: 45 }; console.log(obj[123]); // = 123 after const obj = JSON.parse( { undefined ...
  • uhyo
  • 5
  • Opened 
    on Jul 3, 2019
  • #10

Now, type annotation in src/utils.ts and src/plugin.ts is terrible... So, we should improve this type annotation.
  • nissy-dev
  • 1
  • Opened 
    on Jul 1, 2019
  • #6

Great work! This repository includes .prettierrc.js but it seems to be unused. Indeed, contents of this repository is not formatted by prettier. My editor detects existence of .prettierrc.js and automatically ...
  • uhyo
  • 4
  • Opened 
    on Jun 30, 2019
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub