From 60cdedeaa025f685fc7002653f390233becce128 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Sat, 22 Jan 2022 22:51:08 +0800 Subject: [PATCH] fix: source maps (#19) --- README.md | 2 +- package-lock.json | 16 ++++++++-------- package.json | 2 +- rollup.config.ts | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ee628ef..befd9f3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ css-line-break ============== -![CI](https://github.com/niklasvh/html2canvas/workflows/CI/badge.svg?branch=master) +![CI](https://github.com/niklasvh/css-line-break/workflows/CI/badge.svg?branch=master) [![NPM Downloads](https://img.shields.io/npm/dm/css-line-break.svg)](https://www.npmjs.org/package/css-line-break) [![NPM Version](https://img.shields.io/npm/v/css-line-break.svg)](https://www.npmjs.org/package/css-line-break) diff --git a/package-lock.json b/package-lock.json index 88c5b4d..e7f57ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,10 +5,10 @@ "requires": true, "packages": { "": { - "version": "1.1.2-0", + "version": "2.0.0", "license": "MIT", "dependencies": { - "base64-arraybuffer": "^0.2.0" + "base64-arraybuffer": "^1.0.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^19.0.0", @@ -444,9 +444,9 @@ } }, "node_modules/base64-arraybuffer": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.2.0.tgz", - "integrity": "sha512-7emyCsu1/xiBXgQZrscw/8KPRT44I4Yq9Pe6EGs3aPRTsWuggML1/1DTuZUuIaJPIm1FTDUVXl4x/yW8s0kQDQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", "engines": { "node": ">= 0.6.0" } @@ -5375,9 +5375,9 @@ } }, "base64-arraybuffer": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.2.0.tgz", - "integrity": "sha512-7emyCsu1/xiBXgQZrscw/8KPRT44I4Yq9Pe6EGs3aPRTsWuggML1/1DTuZUuIaJPIm1FTDUVXl4x/yW8s0kQDQ==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==" }, "binary-extensions": { "version": "2.2.0", diff --git a/package.json b/package.json index b7930e3..4beded2 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "overflow-wrap" ], "dependencies": { - "base64-arraybuffer": "^0.2.0" + "base64-arraybuffer": "^1.0.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^19.0.0", diff --git a/rollup.config.ts b/rollup.config.ts index 4d44ff7..652fe03 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -30,7 +30,7 @@ export default { // Allow json resolution json(), // Compile TypeScript files - typescript(), + typescript({ sourceMap: true, inlineSources: true }), // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) commonjs(),