<commit_before>"use strict";

const fs = require('fs');
const cursor = require('kittik-cursor').create().resetTTY();
const shape = require('../lib/Image').create({
  image: './examples/nodejs.png',
  x: 'center',
  y: 'middle',
  width: '40%',
  height: '20%',
  preserveAspectRatio: true
});

shape.render(cursor);

cursor.flush();<commit_msg>fix(shape): Update shape-basic to the latest version<commit_after>"use strict";

const fs = require('fs');
const cursor = require('kittik-cursor').create().resetTTY();
const shape = require('../lib/Image').create({
  image: './examples/nodejs.png',
  x: 'center',
  y: 'middle',
  width: 10,
  height: 5,
  preserveAspectRatio: false
});

shape.render(cursor);

cursor.flush();
{'fraction_non_alphanumeric': 0.20527045769764216, 'fraction_numerical': 0.009708737864077669, 'mean_word_length': 4.918032786885246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7277319', 'n_tokens_mistral': 249, 'n_tokens_neox': 241, 'n_words': 55}