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

givens

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

givens - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

3

dist/getGiven.d.ts

@@ -0,3 +1,4 @@

/* eslint-disable-next-line @typescript-eslint/class-name-casing */
interface givenFunc<T> {
<K extends keyof T>(key: K, func: () => T[K]): void
<K extends keyof T>(key: K, func: () => T[K]): void;
}

@@ -4,0 +5,0 @@

@@ -13,5 +13,5 @@ "use strict";

'__trace__',
...allProps(() => { }),
...allProps(() => undefined),
];
const isValid = (key) => !disallowedProps.includes(key);
exports.default = isValid;
{
"name": "givens",
"version": "1.3.0",
"version": "1.3.1",
"description": "Easy test setup without side effects",

@@ -24,6 +24,6 @@ "main": "dist/getGiven.js",

"lint:main": "eslint ./src/**.* ./test/**.* --ext .ts",
"lint:js-jest": "cd integration-tests/javascript/jest && npm run lint",
"lint:js-mocha": "cd integration-tests/javascript/mocha && npm run lint",
"lint:js-jasmine": "cd integration-tests/javascript/jasmine && npm run lint",
"lint:ts-jest": "cd integration-tests/typescript/jest && npm run lint",
"lint:js-jest": "eslint ./integration-tests/javascript/jest/test/**.* --ext .js",
"lint:js-mocha": "eslint ./integration-tests/javascript/mocha/test/**.* --ext .js",
"lint:js-jasmine": "eslint ./integration-tests/javascript/jasmine/spec/**.* --ext .js",
"lint:ts-jest": "eslint ./integration-tests/typescript/jest/test/**.* --ext .ts",
"test": "npm-run-all --continue-on-error test:**",

@@ -53,15 +53,15 @@ "test:unit": "jest",

"devDependencies": {
"@types/jest": "^24.9.1",
"@types/node": "^13.9.0",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.2",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"copyfiles": "^2.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-airbnb-typescript": "^6.3.2",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"jest": "^24.9.0",
"eslint-plugin-jasmine": "^4.1.0",
"eslint-plugin-mocha": "^4.1.0",
"jest": "^25.1.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^24.3.0",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"

@@ -76,8 +76,11 @@ },

"extends": [
"airbnb-typescript/base"
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-underscore-dangle": "off"
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off"
}
}
}
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