Skip to content

Commit d51b797

Browse files
committed
rollup dependencies update
1 parent babb251 commit d51b797

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jspython-interpreter",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "JSPython is a javascript implementation of Python language that runs within web browser or NodeJS environment",
55
"keywords": [
66
"python",
@@ -44,14 +44,14 @@
4444
"ace-builds": "^1.4.12",
4545
"eslint": "^7.14.0",
4646
"jest": "^26.6.3",
47-
"rollup": "^2.33.3",
48-
"rollup-plugin-copy": "^3.3.0",
49-
"rollup-plugin-livereload": "^2.0.0",
47+
"rollup": "^2.52.7",
48+
"rollup-plugin-copy": "^3.4.0",
49+
"rollup-plugin-livereload": "^2.0.5",
5050
"rollup-plugin-serve": "^1.1.0",
51-
"rollup-plugin-typescript2": "^0.29.0",
52-
"rollup-plugin-uglify": "^6.0.4",
51+
"rollup-plugin-terser": "^7.0.2",
52+
"rollup-plugin-typescript2": "^0.30.0",
5353
"ts-jest": "^26.4.4",
54-
"tslib": "^2.0.3",
55-
"typescript": "^4.1.2"
54+
"tslib": "^2.3.0",
55+
"typescript": "^4.3.5"
5656
}
5757
}

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import typescript from 'rollup-plugin-typescript2';
22
import copy from 'rollup-plugin-copy'
3-
import { uglify } from "rollup-plugin-uglify";
3+
import { terser } from "rollup-plugin-terser";
44

55
const pkg = require('./package.json');
66
const input = 'src/interpreter.ts';
@@ -19,7 +19,7 @@ export default [{
1919
{ src: 'src/assets', dest: 'dist' }
2020
]
2121
}),
22-
uglify()
22+
terser()
2323
]
2424
}, {
2525
input,

src/initialScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { parseDatetimeOrNull } from "./common/utils";
22

33
export const INITIAL_SCOPE = {
44
jsPython(): string {
5-
return [`JSPython v2.1.3`, "(c) 2021 FalconSoft Ltd. All rights reserved."].join('\n')
5+
return [`JSPython v2.1.5`, "(c) 2021 FalconSoft Ltd. All rights reserved."].join('\n')
66
},
77
dateTime: (str: number | string | any = null) => parseDatetimeOrNull(str) || new Date(),
88
range: range,

0 commit comments

Comments
 (0)