Skip to content

Commit 9a0167a

Browse files
Merge pull request LucasBassetti#205 from pascalgagneur/import-flatted-as-commonjs
Use cjs version of flatted
2 parents 68af9ce + 95f9ae9 commit 9a0167a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/schemas/schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import textSchema from './textSchema';
33
import optionsSchema from './optionsSchema';
44
import customSchema from './customSchema';
55
import updateSchema from './updateSchema';
6-
import { stringify } from 'flatted';
6+
import { stringify } from 'flatted/cjs';
77

88
const schema = {
99
parse(step) {

lib/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { stringify, parse } from 'flatted';
1+
import { stringify, parse } from 'flatted/cjs'
22

33
/* istanbul ignore next */
44
const getData = (params, callback) => {

0 commit comments

Comments
 (0)