fix(core): update
This commit is contained in:
parent
606ff73f58
commit
b2bb918ee4
13223
package-lock.json
generated
13223
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
4321
pnpm-lock.yaml
generated
Normal file
4321
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,13 @@ tap.test('should work with base64', async() => {
|
||||
console.log(base64Json);
|
||||
const decodedObject = smartjson.parseBase64(base64Json);
|
||||
expect(decodedObject).toEqual(someObject);
|
||||
});
|
||||
|
||||
tap.test('stringify should handle plain string', async () => {
|
||||
const stringifiedString = smartjson.stringify('hello');
|
||||
console.log(stringifiedString);
|
||||
expect(stringifiedString).toEqual('"hello"')
|
||||
expect(smartjson.parse(stringifiedString)).toEqual('hello');
|
||||
})
|
||||
|
||||
tap.start();
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartjson',
|
||||
version: '5.0.2',
|
||||
version: '5.0.3',
|
||||
description: 'typed json handlers'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user