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

@anzenjs/core

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anzenjs/core - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

cjs/src/brand.d.ts

14

package.json
{
"name": "@anzenjs/core",
"version": "0.0.2",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"version": "0.0.3",
"main": "cjs/src/index.js",
"types": "cjs/src/index.d.ts",
"scripts": {
"clean": "rimraf ./dist",
"clean": "rimraf ./cjs",
"prebuild": "yarn clean",
"build": "tsc --outDir dist",
"test": "mocha -r @ts-tools/node/r \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx --colors"
"build": "ts-build . --cjs",
"test": "jest"
},

@@ -16,3 +16,3 @@ "license": "MIT",

},
"gitHead": "c82e5aa232cf6c09ee308d7f2ad2cdb5e8b0c13f"
"gitHead": "d30d062cf97b6d41cbe401b886aca6106111600e"
}

@@ -51,3 +51,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error()
return undefined
},

@@ -54,0 +54,0 @@ }

@@ -38,3 +38,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -41,0 +41,0 @@ }

@@ -33,3 +33,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -36,0 +36,0 @@ }

@@ -32,3 +32,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -35,0 +35,0 @@ }

@@ -34,3 +34,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -37,0 +37,0 @@ }

@@ -34,3 +34,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -37,0 +37,0 @@ }

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

import 'node'
import { IBaseSchema, SchemaType } from './common'

@@ -4,0 +2,0 @@

@@ -52,5 +52,5 @@ import { BrandDecorator, IBrandSchema } from './brand'

export function Property(schema: SchemaLike): any {
return <T>(target: Constructor<T>, key: keyof T) => {
decorateClass(target, key, schema)
return <T extends object>(target: T, key: keyof T) => {
decorateClass<T, keyof T>(target.constructor as any, key, schema)
}
}

@@ -35,3 +35,3 @@ import { IBaseSchema, SchemaType } from './common'

get _(): any {
throw new Error('')
return undefined
},

@@ -38,0 +38,0 @@ }

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