Skip to content

Commit

Permalink
Upgrading js packages
Browse files Browse the repository at this point in the history
Removing range decorator
  • Loading branch information
Darek committed Jul 18, 2023
1 parent 19f0663 commit 3f25f82
Show file tree
Hide file tree
Showing 3 changed files with 436 additions and 310 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@
"precommit": "yarn lint && yarn test"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.1",
"@napi-rs/cli": "^2.16.2",
"@types/chance": "^1.1.3",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.2",
"chance": "^1.1.11",
"jest": "^29.5.0",
"jest": "^29.6.1",
"rome": "^12.1.3",
"source-map-support": "^0.5.21",
"ts-jest": "^29.1.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "5.1.3"
"typescript": "5.1.6"
},
"packageManager": "yarn@3.3.1",
"packageManager": "yarn@3.6.1",
"workspaces": [
"benches"
]
Expand Down
2 changes: 0 additions & 2 deletions src/lazy/dsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,6 @@ pub fn dtype_cols(dtypes: Vec<Wrap<DataType>>) -> crate::lazy::dsl::JsExpr {
dsl::dtype_cols(dtypes).into()
}

#[cfg(feature = "range")]
#[napi(catch_unwind)]
pub fn int_range(start: Wrap<Expr>, end: Wrap<Expr>, step: i64, dtype: Option<Wrap<DataType>>) -> JsExpr {
let dtype = dtype.map(|d| d.0 as DataType);
Expand All @@ -1537,7 +1536,6 @@ pub fn int_range(start: Wrap<Expr>, end: Wrap<Expr>, step: i64, dtype: Option<Wr
result.into()
}

#[cfg(feature = "range")]
#[napi(catch_unwind)]
pub fn int_ranges(start: Wrap<Expr>, end: Wrap<Expr>, step: i64, dtype: Option<Wrap<DataType>>) -> JsExpr {
let dtype = dtype.map(|d| d.0 as DataType);
Expand Down
Loading

0 comments on commit 3f25f82

Please sign in to comment.