Files
wechatpay-enterprise-web/node_modules/strict-uri-encode/index.js
jefferyzhao b9bdc8598b first commit
2025-07-31 17:44:12 +08:00

3 lines
138 B
JavaScript

'use strict';
module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);