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

capacitor-standard-version

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-standard-version - npm Package Compare versions

Comparing version 1.1.12 to 1.1.13

2

CHANGELOG.md

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

### [1.1.13](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.12...v1.1.13) (2023-02-13)
### [1.1.12](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.11...v1.1.12) (2023-01-30)

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

2

dist/index.js
#!/usr/bin/env node
(()=>{"use strict";var e={360:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.writeVersion=t.readVersion=void 0;const r=o(245),n=/versionName "(.*)"\n/g,i=/versionCode (.*)\n/g;t.readVersion=e=>{const t=e.match(n);return t&&t[0]?t[0].replace(n,"$1"):null},t.writeVersion=(e,t)=>{const[o,a]=t.split("-"),s=e.replace(n,`versionName "${o}"\n`);let u=(0,r.versionPureToCode)(o),c=(0,r.versionBetaToCode)(a);const l=(0,r.versionCodeToCodeBeta)(u,c);return s.replace(i,`versionCode ${l}\n`)}},93:function(e,t,o){var r=this&&this.__createBinding||(Object.create?function(e,t,o,r){void 0===r&&(r=o);var n=Object.getOwnPropertyDescriptor(t,o);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,r,n)}:function(e,t,o,r){void 0===r&&(r=o),e[r]=t[o]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t},a=this&&this.__awaiter||function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=i(o(360)),c=i(o(290)),l=s(o(667)),d=s(o(870)),p=s(o(389)),f={noVerify:!0,tagPrefix:"",packageFiles:[{filename:"./package.json",type:"json"}],bumpFiles:[{filename:"./android/app/build.gradle",updater:u},{filename:"./package.json",type:"json"},{filename:"./package-lock.json",type:"json"},{filename:"./ios/App/App.xcodeproj/project.pbxproj",updater:c}]};!function(){a(this,void 0,void 0,(function*(){try{const e=(0,p.default)(d.default.argv,f);yield(0,l.default)(e)}catch(e){throw console.error(e),e}}))}()},290:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.writeVersion=t.readVersion=void 0;const r=o(245),n=/MARKETING_VERSION = (.*);\n/g,i=/CURRENT_PROJECT_VERSION = (.*);\n/g;t.readVersion=function(e){const t=e.match(n);return console.log("vString",t),t&&t[0]?t[0].replace(n,"$1"):null},t.writeVersion=function(e,t){const[o,a]=t.split("-"),s=e.replace(n,`MARKETING_VERSION = ${o};\n`);let u=(0,r.versionPureToCode)(o),c=(0,r.versionBetaToCode)(a);const l=(0,r.versionCodeToCodeBeta)(u,c);return s.replace(i,`CURRENT_PROJECT_VERSION = ${l};\n`)}},245:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.versionCodeToCodeBeta=t.versionBetaToCode=t.versionPureToCode=void 0,t.versionPureToCode=e=>Number(e.split(".").map((e=>1===e.length?`0${e}`:e)).join("")),t.versionBetaToCode=e=>{if(!e)return 999;let t=Number(e.split(".")[1]||0);if(t>100)throw new Error("versionCodeBeta should be less than 100");return e.startsWith("rc.")?t=800+t:e.startsWith("beta.")?t=700+t:e.startsWith("alpha.")&&(t=600+t),t},t.versionCodeToCodeBeta=(e,t)=>1e3*e+t},667:e=>{e.exports=require("@capgo/standard-version")},870:e=>{e.exports=require("@capgo/standard-version/command")},389:e=>{e.exports=require("merge-deep")}},t={};!function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,o),i.exports}(93)})();
(()=>{"use strict";var e={852:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.writeVersion=t.readVersion=void 0;const r=o(541),n=/versionName "(.*)"\n/g,i=/versionCode (.*)\n/g;t.readVersion=e=>{const t=e.match(n);return t&&t[0]?t[0].replace(n,"$1"):null},t.writeVersion=(e,t)=>{const[o,a]=t.split("-"),s=e.replace(n,`versionName "${o}"\n`);let u=(0,r.versionPureToCode)(o),c=(0,r.versionBetaToCode)(a);const l=(0,r.versionCodeToCodeBeta)(u,c);return s.replace(i,`versionCode ${l}\n`)}},462:function(e,t,o){var r=this&&this.__createBinding||(Object.create?function(e,t,o,r){void 0===r&&(r=o);var n=Object.getOwnPropertyDescriptor(t,o);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,r,n)}:function(e,t,o,r){void 0===r&&(r=o),e[r]=t[o]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t},a=this&&this.__awaiter||function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=i(o(852)),c=i(o(161)),l=s(o(667)),d=s(o(870)),p=s(o(389)),f={noVerify:!0,tagPrefix:"",packageFiles:[{filename:"./package.json",type:"json"}],bumpFiles:[{filename:"./android/app/build.gradle",updater:u},{filename:"./package.json",type:"json"},{filename:"./package-lock.json",type:"json"},{filename:"./ios/App/App.xcodeproj/project.pbxproj",updater:c}]};!function(){a(this,void 0,void 0,(function*(){try{const e=(0,p.default)(d.default.argv,f);yield(0,l.default)(e)}catch(e){throw console.error(e),e}}))}()},161:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.writeVersion=t.readVersion=void 0;const r=o(541),n=/MARKETING_VERSION = (.*);\n/g,i=/CURRENT_PROJECT_VERSION = (.*);\n/g;t.readVersion=function(e){const t=e.match(n);return console.log("vString",t),t&&t[0]?t[0].replace(n,"$1"):null},t.writeVersion=function(e,t){const[o,a]=t.split("-"),s=e.replace(n,`MARKETING_VERSION = ${o};\n`);let u=(0,r.versionPureToCode)(o),c=(0,r.versionBetaToCode)(a);const l=(0,r.versionCodeToCodeBeta)(u,c);return s.replace(i,`CURRENT_PROJECT_VERSION = ${l};\n`)}},541:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.versionCodeToCodeBeta=t.versionBetaToCode=t.versionPureToCode=void 0,t.versionPureToCode=e=>Number(e.split(".").map((e=>1===e.length?`0${e}`:e)).join("")),t.versionBetaToCode=e=>{if(!e)return 999;let t=Number(e.split(".")[1]||0);if(t>100)throw new Error("versionCodeBeta should be less than 100");return e.startsWith("rc.")?t=800+t:e.startsWith("beta.")?t=700+t:e.startsWith("alpha.")&&(t=600+t),t},t.versionCodeToCodeBeta=(e,t)=>1e3*e+t},667:e=>{e.exports=require("@capgo/standard-version")},870:e=>{e.exports=require("@capgo/standard-version/command")},389:e=>{e.exports=require("merge-deep")}},t={};!function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,o),i.exports}(462)})();
{
"name": "capacitor-standard-version",
"version": "1.1.12",
"version": "1.1.13",
"description": "Default standard-version config for capacitor app",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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