{"size": 773, "ext": "js", "max_stars_repo_path": "node_modules/csso/lib/replace/atrule/keyframes.js", "max_stars_repo_name": "NitinSatpal/Event-Scheduler", "max_stars_repo_stars_event_min_datetime": "2020-08-08T16:35:27.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-08T16:35:27.000Z", "max_issues_repo_path": "node_modules/csso/lib/replace/atrule/keyframes.js", "max_issues_repo_name": "NitinSatpal/Event-Scheduler", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/csso/lib/replace/atrule/keyframes.js", "max_forks_repo_name": "NitinSatpal/Event-Scheduler", "max_forks_repo_forks_event_min_datetime": "2021-09-04T20:54:05.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-04T20:54:05.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 35.1363636364, "max_line_length": 82, "alphanum_fraction": 0.3803363519}
module.exports = function(node) {
    node.block.children.each(function(rule) {
        rule.selector.children.each(function(simpleselector) {
            simpleselector.children.each(function(data, item) {
                if (data.type === 'Percentage' && data.value === '100') {
                    item.data = {
                        type: 'TypeSelector',
                        loc: data.loc,
                        name: 'to'
                    };
                } else if (data.type === 'TypeSelector' && data.name === 'from') {
                    item.data = {
                        type: 'Percentage',
                        loc: data.loc,
                        value: '0'
                    };
                }
            });
        });
    });
};
