You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/21 17:33:56 UTC

[incubator-opendal] branch main updated: chore(bindings/nodejs): Remove outdated napi patches (#1727)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new cc8e489e chore(bindings/nodejs): Remove outdated napi patches (#1727)
cc8e489e is described below

commit cc8e489e76f5047b1df7e3c1240bb61ab4541caf
Author: Suyan <su...@gmail.com>
AuthorDate: Wed Mar 22 01:33:51 2023 +0800

    chore(bindings/nodejs): Remove outdated napi patches (#1727)
    
    chore(bindings/nodejs): remove package patch
    
    Signed-off-by: suyanhanx <su...@gmail.com>
---
 bindings/nodejs/.gitignore                         |  1 -
 .../@napi-rs-cli-npm-2.14.8-71492d0ade.patch       | 49 ----------------------
 bindings/nodejs/package.json                       |  5 +--
 3 files changed, 1 insertion(+), 54 deletions(-)

diff --git a/bindings/nodejs/.gitignore b/bindings/nodejs/.gitignore
index 12017c53..52348a11 100644
--- a/bindings/nodejs/.gitignore
+++ b/bindings/nodejs/.gitignore
@@ -188,6 +188,5 @@ Cargo.lock
 
 .pnp.*
 .yarn
-!.yarn/patches
 *.node
 docs/
diff --git a/bindings/nodejs/.yarn/patches/@napi-rs-cli-npm-2.14.8-71492d0ade.patch b/bindings/nodejs/.yarn/patches/@napi-rs-cli-npm-2.14.8-71492d0ade.patch
deleted file mode 100644
index f782b969..00000000
--- a/bindings/nodejs/.yarn/patches/@napi-rs-cli-npm-2.14.8-71492d0ade.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-diff --git a/scripts/index.js b/scripts/index.js
-index 8db6618cb0f730238369a92a54fa23ad7a7bf6b1..065decd83647df7f195f34f0c2815b253f3dc386 100755
---- a/scripts/index.js
-+++ b/scripts/index.js
-@@ -11683,7 +11683,26 @@ function processIntermediateTypeFile(source, target, noDtsHeader) {
-         }, '');
-         const dtsHeader = noDtsHeader
-             ? ''
--            : `/* tslint:disable */
-+            : `/*
-+ * Licensed to the Apache Software Foundation (ASF) under one
-+ * or more contributor license agreements.  See the NOTICE file
-+ * distributed with this work for additional information
-+ * regarding copyright ownership.  The ASF licenses this file
-+ * to you under the Apache License, Version 2.0 (the
-+ * "License"); you may not use this file except in compliance
-+ * with the License.  You may obtain a copy of the License at
-+ *
-+ *   http://www.apache.org/licenses/LICENSE-2.0
-+ *
-+ * Unless required by applicable law or agreed to in writing,
-+ * software distributed under the License is distributed on an
-+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-+ * KIND, either express or implied.  See the License for the
-+ * specific language governing permissions and limitations
-+ * under the License.
-+ */
-+
-+/* tslint:disable */
- /* eslint-disable */
-
- /* auto-generated by NAPI-RS */\n
diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json
index a0aa00be..2a551fa9 100644
--- a/bindings/nodejs/package.json
+++ b/bindings/nodejs/package.json
@@ -76,8 +76,5 @@
     "registry": "https://registry.npmjs.org/",
     "access": "public"
   },
-  "packageManager": "yarn@3.4.1+sha224.cca891d4a8671d4898aba3426674bb734dbbf88cef82dd4dacd71c9f",
-  "resolutions": {
-    "@napi-rs/cli@^2.14.8": "patch:@napi-rs/cli@npm%3A2.14.8#./.yarn/patches/@napi-rs-cli-npm-2.14.8-71492d0ade.patch"
-  }
+  "packageManager": "yarn@3.4.1+sha224.cca891d4a8671d4898aba3426674bb734dbbf88cef82dd4dacd71c9f"
 }