diff --git a/package.json b/package.json index 365bc07..8591806 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vuepress-plugin-demo-code", - "version": "0.5.1", + "version": "0.5.2", "description": "📝 Demo and code plugin for vuepress", "main": "src/index.js", "files": [ @@ -31,7 +31,7 @@ ] }, "dependencies": { - "codesandbox": "2.1.16", + "codesandbox-import-utils": "^2.1.16", "markdown-it-container": "^3.0.0", "prismjs": "^1.20.0", "vuepress-plugin-code-copy": "^1.0.6" diff --git a/src/utils.js b/src/utils.js index d19915e..70b4456 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,4 +1,4 @@ -const { getParameters } = require('codesandbox/lib/api/define') +const { getParameters } = require('codesandbox-import-utils/lib/api/define') const { CODE_SANDBOX_JS, CODE_SANDBOX_HTML,