Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jlobos/rut.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.1
Choose a base ref
...
head repository: jlobos/rut.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.2
Choose a head ref
  • 7 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 23, 2018

  1. Copy the full SHA
    507dee0 View commit details

Commits on Oct 25, 2018

  1. Update standard

    jlobos committed Oct 25, 2018
    Copy the full SHA
    9e2444f View commit details

Commits on Aug 27, 2019

  1. Support import and exports

    ednjv committed Aug 27, 2019
    Copy the full SHA
    016cddc View commit details

Commits on Aug 30, 2019

  1. Merge pull request #17 from ednjv/support-import

    Support import and exports
    jlobos authored Aug 30, 2019
    Copy the full SHA
    bd077b5 View commit details

Commits on Aug 31, 2019

  1. Update dependencies

    jlobos committed Aug 31, 2019
    Copy the full SHA
    9e95116 View commit details
  2. Copy the full SHA
    f1dfdd8 View commit details
  3. v1.0.2

    jlobos committed Aug 31, 2019
    Copy the full SHA
    c29ee60 View commit details
Showing with 11 additions and 5 deletions.
  1. +1 −1 .travis.yml
  2. +5 −0 index.d.ts
  3. +5 −4 package.json
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js: 4
node_js: node
notifications:
email: false
deploy:
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export function clean(rut: string): string;

export function validate(rut: string): boolean;

export function format(rut: string): string;
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rut.js",
"version": "1.0.1",
"version": "1.0.2",
"description": "Sencilla y pequeña libreria para validar y dar formato al RUT",
"license": "MIT",
"repository": "jlobos/rut.js",
@@ -13,7 +13,8 @@
"node": ">=4"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"keywords": [
"validar",
@@ -23,7 +24,7 @@
"browser"
],
"devDependencies": {
"ava": "^0.25.0",
"standard": "^10.0.3"
"ava": "^2.3.0",
"standard": "^14.1.0"
}
}