Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curp.js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curp.js - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

curp.js

@@ -247,3 +247,3 @@ /*jslint indent:2, regexp:true*/

posicion_14_16,
param.homonimia || param.fecha_nacimiento[2] > 1999 ? 'A' : 0
param.homonimia || (param.fecha_nacimiento[2] > 1999 ? 'A' : 0)
].join('');

@@ -250,0 +250,0 @@

@@ -9,12 +9,18 @@ /*jslint node: true, indent:2*/

pkg : grunt.file.readJSON('package.json'),
jshint : {
all : ['package.json', 'bower.json', 'curp.js', 'Gruntfile.js']
jslint : {
all : {
src : ['package.json', 'bower.json', 'curp.js', 'Gruntfile.js'],
directives : {
indent : 2,
node : true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-jslint');
// Default task(s).
grunt.registerTask('default', [
'jshint'
'jslint'
]);

@@ -21,0 +27,0 @@

{
"name": "curp.js",
"version": "0.1.1",
"version": "0.1.2",
"description": "Función para generar el CURP, de acuerdo a las especificaciones oficiales.",

@@ -25,4 +25,4 @@ "main": "curp.js",

"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.10.0"
"grunt-jslint": "^1.1.12"
}
}
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