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

tfk-saksbehandling-skoleskyss-tbr

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tfk-saksbehandling-skoleskyss-tbr - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

10

index.js

@@ -19,7 +19,7 @@ 'use strict'

}
const basePath = require('path').resolve(__dirname)
const isFile = require('is-file')
const skoleid = parseInt(options.skoleid, 10)
const fileName = 'lib/data/' + skoleid + '.json'
const fileNameSpecials = 'lib/data/specials/' + skoleid + '.json'
const fileName = basePath + '/lib/data/' + skoleid + '.json'
const fileNameSpecials = basePath + '/lib/data/specials/' + skoleid + '.json'
const postnummer = parseInt(options.postnummer, 10)

@@ -31,3 +31,3 @@ const gatenavn = options.gatenavn

if (isFile(fileNameSpecials)) {
const specials = require('./' + fileNameSpecials)
const specials = require(fileNameSpecials)
if (specials[postnummer.toString()]) {

@@ -50,3 +50,3 @@ var isSnowflake = false

if (isFile(fileName)) {
const zips = require('./' + fileName)
const zips = require(fileName)
return zips.indexOf(postnummer) > -1

@@ -53,0 +53,0 @@ } else {

{
"name": "tfk-saksbehandling-skoleskyss-tbr",
"version": "6.0.0",
"version": "6.0.1",
"description": "Checks if TBR is transporter",

@@ -36,5 +36,5 @@ "license": "MIT",

"devDependencies": {
"coveralls": "2.11.11",
"coveralls": "2.11.12",
"standard": "7.1.2",
"tap": "6.2.0"
"tap": "6.3.0"
},

@@ -44,2 +44,2 @@ "dependencies": {

}
}
}
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