New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-plugin-standard-version

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-standard-version - npm Package Compare versions

Comparing version 1.1.13 to 1.1.14

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.1.14](https://github.com/Cap-go/capacitor-plugin-standard-version/compare/v1.1.13...v1.1.14) (2024-10-14)
### [1.1.13](https://github.com/Cap-go/capacitor-plugin-standard-version/compare/v1.1.12...v1.1.13) (2024-10-14)

@@ -7,0 +9,0 @@

2

dist/index.js
#!/usr/bin/env node
(()=>{"use strict";var e={995:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.readVersion=function(e){const n=e.match(t);return n&&n[0]?n[0].replace(t,"$1"):null},n.writeVersion=function(e,n){return e.replace(t,`private final String PLUGIN_VERSION = "${n}";`)};const t=/private\sfinal\sString\sPLUGIN_VERSION\s=\s"(.*)";/g},184:function(e,n,t){var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var i=Object.getOwnPropertyDescriptor(n,t);i&&!("get"in i?!n.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,i)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&r(n,e,t);return i(n,e),n},s=this&&this.__awaiter||function(e,n,t,r){return new(t||(t=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(s,a)}u((r=r.apply(e,n||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});const u=t(24),c=t(455),l=t(760),f=a(t(791)),d=a(t(261)),p=a(t(693));function g(e,n){return s(this,void 0,void 0,(function*(){const t=[],r=yield(0,c.readdir)(e);for(const e of r){const r=(0,l.extname)(e);if(r===`.${n}`){const n=e.replace(r,"");t.push(n)}}return t}))}const h={noVerify:!0,tagPrefix:"",packageFiles:[{filename:"./package.json",type:"json"}],bumpFiles:[{filename:"",updater:o(t(995))},{filename:"",updater:o(t(889))},{filename:"./package.json",type:"json"},{filename:"./package-lock.json",type:"json"}]};!function(){s(this,void 0,void 0,(function*(){try{const{iosPath:e,androidPath:n}=yield function(){return s(this,void 0,void 0,(function*(){var e;let n="";const t="./ios/Plugin",r="./ios/Sources";if((0,u.existsSync)(t)){const e=yield g(t,"m"),r=yield g(t,"swift");let i="";if(e&&e[0]?i=e[0]:r.length>0&&(i=r.find((e=>e.toLowerCase().endsWith("plugin")))||r[0]),!i)throw new Error("No .m or Plugin.swift file found in ios/Plugin, cannot guess your plugin name");n=(0,l.join)(t,`${i}.swift`)}else{if(!(0,u.existsSync)(r))throw new Error("iOS plugin directory not found");{const e=(yield(0,c.readdir)(r)).find((e=>e.toLowerCase().includes("plugin")));if(!e)throw new Error("Plugin directory not found in ios/Sources");const t=(0,l.join)(r,e),i=yield g(t,"swift");if(!i||0===i.length)throw new Error(`Swift files not found in ${t}`);const o=i.find((e=>e.toLowerCase().endsWith("plugin")))||i[0];n=(0,l.join)(t,`${o}.swift`)}}const i=(0,u.readFileSync)("./android/build.gradle","utf8").match(/namespace\s"(.*)"/g);if(!i||!i[0])throw new Error("Namespace not found in android/build.gradle, cannot guess your plugin name");const o=(i&&i[0]?i[0].replace(/namespace "(.*)"/g,"$1"):null).split(".").join("/"),s=null===(e=n.split("/").pop())||void 0===e?void 0:e.replace(".swift","");return{iosPath:n,androidPath:`./android/src/main/java/${o}/${s}.java`}}))}();h.bumpFiles[0].filename=n,h.bumpFiles[1].filename=e;const t=(0,p.default)(d.default.argv,h);yield(0,f.default)(t)}catch(e){throw console.error(e),e}}))}()},889:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.readVersion=function(e){const n=e.match(t);return n&&n[0]?n[0].replace(t,"$1"):null},n.writeVersion=function(e,n){return e.replace(t,`private let PLUGIN_VERSION: String = "${n}"`)};const t=/private\slet\sPLUGIN_VERSION:\sString\s=\s"(.*)"/g},791:e=>{e.exports=require("@capgo/standard-version")},261:e=>{e.exports=require("@capgo/standard-version/command")},693:e=>{e.exports=require("merge-deep")},24:e=>{e.exports=require("node:fs")},455:e=>{e.exports=require("node:fs/promises")},760:e=>{e.exports=require("node:path")}},n={};!function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r].call(o.exports,o,o.exports,t),o.exports}(184)})();
(()=>{"use strict";var e={310:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.readVersion=function(e){const n=e.match(t);return n&&n[0]?n[0].replace(t,"$1"):null},n.writeVersion=function(e,n){return e.replace(t,`private final String PLUGIN_VERSION = "${n}";`)};const t=/private\sfinal\sString\sPLUGIN_VERSION\s=\s"(.*)";/g},853:function(e,n,t){var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var i=Object.getOwnPropertyDescriptor(n,t);i&&!("get"in i?!n.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,i)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&r(n,e,t);return i(n,e),n},s=this&&this.__awaiter||function(e,n,t,r){return new(t||(t=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(s,a)}u((r=r.apply(e,n||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});const u=t(24),c=t(455),l=t(760),f=a(t(791)),d=a(t(261)),p=a(t(693));function g(e,n){return s(this,void 0,void 0,(function*(){const t=[],r=yield(0,c.readdir)(e);for(const e of r){const r=(0,l.extname)(e);if(r===`.${n}`){const n=e.replace(r,"");t.push(n)}}return t}))}const h={noVerify:!0,tagPrefix:"",packageFiles:[{filename:"./package.json",type:"json"}],bumpFiles:[{filename:"",updater:o(t(310))},{filename:"",updater:o(t(796))},{filename:"./package.json",type:"json"},{filename:"./package-lock.json",type:"json"}]};!function(){s(this,void 0,void 0,(function*(){try{const{iosPath:e,androidPath:n}=yield function(){return s(this,void 0,void 0,(function*(){var e;let n="";const t="./ios/Plugin",r="./ios/Sources";if((0,u.existsSync)(t)){const e=yield g(t,"m"),r=yield g(t,"swift");let i="";if(e&&e[0]?i=e[0]:r.length>0&&(i=r.find((e=>e.toLowerCase().endsWith("plugin")))||r[0]),!i)throw new Error("No .m or Plugin.swift file found in ios/Plugin, cannot guess your plugin name");n=(0,l.join)(t,`${i}.swift`)}else{if(!(0,u.existsSync)(r))throw new Error("iOS plugin directory not found");{const e=(yield(0,c.readdir)(r)).find((e=>e.toLowerCase().includes("plugin")));if(!e)throw new Error("Plugin directory not found in ios/Sources");const t=(0,l.join)(r,e),i=yield g(t,"swift");if(!i||0===i.length)throw new Error(`Swift files not found in ${t}`);const o=i.find((e=>e.toLowerCase().endsWith("plugin")))||i[0];n=(0,l.join)(t,`${o}.swift`)}}const i=(0,u.readFileSync)("./android/build.gradle","utf8").match(/namespace\s"(.*)"/g);if(!i||!i[0])throw new Error("Namespace not found in android/build.gradle, cannot guess your plugin name");const o=(i&&i[0]?i[0].replace(/namespace "(.*)"/g,"$1"):null).split(".").join("/"),s=null===(e=n.split("/").pop())||void 0===e?void 0:e.replace(".swift","");return{iosPath:n,androidPath:`./android/src/main/java/${o}/${s}.java`}}))}();h.bumpFiles[0].filename=n,h.bumpFiles[1].filename=e;const t=(0,p.default)(d.default.argv,h);yield(0,f.default)(t)}catch(e){throw console.error(e),e}}))}()},796:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.readVersion=function(e){const n=e.match(t);return n&&n[0]?n[0].replace(t,"$1"):null},n.writeVersion=function(e,n){return e.replace(t,`private let PLUGIN_VERSION: String = "${n}"`)};const t=/private\slet\sPLUGIN_VERSION:\sString\s=\s"(.*)"/g},791:e=>{e.exports=require("@capgo/standard-version")},261:e=>{e.exports=require("@capgo/standard-version/command")},693:e=>{e.exports=require("merge-deep")},24:e=>{e.exports=require("node:fs")},455:e=>{e.exports=require("node:fs/promises")},760:e=>{e.exports=require("node:path")}},n={};!function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r].call(o.exports,o,o.exports,t),o.exports}(853)})();
{
"name": "capacitor-plugin-standard-version",
"version": "1.1.13",
"version": "1.1.14",
"packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca",

@@ -5,0 +5,0 @@ "description": "Default standard-version config for capacitor plugin",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc