You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					20 lines
				
				523 B
			
		
		
			
		
	
	
					20 lines
				
				523 B
			| 
											3 years ago
										 | // Standard YAML's JSON schema.
 | ||
|  | // http://www.yaml.org/spec/1.2/spec.html#id2803231
 | ||
|  | //
 | ||
|  | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
 | ||
|  | // So, this schema is not such strict as defined in the YAML specification.
 | ||
|  | // It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 'use strict'; | ||
|  | 
 | ||
|  | 
 | ||
|  | module.exports = require('./failsafe').extend({ | ||
|  |   implicit: [ | ||
|  |     require('../type/null'), | ||
|  |     require('../type/bool'), | ||
|  |     require('../type/int'), | ||
|  |     require('../type/float') | ||
|  |   ] | ||
|  | }); |