Vue Native is a framework to build cross platform native mobile apps using JavaScript

Overview

Vue Native

Backers on Open Collective Sponsors on Open Collective Build Status

Visit our website at vue-native.io or read the official documentation here.

Build native mobile apps using Vue

Vue Native is a framework to build cross platform native mobile apps using JavaScript. It is a wrapper around the APIs of React Native. So, with Vue Native, you can do everything that you can do with React Native. With Vue Native, you get

  • The simplicity of Vue.js. Incrementally build user interfaces with the familiar syntax of HTML and CSS in single file components.
  • Seamless interop with React Native. Use core React Native components with Vue.js syntax out of the box to develop mobile apps on both iOS and Android.

Contents

Documentation

You can find the full documentation for Vue Native on this website. It covers installation and setup, component basics, routing, testing, the internal API and more.

The source for the Vue Native documentation and website is hosted on a separate repo, here

Installation

To install Vue Native's official CLI, run

$ npm install vue-native-cli -g

To use the CLI, you must have either expo-cli or react-native-cli installed globally.

Project setup with Vue Native CLI

The Vue Native CLI can be used to easily generate a fully configured Vue Native app. It wraps expo-cli and react-native-cli to generate a simple single page application (SPA) after installing and configuring dependencies from vue-native-core.

You should have either expo-cli or react-native-cli installed as a global dependency. Refer to the installation guide for details on project setup. The GitHub repository for Vue Native CLI is hosted here.

With the CLI, generating a Vue Native project is as easy as running the command

$ vue-native init <projectName>

Using Vue Native in a React Native project

It is possible to integrate Vue Native into a pre-existing React Native project. You can find instructions to do this here.

These instructions can also be used to set up a Vue Native project from scratch.

Available React Native components

All the core components of React Native 0.63 onwards are globally registered and available to use in templates without the need to import and locally register.

The components and their React Native documentation can be found here.

All other components that were previously available, but then deprecated from React Native can still be used by installing their respective packages.

For example, to use WebView, use the react-native-webview package.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

MIT

Credits to react-vue

A huge thanks to the author of react-vue for most of the work on Vue Native.

Comments
  • Unable to resolve

    Unable to resolve "../../App" from "node_modules\expo\AppEntry.js"

    In console, I just run the following command: vue-native init <project name> And then, delete App.js file (App.vue file still exists)

    npm list -g --depth=0
    
    +-- @vue/[email protected]
    +-- @vue/[email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    `-- [email protected]
    
    

    package.json

    {
      "main": "node_modules/expo/AppEntry.js",
      "scripts": {
        "start": "expo start",
        "android": "expo start --android",
        "ios": "expo start --ios",
        "web": "expo start --web",
        "eject": "expo eject"
      },
      "dependencies": {
        "expo": "^34.0.1",
        "react": "16.8.3",
        "react-dom": "^16.8.6",
        "react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
        "react-native-web": "^0.11.4",
        "vue-native-core": "^0.1.0",
        "vue-native-helper": "^0.1.0",
        "vue-native-scripts": "0.0.16"
      },
      "devDependencies": {
        "@babel/core": "^7.0.0",
        "babel-preset-expo": "^6.0.0"
      },
      "private": true
    }
    

    Beacause I have problems with installation of vue-native-scripts v.0.1.0 (#182), I added them manually. [email protected] did not work correncly with RN v.0.59 (expo sdk 34)

    In stack trace I see:

    The module '../../App' could not be found from 'C:\\sample\\node_moudules\\expo\\AppEntry.js'. Indead, none of these files exist:
    * 'C:\\sample\\App(.native||.android.expo.js|.native.expo.js|.expo.js|.android.expo.ts|.native.expo.ts|.expo.ts|.android.expo.tsx|.native.expo.tsx|.expo.tsx|.android.expo.json|.native.expo.json|.expo.json|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx
    

    But why it's don't try to resolve module with vue extension?

    metro.config.js

    /**
     * Metro configuration for React Native
     * https://github.com/facebook/react-native
     *
     * @format
     */
    
    const { getDefaultConfig } = require("metro-config");
    
    module.exports = (async () => {
      const {
        resolver: { sourceExts }
      } = await getDefaultConfig();
      return {
        transformer: {
          babelTransformerPath: require.resolve("./vueTransformerPlugin.js"),
          getTransformOptions: async () => ({
            transform: {
              experimentalImportSupport: false,
              inlineRequires: false,
            },
          })
        },
        resolver: {
          sourceExts: [...sourceExts, "vue"]
        }
      };
    })();
    

    I spent about 3 days trying to solve this issue, but nothing found how to do this.

    Repository

    opened by zyxel648 46
  • Setup with Vue Native Cli does not work

    Setup with Vue Native Cli does not work

    I am following the steps provided here -> https://vue-native.io/docs/installation.html The commands I am running:

    1. npm install -g vue-native-cli
    2. vue-native init myproject // Initializes crna project
    3. cd myproject
    4. npm install
    5. npm start: 5a. starts metro bundler with text:

    INFO 23:49 Starting Metro Bundler on port 19001. INFO 23:49 Metro Bundler ready.

    1. I scan the Qr code with my iphone camera. 6.a expo app opens and the red screen with error on is there and my metro bundler writes:

    ERROR 23:52 Unable to resolve "../../App" from "node_modules/expo/AppEntry.js" ERROR 23:52 Building JavaScript bundle: error

    Content of my rn-cli.config.js (autogenerated):


    module.exports = {
      getTransformModulePath() {
        return require.resolve("./vueTransformerPlugin.js");
      },
      getSourceExts() {
        return ["vue"];
      }
    };
    

    Content of my vueTransformerPlugin.js (autogenerated):


    var semver = require('semver');
    var vueNaiveScripts = require("vue-native-scripts");
    var reactNativeVersionString = require("react-native/package.json").version;
    var reactNativeMinorVersion = semver(reactNativeVersionString).minor;
    
    if (reactNativeMinorVersion >= 56) {
      upstreamTransformer = require("metro/src/reactNativeTransformer");
    } else if (reactNativeMinorVersion >= 52) {
      upstreamTransformer = require("metro/src/transformer");
    } else if (reactNativeMinorVersion >= 47) {
      upstreamTransformer = require("metro-bundler/src/transformer");
    } else if (reactNativeMinorVersion === 46) {
      upstreamTransformer = require("metro-bundler/build/transformer");
    } else {
      // handle RN <= 0.45
      var oldUpstreamTransformer = require("react-native/packager/transformer");
      upstreamTransformer = {
        transform({ src, filename, options }) {
          return oldUpstreamTransformer.transform(src, filename, options);
        }
      };
    }
    var vueExtensions = ["vue"]; // <-- Add other extensions if needed.
    
    module.exports.transform = function({ src, filename, options }) {
      if (vueExtensions.some(ext => filename.endsWith("." + ext))) {
        return vueNaiveScripts.transform({ src, filename, options });
      }
      return upstreamTransformer.transform({ src, filename, options });
    };
    
    

    Content of node_modules/expo/AppEntry.js:


    import { KeepAwake, registerRootComponent } from 'expo';
    import App from '../../App';
    
    if (__DEV__) {
      KeepAwake.activate();
    }
    
    registerRootComponent(App);
    

    My package.json file:


    {
      "name": "empty-project-template",
      "main": "node_modules/expo/AppEntry.js",
      "private": true,
      "scripts": {
        "start": "expo start",
        "android": "expo start --android",
        "ios": "expo start --ios",
        "eject": "expo eject"
      },
      "dependencies": {
        "expo": "^30.0.1",
        "react": "16.3.1",
        "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
        "vue-native-core": "0.0.8",
        "vue-native-helper": "0.0.9"
      },
      "devDependencies": {
        "vue-native-scripts": "0.0.14"
      }
    }
    

    My computer is a macbook 15 from 2018 and my OS is macOS High Sierra version 10.13.6 What am I doing wrong?

    opened by ommehaz 43
  • Setup with Vue Native Cli does not work

    Setup with Vue Native Cli does not work

    Unable to resolve "../../App" from "node_modules\expo\AppEntry.js"

    vue-native init vueNative blank template option

    npm 6.0.1 node v8.11.1 expo 2.2.5 vue-native 0.0.3 OS Win10

    opened by javico2609 25
  • Maximum call stack size exceeded on Animate

    Maximum call stack size exceeded on Animate

    When i use animate component in Developer mode it works fine but In Production mode the error appears. And i removed my all animate:view instead one animate component from my template then it worked. What should i do ? My Template:

    ...
    <animated:view class="scrolledContainer" :style="{backgroundColor:'rgba(247,247,247,'+JSON.stringify(testColor)+')'}">
      <view :style="{height:statusBarHeight,width:'100%'}"/>
      <animated:view class="headerContainer" :style="{opacity:transparentHeader,height:transparentHeight}">
        ...
      </animated:view>
      <animated:view class="scrolledHeader" :style="{opacity:whiteHeader,height:whiteHeight}">
        <animated:text class="headerTitleTextStyle" :style="{fontSize:titleFont,opacity:titleColor}">{{data.name}}</animated:text>
       </animated:view>
    </animated:view>
    ...
    

    So i reduced like:

    ...
    <animated:view class="scrolledContainer" :style="{backgroundColor:'rgba(247,247,247,'+JSON.stringify(testColor)+')'}">
      <view :style="{height:statusBarHeight,width:'100%'}"/>
    </animated:view>
    ...
    

    So i think it has to be only one animate component in a screen, Or i have to write React native component My Defendencies

    "dependencies": {
        "expo": "29.0.0",
        "i18next": "12.1.0",
        "native-base": "2.8.1",
        "react": "16.5.0",
        "react-i18next": "8.3.8",
        "react-native": "0.55.4",
        "react-navigation": "3.0.4",
        "vue-native-core": "0.0.8",
        "vue-native-helper": "0.0.9",
        "vuelidate": "0.7.4",
        "vuex": "3.0.1",
        "vuex-persist": "2.0.0"
      },
    
    opened by Magnai1030 22
  • Please update library to work with React-Native 57+

    Please update library to work with React-Native 57+

    The current library supports up to and including RN 55, however this version of react-native has a show-stopping bug: Hot-Reloading stops working after refreshing the app. (ref: https://github.com/facebook/react-native/issues/18899) This bug is present on RN 51, 52, 53, 54, 55, 56, and is only fixed in the latest RN57.

    opened by fogil 16
  • Unrecognized font family 'ionicons'

    Unrecognized font family 'ionicons'

    Description of the bug In a newly initialized vue-native project, icons doesn't work and fires the error

    Unrecognized font family 'ionicons'

    Things I've tried so far...

    • Initialize new project the latest versions
    • downgrade expo
    • installing react-native-vector-icons
    • tried installing react-native and execute react-native link react-native-vector-icons
    • Forcing Font.loadAsync to load the fonts from "@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts" or from "native-base/Fonts"
    • removed package-lock, node_modules, expo client and reinstalled them, and started the project with expo start -c

    To Reproduce Steps to reproduce the behavior:

    vue-native init vueNativeTest

    and use the below simple code

    <template>
        <view class="container">
            <text class="text-color-primary">My Vue Native App</text>
            <Ionicons name="md-checkmark-circle" :size="50" />
        </view>
    </template>
    
    <script>
    import Vue from "vue-native-core";
    import { Ionicons, FontAwesome } from "@expo/vector-icons";
    
    export default {
        components: {
            FontAwesome,
            Ionicons,
        },
        methods: {},
        created() {},
    };
    </script>
    
    <style>
    .container {
        background-color: white;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    .text-color-primary {
        color: blue;
    }
    .cRed {
        color: red;
    }
    </style>
    

    What I expected Icon to appear

    Screenshots https://imgur.com/a/NWpV89i

    Did I use vue-native-cli to create the project? Yes

    Am I using Expo? Yes

    Development platform (please complete the following information):

    • OS: Windows 10
    • Shell/terminal: cmd

    The device on which I run my Vue Native app

    • Device: iPhone 7 & Samsung A01
    • OS: iOS 13.5 and Android 10 Expo Client latest version on time of writing

    Additional context Add any other context about the problem here.

    {
        "@expo/vector-icons": "^12.0.2",
        "expo": "~40.0.0",
        "expo-font": "^8.4.0",
        "expo-status-bar": "~1.0.3",
        "native-base": "^2.13.15",
        "react": "16.13.1",
        "react-dom": "16.13.1",
        "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
        "react-native-svg": "^12.1.0",
        "react-native-vector-icons": "^7.1.0",
        "react-native-web": "~0.13.12",
        "vue-native-core": "^0.2.0",
        "vue-native-helper": "^0.2.0"
    }
    
    opened by OsamaMohammed 14
  • View shadow

    View shadow

    I want to have box-shadow like this

    image According https://github.com/styled-components/styled-components/issues/709#issuecomment-409810928 I am trying to use:

    elevation:4,
    shadowOffset: { width: 5, height: 5 },
    shadowColor: "grey",
    shadowOpacity: 0.5,
    shadowRadius: 10,
    

    And there are no shadows...

    opened by Peretz30 13
  • $emit() doesn't work

    $emit() doesn't work

    clean install and replace with this two components. App.vue ->

    <template>
      <view class="container">
        <text class="text-color-primary">My First Text</text>
        <children v-on:custom-event="customEventHandler">
              <text class="text-color-primary">My slot</text>
         <template slot="namedslot">
              <text class="text-color-primary">My slot 2</text>
         </template>
        </children>
        </view>
    </template>
     <script>
     import children from './children.vue'
     export default {
       components: {
         children
       },
       methods:{
         customEventHandler(value){
           console.log(value);
         }
       }
     }
     </script>
     
    <style>
    .container {
      background-color: white;
      align-items: center;
      justify-content: center;
      flex: 1;
    }
    .text-color-primary {
      color: blue;
    }
    </style>
    ```
    
    new children.vue ->
    
    ```
    <template>
        <view>  
            <button class="text-color-primary" :on-press="click(1)" title="HELLOW"></button>
            <slot></slot>
            <button class="text-color-primary" :on-press="click(2)" title="HELLOW2"></button>
            <slot name="namedslot"></slot>
       </view>
    </template>
    
    <script>
    export default {
        methods: {
            click(value){
                console.log('childer clicked:'+ value);
                this.$emit('custom-event',value);
            }
        }
    }
    </script>
    
    <style>
    .text-color-primary {
      color: green;
    }
    </style>
    ```
    
    App vue doesnt receive anything and the view doesnt show as expected
    
    enhancement 
    opened by ormedo 13
  • Vue native executes App.js instead of App.vue

    Vue native executes App.js instead of App.vue

    Hey i'm having a problem i want to start learning vue native but when i execute he always starts app.js instead of app.vue.How do i solve this problem, i really need help with that

    opened by GarciaTandela 11
  • no such file or directory, uv_chdir

    no such file or directory, uv_chdir

    vue-native init test
    ---------------------------------------------------------
    Installed Crna Version create-react-native-app version: 2.0.2
    Creating Vue-Native test App
    [19:28:17] Input is required, but expo is in non-interactive mode.
    Required input:
    > Choose a template:
    C:\Users\Username\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:140
      process.chdir(projectName);
              ^
    
    Error: ENOENT: no such file or directory, uv_chdir
        at handleAndAddVueNativePackageDependencySync (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:140:11)
        at createVueNativeProject (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:101:3)
        at init (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:76:7)
        at Command.<anonymous> (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:59:7)
        at Command.listener (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:315:8)
        at emitTwo (events.js:126:13)
        at Command.emit (events.js:214:7)
        at Command.parseArgs (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:651:12)
        at Command.parse (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:474:21)
        at Object.<anonymous> (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:63:9)
    
    opened by mehdikhody 11
  • Bundling failed: ReferenceError: ReactNativeRenderGenerator is not defined

    Bundling failed: ReferenceError: ReactNativeRenderGenerator is not defined

    After upgrading vue-native-core (from 0.0.8 to 0.1.2) & react-native version (from 0.55.4 to 0.59.8) bunding failed with following error:

    Bundling failed: ReferenceError: ReactNativeRenderGenerator is not defined

    Compiling is failing on this line https://github.com/GeekyAnts/vue-native-core/blob/b72b8ca0b184a3ce4caa7dc561a8ac659bae8b6a/src/compiler/parser/index.js#L552

    After manually changing ReactNativeRenderGenerator to ReactNativeRenderGenerator$1 it says error: bundling failed: ReferenceError: _ is not defined

    https://github.com/GeekyAnts/vue-native-core/blob/b72b8ca0b184a3ce4caa7dc561a8ac659bae8b6a/src/platforms/vue-native/compiler/native.js#L62

    I fixed manually adding lodash, and it worked.

    opened by ThePJMP 10
  • Bump qs from 6.5.2 to 6.5.3

    Bump qs from 6.5.2 to 6.5.3

    Bumps qs from 6.5.2 to 6.5.3.

    Changelog

    Sourced from qs's changelog.

    6.5.3

    • [Fix] parse: ignore __proto__ keys (#428)
    • [Fix] utils.merge: avoid a crash with a null target and a truthy non-array source
    • [Fix] correctly parse nested arrays
    • [Fix] stringify: fix a crash with strictNullHandling and a custom filter/serializeDate (#279)
    • [Fix] utils: merge: fix crash when source is a truthy primitive & no options are provided
    • [Fix] when parseArrays is false, properly handle keys ending in []
    • [Fix] fix for an impossible situation: when the formatter is called with a non-string value
    • [Fix] utils.merge: avoid a crash with a null target and an array source
    • [Refactor] utils: reduce observable [[Get]]s
    • [Refactor] use cached Array.isArray
    • [Refactor] stringify: Avoid arr = arr.concat(...), push to the existing instance (#269)
    • [Refactor] parse: only need to reassign the var once
    • [Robustness] stringify: avoid relying on a global undefined (#427)
    • [readme] remove travis badge; add github actions/codecov badges; update URLs
    • [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
    • [Docs] Clarify the need for "arrayLimit" option
    • [meta] fix README.md (#399)
    • [meta] add FUNDING.yml
    • [actions] backport actions from main
    • [Tests] always use String(x) over x.toString()
    • [Tests] remove nonexistent tape option
    • [Dev Deps] backport from main
    Commits
    • 298bfa5 v6.5.3
    • ed0f5dc [Fix] parse: ignore __proto__ keys (#428)
    • 691e739 [Robustness] stringify: avoid relying on a global undefined (#427)
    • 1072d57 [readme] remove travis badge; add github actions/codecov badges; update URLs
    • 12ac1c4 [meta] fix README.md (#399)
    • 0338716 [actions] backport actions from main
    • 5639c20 Clean up license text so it’s properly detected as BSD-3-Clause
    • 51b8a0b add FUNDING.yml
    • 45f6759 [Fix] fix for an impossible situation: when the formatter is called with a no...
    • f814a7f [Dev Deps] backport from main
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump decode-uri-component from 0.2.0 to 0.2.2

    Bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump jsdom from 16.2.2 to 16.7.0

    Bump jsdom from 16.2.2 to 16.7.0

    Bumps jsdom from 16.2.2 to 16.7.0.

    Release notes

    Sourced from jsdom's releases.

    Version 16.7.0

    • Added AbortSignal.abort(). (ninevra)
    • Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)
    • Implemented wrapping for textareaEl.value if the wrap="" attribute is specified. (ninevra)
    • Changed newline normalization in <textarea>s according to recent HTML Standard updates. (ninevra)
    • Fixed some bad cascade computation in getComputedStyle(). (romain-trotard)

    Version 16.6.0

    • Added parentNode.replaceChildren(). (@​ninevra)
    • Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (@​mbest)
    • Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Thanks go to @​tobyhinloopen, @​andrewaylett, and especially @​vegardbb, for completing this months-long effort!

    Version 16.5.3

    • Fixed infinite recursion when using MutationObservers to observe elements inside a MutationObserver callback.

    Version 16.5.2

    • Fixed Access-Control-Allow-Headers: * to work with XMLHttpRequest. (silviot)
    • Fixed xhr.response to strip any leading BOM when xhr.responseType is "json".
    • Fixed new Text() and new Comment() constructors to properly set the resulting node's ownerDocument.
    • Fixed customElements.whenDefined() to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)
    • Fixed parsing to ensure that <svg>\<template></template></svg> does not throw an exception, but instead correctly produces a SVG-namespace \<template> element.
    • Fixed domParser.parseFromString() to treat <noscript> elements appropriately.
    • Fixed form control validity checking when the control was outside the <form> element and instead associated using the form="" attribute.
    • Fixed legendEl.form to return the correct result based on its parent <fieldset>.
    • Fixed optionEl.text to exclude <script> descendants.
    • Fixed radio buttons and checkboxes to not fire input and change events when disconnected.
    • Fixed inputEl.indeterminate to reset to its previous value when canceling a click event on a checkbox or radio button.
    • Fixed the behavior of event handler attributes (e.g. onclick="...code...") when there were global variables named element or formOwner. (ExE-Boss)
    • On Node.js v14.6.0+ where WeakRefs are available, fixed NodeIterator to no longer stop working when more than ten NodeIterator instances are created, and to use less memory due to inactive NodeIterators sticking around. (ExE-Boss)

    Version 16.5.1

    • Fixed a regression that broke customElements.get() in v16.5.0. (fdesforges)
    • Fixed window.event to have a setter which overwrites the window.event property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named event in the jsdom context.

    Version 16.5.0

    • Added window.queueMicrotask().
    • Added window.event.
    • Added inputEvent.inputType. (diegohaz)
    • Removed ondragexit from Window and friends, per a spec update.
    • Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL. (SimonMueller)
    • Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
    • Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet. (ph-fritsche)
    • Fixed the new File() constructor to no longer convert / to :, per a pending spec update.
    • Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.
    • Fixed <input type=checkbox> and <input type=radio> to be mutable even when disabled, per a spec update.
    • Fixed XMLHttpRequest to not fire a redundant final progress event if a progress event was previously fired with the same loaded value. This would usually occur with small files.
    • Fixed XMLHttpRequest to expose the Content-Length header on cross-origin responses.
    • Fixed xhr.response to return null for failures that occur during the middle of the download.
    • Fixed edge cases around passing callback functions or event handlers. (ExE-Boss)
    • Fixed edge cases around the properties of proxy-like objects such as localStorage or dataset. (ExE-Boss)

    ... (truncated)

    Changelog

    Sourced from jsdom's changelog.

    16.7.0

    • Added AbortSignal.abort(). (ninevra)
    • Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)
    • Implemented wrapping for textareaEl.value if the wrap="" attribute is specified. (ninevra)
    • Changed newline normalization in <textarea>s according to recent HTML Standard updates. (ninevra)
    • Fixed some bad cascade computation in getComputedStyle(). (romain-trotard)

    16.6.0

    • Added parentNode.replaceChildren(). (ninevra)
    • Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (mbest)
    • Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Special thanks to vegardbb for completing this months-long effort!

    16.5.3

    • Fixed infinite recursion when using MutationObservers to observe elements inside a MutationObserver callback.

    16.5.2

    • Fixed Access-Control-Allow-Headers: * to work with XMLHttpRequest. (silviot)
    • Fixed xhr.response to strip any leading BOM when xhr.responseType is "json".
    • Fixed new Text() and new Comment() constructors to properly set the resulting node's ownerDocument.
    • Fixed customElements.whenDefined() to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)
    • Fixed parsing to ensure that <svg>\<template></template></svg> does not throw an exception, but instead correctly produces a SVG-namespace \<template> element.
    • Fixed domParser.parseFromString() to treat <noscript> elements appropriately.
    • Fixed form control validity checking when the control was outside the <form> element and instead associated using the form="" attribute.
    • Fixed legendEl.form to return the correct result based on its parent <fieldset>.
    • Fixed optionEl.text to exclude <script> descendants.
    • Fixed radio buttons and checkboxes to not fire input and change events when disconnected.
    • Fixed inputEl.indeterminate to reset to its previous value when canceling a click event on a checkbox or radio button.
    • Fixed the behavior of event handler attributes (e.g. onclick="...code...") when there were global variables named element or formOwner. (ExE-Boss)
    • On Node.js v14.6.0+ where WeakRefs are available, fixed NodeIterator to no longer stop working when more than ten NodeIterator instances are created, and to use less memory due to inactive NodeIterators sticking around. (ExE-Boss)

    16.5.1

    • Fixed a regression that broke customElements.get() in v16.5.0. (fdesforges)
    • Fixed window.event to have a setter which overwrites the window.event property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named event in the jsdom context.

    16.5.0

    • Added window.queueMicrotask().
    • Added window.event.
    • Added inputEvent.inputType. (diegohaz)
    • Removed ondragexit from Window and friends, per a spec update.
    • Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL. (SimonMueller)
    • Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
    • Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet. (ph-fritsche)
    • Fixed the new File() constructor to no longer convert / to :, per a pending spec update.
    • Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump minimist from 1.2.5 to 1.2.6

    Bump minimist from 1.2.5 to 1.2.6

    Bumps minimist from 1.2.5 to 1.2.6.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump ajv from 6.10.2 to 6.12.6

    Bump ajv from 6.10.2 to 6.12.6

    Bumps ajv from 6.10.2 to 6.12.6.

    Release notes

    Sourced from ajv's releases.

    v6.12.6

    Fix performance issue of "url" format.

    v6.12.5

    Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords option (#1270)

    v6.12.4

    Fix: coercion of one-item arrays to scalar that should fail validation (failing example).

    v6.12.3

    Pass schema object to processCode function Option for strictNumbers (@​issacgerges, #1128) Fixed vulnerability related to untrusted schemas (CVE-2020-15366)

    v6.12.2

    Removed post-install script

    v6.12.1

    Docs and dependency updates

    v6.12.0

    Improved hostname validation (@​sambauers, #1143) Option keywords to add custom keywords (@​franciscomorais, #1137) Types fixes (@​boenrobot, @​MattiAstedrone) Docs:

    v6.11.0

    Time formats support two digit and colon-less variants of timezone offset (#1061 , @​cjpillsbury) Docs: RegExp related security considerations Tests: Disabled failing typescript test

    Commits
    • fe59143 6.12.6
    • d580d3e Merge pull request #1298 from ajv-validator/fix-url
    • fd36389 fix: regular expression for "url" format
    • 490e34c docs: link to v7-beta branch
    • 9cd93a1 docs: note about v7 in readme
    • 877d286 Merge pull request #1262 from b4h0-c4t/refactor-opt-object-type
    • f1c8e45 6.12.5
    • 764035e Merge branch 'ChALkeR-chalker/fix-comma'
    • 3798160 Merge branch 'chalker/fix-comma' of git://github.com/ChALkeR/ajv into ChALkeR...
    • a3c7eba Merge branch 'refactor-opt-object-type' of github.com:b4h0-c4t/ajv into refac...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Releases(v0.3.1)
  • v0.3.1(Jul 7, 2021)

    This release contains minor fixes

    Fixes

    • Sync peerDependencies in vue-native-scripts a49e922

    https://github.com/GeekyAnts/vue-native-core/compare/v0.3.0...v0.3.1

    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Jun 18, 2021)

    This is a stable release with the updates from the last two RC releases.

    Fixes

    • Fix issues with line number mapping in stack traces (fixes #259) - credit @rahul-mahato
    • Set Vue version to 2.2.6 (fixes #216)
    • Fix crash for components without